[Libva] [PATCH 18/42] API: h264 encode: fix max-frame-size parameter buffer type.
Xiang, Haihao
haihao.xiang at intel.com
Mon May 13 00:51:42 PDT 2013
From: Gwenole Beauchesne <gwenole.beauchesne at intel.com>
---
va/va.h | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/va/va.h b/va/va.h
index 89a6f82..f31e0d8 100644
--- a/va/va.h
+++ b/va/va.h
@@ -788,10 +788,12 @@ typedef struct _VAEncMiscParameterAIR
* the \c status flag of #VACodedBufferSegment will contain
* #VA_CODED_BUF_STATUS_FRAME_SIZE_OVERFLOW.
*/
-typedef struct _VAEncMiscParameterMaxFrameSize {
+typedef struct _VAEncMiscParameterBufferMaxFrameSize {
+ /** \brief Type. Shall be set to #VAEncMiscParameterTypeMaxFrameSize. */
+ VAEncMiscParameterType type;
/** \brief Maximum size of a frame (in bits). */
- unsigned int max_frame_size;
-} VAEncMiscParameterMaxFrameSize;
+ unsigned int max_frame_size;
+} VAEncMiscParameterBufferMaxFrameSize;
/*
* There will be cases where the bitstream buffer will not have enough room to hold
--
1.7.4.1
More information about the Libva
mailing list