summaryrefslogtreecommitdiff
path: root/va/va_enc_h264.h
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2011-11-24 13:56:37 +0000
committerXiang, Haihao <haihao.xiang@intel.com>2013-05-28 16:19:09 +0800
commitfbb0ce2477bed73b5d13ea08a325c8aada481298 (patch)
treee55c927a739e71a15e84f6ea138a5968c7df0d22 /va/va_enc_h264.h
parent1790dc28bad70943b5a9f0c14ecb8cf00899bd5e (diff)
API: h264 encode: move up num_macroblocks, next to macroblock_address.
Diffstat (limited to 'va/va_enc_h264.h')
-rw-r--r--va/va_enc_h264.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/va/va_enc_h264.h b/va/va_enc_h264.h
index 0cbccae..540dfdd 100644
--- a/va/va_enc_h264.h
+++ b/va/va_enc_h264.h
@@ -348,6 +348,8 @@ typedef struct _VAEncPictureParameterBufferH264 {
typedef struct _VAEncSliceParameterBufferH264 {
/** \brief Starting MB address for this slice. */
unsigned int macroblock_address;
+ /** \brief Number of macroblocks in this slice. */
+ unsigned int num_macroblocks;
/**
* \brief Per-MB encoder configuration buffer, or \c VA_INVALID_ID.
*
@@ -361,8 +363,6 @@ typedef struct _VAEncSliceParameterBufferH264 {
* elements.
*/
VABufferID macroblock_info;
- /** \brief Number of macroblocks in this slice. */
- unsigned int num_macroblocks;
/** \brief Slice type.
* Range: 0..2, 5..7, i.e. no switching slices.
*/