hardware/intel/common/libva
修订版 | 0e6d5441f19bdc674b4da3169d614d10fd644778 (tree) |
---|---|
时间 | 2017-09-27 13:49:34 |
作者 | xfengcarl <carl.zhang@inte...> |
Commiter | Xiang, Haihao |
optimize values for VAConfigAttribEncSliceStructure
redefine VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROW to non-zero value
all slice structure attributes value can OR'd together.
Signed-off-by: xfengcarl <carl.zhang@intel.com>
@@ -648,12 +648,16 @@ typedef struct _VAConfigAttrib { | ||
648 | 648 | |
649 | 649 | /** @name Attribute values for VAConfigAttribEncSliceStructure */ |
650 | 650 | /**@{*/ |
651 | -/** \brief Driver supports an arbitrary number of rows per slice. */ | |
652 | -#define VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROWS 0x00000000 | |
653 | 651 | /** \brief Driver supports a power-of-two number of rows per slice. */ |
654 | 652 | #define VA_ENC_SLICE_STRUCTURE_POWER_OF_TWO_ROWS 0x00000001 |
655 | 653 | /** \brief Driver supports an arbitrary number of macroblocks per slice. */ |
656 | 654 | #define VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS 0x00000002 |
655 | +/** \brief Dirver support 1 rows per slice */ | |
656 | +#define VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS 0x00000004 | |
657 | +/** \brief Dirver support max encoded slice size per slice */ | |
658 | +#define VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE 0x00000008 | |
659 | +/** \brief Driver supports an arbitrary number of rows per slice. */ | |
660 | +#define VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROWS 0x00000010 | |
657 | 661 | /**@}*/ |
658 | 662 | |
659 | 663 | /** \brief Attribute value for VAConfigAttribEncJPEG */ |