[Libva] [PATCH 24/42] Add VAEncMiscParameterHRD data structure to pass HRD parameters to driver
Xiang, Haihao
haihao.xiang at intel.com
Mon May 13 00:51:48 PDT 2013
Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
---
va/va.h | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/va/va.h b/va/va.h
index d207516..2e1f309 100644
--- a/va/va.h
+++ b/va/va.h
@@ -718,6 +718,8 @@ typedef enum
VAEncMiscParameterTypeAIR = 3,
/** \brief Buffer type used to express a maximum frame size (in bits). */
VAEncMiscParameterTypeMaxFrameSize = 4,
+ /** \brief Buffer type used for HRD parameters. */
+ VAEncMiscParameterTypeHRD = 5,
} VAEncMiscParameterType;
/** \brief Packed header type. */
@@ -799,6 +801,12 @@ typedef struct _VAEncMiscParameterAIR
unsigned int air_auto; /* if set to 1 then hardware auto-tune the AIR threshold */
} VAEncMiscParameterAIR;
+typedef struct _VAEncMiscParameterHRD
+{
+ unsigned int initial_buffer_fullness; /* in bits */
+ unsigned int buffer_size; /* in bits */
+} VAEncMiscParameterHRD;
+
/**
* \brief Defines a maximum frame size (in bits).
*
--
1.7.4.1
More information about the Libva
mailing list