[Libva] [PATCH 3/3] encoder_utils: don't stuff byte alignment bits to h264 slice_header

sreerenj.balachandran at intel.com sreerenj.balachandran at intel.com
Fri Aug 29 07:24:41 PDT 2014


From: Sreerenj Balachandran <sreerenj.balachandran at intel.com>

The generated packed slice header data buffer should only includes
the slice_header() syntax element (Based on the description of
VAEncPackedHeaderH264_Slice in libva VA-API)
---
 src/i965_encoder_utils.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/i965_encoder_utils.c b/src/i965_encoder_utils.c
index e59e7fb..49ec140 100644
--- a/src/i965_encoder_utils.c
+++ b/src/i965_encoder_utils.c
@@ -314,10 +314,6 @@ slice_header(avc_bitstream *bs,
             avc_bitstream_put_se(bs, slice_param->slice_beta_offset_div2);              /* slice_beta_offset_div2: 2 */
         }
     }
-
-    if (pic_param->pic_fields.bits.entropy_coding_mode_flag) {
-        avc_bitstream_byte_aligning(bs, 1);
-    }
 }
 
 int 
-- 
1.9.1



More information about the Libva mailing list