• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

Revisiona82db0c976762c7fbafc79dce1add2da838f1837 (tree)
Time2009-09-01 07:20:09
AuthorGwenole Beauchesne <gbeauchesne@spli...>
CommiterAustin Yuan

Log Message

Add new VC-1 fields for VDPAU backend.

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

Change Summary

Incremental Difference

--- a/src/va.h
+++ b/src/va.h
@@ -722,18 +722,32 @@ typedef struct _VAPictureParameterBufferVC1
722722 /* sequence layer for AP or meta data for SP and MP */
723723 union {
724724 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 */
728735 } bits;
729- unsigned char value;
736+ unsigned int value;
730737 } sequence_fields;
731738
732739 unsigned short coded_width; /* ENTRY_POINT_LAYER::CODED_WIDTH */
733740 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+
737751 unsigned char conditional_overlap_flag; /* ENTRY_POINT_LAYER::CONDOVER */
738752 unsigned char fast_uvmc_flag; /* ENTRY_POINT_LAYER::FASTUVMC */
739753 union {