context: Rename target structure elements to make them explicit

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-04-23 14:47:32 +02:00
parent 5e1ac89413
commit 104eb22462
3 changed files with 24 additions and 24 deletions
+4 -4
View File
@@ -43,9 +43,9 @@ struct object_context {
struct object_base base;
VAConfigID config_id;
VASurfaceID render_target;
VASurfaceID *render_targets;
int render_targets_count;
VASurfaceID render_surface_id;
VASurfaceID *surfaces_ids;
int surfaces_count;
int picture_width;
int picture_height;
@@ -57,7 +57,7 @@ struct object_context {
VAStatus SunxiCedrusCreateContext(VADriverContextP context,
VAConfigID config_id, int picture_width, int picture_height, int flag,
VASurfaceID *render_targets, int render_targets_count,
VASurfaceID *surfaces_ids, int surfaces_count,
VAContextID *context_id);
VAStatus SunxiCedrusDestroyContext(VADriverContextP context,
VAContextID context_id);