From 6532b0f78f9c0b3b7f0225f5dc1062c4cb205dfb Mon Sep 17 00:00:00 2001 From: Carl Zhang Date: Wed, 20 Sep 2023 04:57:46 -0400 Subject: [PATCH] va:add defintions for segment id block size Signed-off-by: Carl Zhang --- va/va.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/va/va.h b/va/va.h index 1d99fa6ff..1f4796649 100644 --- a/va/va.h +++ b/va/va.h @@ -1491,6 +1491,19 @@ typedef union _VAConfigAttribValEncPerBlockControl { /** \brief Driver supports decode processing rate report */ #define VA_PROCESSING_RATE_DECODE 0x00000002 /**@}*/ + +/** @name segment ID map block size */ +/**@{*/ +/** \brief each segmentID represent a 16x16 block */ +#define VA_SEGID_BLOCK_16X16 0 +/** \brief each segmentID represent a 32x32 block */ +#define VA_SEGID_BLOCK_32X32 1 +/** \brief each segmentID represent a 64x64 block */ +#define VA_SEGID_BLOCK_64X64 2 +/** \brief each segmentID represent a 8x8 block */ +#define VA_SEGID_BLOCK_8X8 3 +/**@}*/ + /** * if an attribute is not applicable for a given * profile/entrypoint pair, then set the value to the following