summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Zhang <carl.zhang@intel.com>2020-01-20 03:15:11 -0500
committerXinfengZhang <carl.zhang@intel.com>2020-05-25 14:31:51 +0800
commit0014ada0eb0fd09a0dd928e5a132ecf12ed85c2e (patch)
tree99e9214dc02484c7be4999bf5d2871ef56449cc3
parent6456e003dfb45c2df5f785cdcbc21b07302c08ec (diff)
downloadlibva-0014ada0eb0fd09a0dd928e5a132ecf12ed85c2e.tar.gz
add definition to enforce both reflist not empty
it is a suppliment of https://github.com/intel/libva/pull/220 to distinguish P frame and low delay B frame Signed-off-by: Carl Zhang <carl.zhang@intel.com>
-rwxr-xr-xva/va.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/va/va.h b/va/va.h
index 4d93582..4c170c3 100755
--- a/va/va.h
+++ b/va/va.h
@@ -1024,6 +1024,8 @@ typedef union _VAConfigAttribValEncJPEG {
#define VA_PREDICTION_DIRECTION_PREVIOUS 0x00000001
/** \brief Driver support backward prediction frame/slice */
#define VA_PREDICTION_DIRECTION_FUTURE 0x00000002
+/** \brief Dirver require both reference list must be not empty for inter frame */
+#define VA_PREDICTION_DIRECTION_BI_NOT_EMPTY 0x00000004
/**@}*/
/** @name Attribute values for VAConfigAttribEncIntraRefresh */