• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

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

hardware/intel/common/libva


Commit MetaInfo

修订版0e6d5441f19bdc674b4da3169d614d10fd644778 (tree)
时间2017-09-27 13:49:34
作者xfengcarl <carl.zhang@inte...>
CommiterXiang, Haihao

Log Message

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>

更改概述

差异

--- a/va/va.h
+++ b/va/va.h
@@ -648,12 +648,16 @@ typedef struct _VAConfigAttrib {
648648
649649 /** @name Attribute values for VAConfigAttribEncSliceStructure */
650650 /**@{*/
651-/** \brief Driver supports an arbitrary number of rows per slice. */
652-#define VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROWS 0x00000000
653651 /** \brief Driver supports a power-of-two number of rows per slice. */
654652 #define VA_ENC_SLICE_STRUCTURE_POWER_OF_TWO_ROWS 0x00000001
655653 /** \brief Driver supports an arbitrary number of macroblocks per slice. */
656654 #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
657661 /**@}*/
658662
659663 /** \brief Attribute value for VAConfigAttribEncJPEG */