hardware/intel/libva
Revision | a82db0c976762c7fbafc79dce1add2da838f1837 (tree) |
---|---|
Time | 2009-09-01 07:20:09 |
Author | Gwenole Beauchesne <gbeauchesne@spli...> |
Commiter | Austin Yuan |
Add new VC-1 fields for VDPAU backend.
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
@@ -722,18 +722,32 @@ typedef struct _VAPictureParameterBufferVC1 | ||
722 | 722 | /* sequence layer for AP or meta data for SP and MP */ |
723 | 723 | union { |
724 | 724 | struct { |
725 | - unsigned char interlace : 1; /* SEQUENCE_LAYER::INTERLACE */ | |
726 | - unsigned char syncmarker : 1;/* METADATA::SYNCMARKER */ | |
727 | - unsigned char overlap : 1;/* METADATA::OVERLAP */ | |
725 | + unsigned int pulldown : 1; /* SEQUENCE_LAYER::PULLDOWN */ | |
726 | + unsigned int interlace : 1; /* SEQUENCE_LAYER::INTERLACE */ | |
727 | + unsigned int tfcntrflag : 1; /* SEQUENCE_LAYER::TFCNTRFLAG */ | |
728 | + unsigned int finterpflag : 1; /* SEQUENCE_LAYER::FINTERPFLAG */ | |
729 | + unsigned int psf : 1; /* SEQUENCE_LAYER::PSF */ | |
730 | + unsigned int multires : 1; /* METADATA::MULTIRES */ | |
731 | + unsigned int overlap : 1; /* METADATA::OVERLAP */ | |
732 | + unsigned int syncmarker : 1; /* METADATA::SYNCMARKER */ | |
733 | + unsigned int rangered : 1; /* METADATA::RANGERED */ | |
734 | + unsigned int max_b_frames : 3; /* METADATA::MAXBFRAMES */ | |
728 | 735 | } bits; |
729 | - unsigned char value; | |
736 | + unsigned int value; | |
730 | 737 | } sequence_fields; |
731 | 738 | |
732 | 739 | unsigned short coded_width; /* ENTRY_POINT_LAYER::CODED_WIDTH */ |
733 | 740 | unsigned short coded_height; /* ENTRY_POINT_LAYER::CODED_HEIGHT */ |
734 | - unsigned char closed_entry; /* ENTRY_POINT_LAYER::CLOSED_ENTRY */ | |
735 | - unsigned char broken_link; /* ENTRY_POINT_LAYER::BROKEN_LINK */ | |
736 | - unsigned char loopfilter; /* ENTRY_POINT_LAYER::LOOPFILTER */ | |
741 | + union { | |
742 | + struct { | |
743 | + unsigned int broken_link : 1; /* ENTRY_POINT_LAYER::BROKEN_LINK */ | |
744 | + unsigned int closed_entry : 1; /* ENTRY_POINT_LAYER::CLOSED_ENTRY */ | |
745 | + unsigned int panscan_flag : 1; /* ENTRY_POINT_LAYER::PANSCAN_FLAG */ | |
746 | + unsigned int loopfilter : 1; /* ENTRY_POINT_LAYER::LOOPFILTER */ | |
747 | + } bits; | |
748 | + unsigned int value; | |
749 | + } entrypoint_fields; | |
750 | + | |
737 | 751 | unsigned char conditional_overlap_flag; /* ENTRY_POINT_LAYER::CONDOVER */ |
738 | 752 | unsigned char fast_uvmc_flag; /* ENTRY_POINT_LAYER::FASTUVMC */ |
739 | 753 | union { |