[Libva] [PATCH 38/42] API: h264 encode: move up num_macroblocks, next to macroblock_address.

Xiang, Haihao haihao.xiang at intel.com
Mon May 13 00:52:02 PDT 2013


From: Gwenole Beauchesne <gwenole.beauchesne at intel.com>

---
 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.
      */
-- 
1.7.4.1



More information about the Libva mailing list