summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexei Leonenko <alexei.leonenko@intel.com>2020-03-31 20:33:08 +0300
committerXinfengZhang <carl.zhang@intel.com>2020-04-22 16:33:14 +0800
commit82122961145d4be616400cc99485867adfddd971 (patch)
tree63c5a097d16770ded7114b7184aa0c0f81a4e3c2
parentc2c339d12ef056d81f02cb1af2a37b8e13078c14 (diff)
downloadlibva-82122961145d4be616400cc99485867adfddd971.tar.gz
Add new slice structure flag for CAPS reporting
Introduce new CAPS flag, fix typos in flag descriptions. Signed-off-by: Alexei Leonenko <alexei.leonenko@intel.com>
-rwxr-xr-xva/va.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/va/va.h b/va/va.h
index 0bfeac1..4d93582 100755
--- a/va/va.h
+++ b/va/va.h
@@ -957,12 +957,16 @@ typedef union _VAConfigAttribValDecJPEG {
#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 */
+/** \brief Driver support 1 row per slice */
#define VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS 0x00000004
-/** \brief Dirver support max encoded slice size per slice */
+/** \brief Driver 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 Driver supports any number of rows per slice but they must be the same
+* for all slices except for the last one, which must be equal or smaller
+* to the previous slices. */
+#define VA_ENC_SLICE_STRUCTURE_EQUAL_MULTI_ROWS 0x00000020
/**@}*/
/** \brief Attribute value for VAConfigAttribMaxFrameSize */