summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxfengcarl <carl.zhang@intel.com>2017-06-01 22:04:03 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2017-09-27 12:49:34 +0800
commit0e6d5441f19bdc674b4da3169d614d10fd644778 (patch)
tree5fb9d1d62f383e1e3b9b970d22d899b008dbd054
parentc0716f3dfbbf7767fd8b5e9cf26301e80e9e24a4 (diff)
downloadlibva-0e6d5441f19bdc674b4da3169d614d10fd644778.tar.gz
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>
-rw-r--r--va/va.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/va/va.h b/va/va.h
index e60f67c..e4b3d10 100644
--- a/va/va.h
+++ b/va/va.h
@@ -648,12 +648,16 @@ typedef struct _VAConfigAttrib {
/** @name Attribute values for VAConfigAttribEncSliceStructure */
/**@{*/
-/** \brief Driver supports an arbitrary number of rows per slice. */
-#define VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROWS 0x00000000
/** \brief Driver supports a power-of-two number of rows per slice. */
#define VA_ENC_SLICE_STRUCTURE_POWER_OF_TWO_ROWS 0x00000001
/** \brief Driver supports an arbitrary number of macroblocks per slice. */
#define VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS 0x00000002
+/** \brief Dirver support 1 rows per slice */
+#define VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS 0x00000004
+/** \brief Dirver support max encoded slice size per slice */
+#define VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE 0x00000008
+/** \brief Driver supports an arbitrary number of rows per slice. */
+#define VA_ENC_SLICE_STRUCTURE_ARBITRARY_ROWS 0x00000010
/**@}*/
/** \brief Attribute value for VAConfigAttribEncJPEG */