hardware/intel/libva
リビジョン | e4f9b550df7320ef6a24c76d35cf8e55c1d9750e (tree) |
---|---|
日時 | 2009-09-01 07:02:55 |
作者 | Gwenole Beauchesne <gbeauchesne@spli...> |
コミッター | Austin Yuan |
Add new H.264 fields for VDPAU backend.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
@@ -882,6 +882,7 @@ This is simplely a buffer containing raw bit-stream bytes | ||
882 | 882 | typedef struct _VAPictureH264 |
883 | 883 | { |
884 | 884 | VASurfaceID picture_id; |
885 | + unsigned int frame_idx; | |
885 | 886 | unsigned int flags; |
886 | 887 | unsigned int TopFieldOrderCnt; |
887 | 888 | unsigned int BottomFieldOrderCnt; |
@@ -915,6 +916,10 @@ typedef struct _VAPictureParameterBufferH264 | ||
915 | 916 | unsigned char mb_adaptive_frame_field_flag : 1; |
916 | 917 | unsigned char direct_8x8_inference_flag : 1; |
917 | 918 | unsigned char MinLumaBiPredSize8x8 : 1; /* see A.3.3.2 */ |
919 | + unsigned int log2_max_frame_num_minus4 : 4; | |
920 | + unsigned int pic_order_cnt_type : 2; | |
921 | + unsigned int log2_max_pic_order_cnt_lsb_minus4 : 4; | |
922 | + unsigned int delta_pic_order_always_zero_flag : 1; | |
918 | 923 | } bits; |
919 | 924 | unsigned char value; |
920 | 925 | } seq_fields; |
@@ -931,6 +936,9 @@ typedef struct _VAPictureParameterBufferH264 | ||
931 | 936 | unsigned char transform_8x8_mode_flag : 1; |
932 | 937 | unsigned char field_pic_flag : 1; |
933 | 938 | unsigned char constrained_intra_pred_flag : 1; |
939 | + unsigned int pic_order_present_flag : 1; | |
940 | + unsigned int deblocking_filter_control_present_flag : 1; | |
941 | + unsigned int redundant_pic_cnt_present_flag : 1; | |
934 | 942 | } bits; |
935 | 943 | unsigned char value; |
936 | 944 | } pic_fields; |