summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
*/