API: h264 decode: fix the definition of slice_data_bit_offset.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 6 Apr 2012 09:25:34 +0000 (11:25 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sun, 8 Apr 2012 05:14:50 +0000 (07:14 +0200)
commit6c2765a53496384cd7f27af3935d7a2fee7e8bba
tree639693a7d50412167e89473f2e4083669c895d03
parentbccf8655fed772e98d7fdd2de6ff3144aaee183e
API: h264 decode: fix the definition of slice_data_bit_offset.

Align with the existing practice in various media stacks available
in Linux today. i.e. codec layer submits slice data that represents
the original bitstream, thus including any emulation prevent bytes.
However, the slice_data_bit_offset represents an offset relative
to the buffer that contains the NAL unit byte and the rest of the
slice with any emulation prevention bytes removed.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
va/va.h