VA-API
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
Public Attributes | List of all members
VASliceParameterBufferH264 Struct Reference

#include <va.h>

Public Attributes

unsigned int slice_data_offset
 Byte offset to the NAL Header Unit for this slice.
 
unsigned short slice_data_bit_offset
 Bit offset from NAL Header Unit to the begining of slice_data(). More...
 

Detailed Description

H.264 Slice Group Map Buffer When VAPictureParameterBufferH264::num_slice_group_minus1 is not equal to 0, A slice group map buffer should be sent for each picture if required. The buffer is sent only when there is a change in the mapping values. The slice group map buffer map "map units" to slice groups as specified in section 8.2.2 of the H.264 spec. The buffer will contain one byte for each macroblock in raster scan orderH.264 Slice Parameter Buffer

Member Data Documentation

unsigned short VASliceParameterBufferH264::slice_data_bit_offset

Bit offset from NAL Header Unit to the begining of slice_data().

This bit offset is relative to and includes the NAL unit byte and represents the number of bits parsed in the slice_header() after the removal of any emulation prevention bytes in there. However, the slice data buffer passed to the hardware is the original bitstream, thus including any emulation prevention bytes.


The documentation for this struct was generated from the following file: