summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2011-10-31 11:45:37 +0100
committerChristian König <[email protected]>2011-11-03 13:52:01 +0100
commit12bf452945ae64da69f474298758f9a7c8b94af5 (patch)
treefe015795c0649e837faa0b3efeb7d9113f43800b /src/gallium/include
parent1eb48c5500e5b3e3319108a1cecf63524fdede0d (diff)
state_trackers/vdpau: Add support for MPEG4 Part 2
Just the support patch, no decoder implements it currently. Signed-off-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_video_state.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h
index 53da1d85119..0530b4a21ad 100644
--- a/src/gallium/include/pipe/p_video_state.h
+++ b/src/gallium/include/pipe/p_video_state.h
@@ -185,6 +185,33 @@ struct pipe_mpeg12_macroblock
unsigned short num_skipped_macroblocks;
};
+struct pipe_mpeg4_picture_desc
+{
+ struct pipe_picture_desc base;
+ int32_t trd[2];
+ int32_t trb[2];
+ uint16_t vop_time_increment_resolution;
+ uint8_t vop_coding_type;
+ uint8_t vop_fcode_forward;
+ uint8_t vop_fcode_backward;
+ uint8_t resync_marker_disable;
+ uint8_t interlaced;
+ uint8_t quant_type;
+ uint8_t quarter_sample;
+ uint8_t short_video_header;
+ uint8_t rounding_control;
+ uint8_t alternate_vertical_scan_flag;
+ uint8_t top_field_first;
+};
+
+struct pipe_mpeg4_quant_matrix
+{
+ struct pipe_quant_matrix base;
+
+ const uint8_t *intra_matrix;
+ const uint8_t *non_intra_matrix;
+};
+
#ifdef __cplusplus
}
#endif