diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2011-11-24 13:56:37 +0000 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2013-05-28 16:19:09 +0800 |
commit | fbb0ce2477bed73b5d13ea08a325c8aada481298 (patch) | |
tree | e55c927a739e71a15e84f6ea138a5968c7df0d22 /va/va_enc_h264.h | |
parent | 1790dc28bad70943b5a9f0c14ecb8cf00899bd5e (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.h | 4 |
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. */ |