summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe/p_video_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/include/pipe/p_video_state.h')
-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