[Libva] [PATCH 1/2] va_dec_hevc.h: Fix the misleading documentation

sreerenj.balachandran at intel.com sreerenj.balachandran at intel.com
Tue May 26 22:53:17 PDT 2015


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

The slice data buffer should always include the start code prefix.

The comment section of VASliceParameterBufferHEVC is saying that the
accompanying slice_data_buffer should include start code prefix.
But the comment above slice_data_byte_offset is contradicting.

Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran at intel.com>
---
 va/va_dec_hevc.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/va/va_dec_hevc.h b/va/va_dec_hevc.h
index 860f5ad..d61a283 100644
--- a/va/va_dec_hevc.h
+++ b/va/va_dec_hevc.h
@@ -264,7 +264,6 @@ typedef struct  _VASliceParameterBufferHEVC
      * there. However, the slice data buffer passed to the hardware is
      * the original bitstream, thus including any emulation prevention
      * bytes.
-     * The slice bit stream may or may not include the start code prefix.
      */
     uint32_t                slice_data_byte_offset;
     /** HEVC syntax element. */
-- 
2.1.4



More information about the Libva mailing list