From 4a1f1af4863b3259b41308f2c1ad6a8c803ae515 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Thu, 24 Nov 2011 13:56:37 +0000 Subject: [PATCH] API: h264 encode: move up num_macroblocks, next to macroblock_address. --- va/va_enc_h264.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/va/va_enc_h264.h b/va/va_enc_h264.h index 62845f6..22660bc 100644 --- a/va/va_enc_h264.h +++ b/va/va_enc_h264.h @@ -329,6 +329,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. * @@ -342,8 +344,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. */ -- 2.7.4