summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/va/va_private.h
diff options
context:
space:
mode:
authorMichael Varga <[email protected]>2014-10-23 10:13:05 -0500
committerLeo Liu <[email protected]>2014-11-10 10:24:07 -0500
commit9f1ee1b5c941422ae4761388b9562f4abd67c461 (patch)
treeeb22f63ce83ff863cc936396e6f5708f9ea32c0f /src/gallium/state_trackers/va/va_private.h
parentc24ee2cf439f53d210ce4e4318cdc85dee2e7295 (diff)
st/va: MPEG4 populate the PPS structure
Signed-off-by: Michael Varga <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/va/va_private.h')
-rw-r--r--src/gallium/state_trackers/va/va_private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/va/va_private.h b/src/gallium/state_trackers/va/va_private.h
index 060a1faeb9c..7d2fc24ca71 100644
--- a/src/gallium/state_trackers/va/va_private.h
+++ b/src/gallium/state_trackers/va/va_private.h
@@ -162,6 +162,15 @@ typedef struct {
struct pipe_vc1_picture_desc vc1;
struct pipe_h264_picture_desc h264;
} desc;
+
+ struct {
+ unsigned long long int frame_num;
+ unsigned int start_code_size;
+ unsigned int vti_bits;
+ unsigned int quant_scale;
+ VAPictureParameterBufferMPEG4 pps;
+ uint8_t start_code[32];
+ } mpeg4;
} vlVaContext;
typedef struct {