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:23:12 +0000 (07:23 +0200)
commit0a49e209e6d2802e2739c3f09d26819e743b5699
tree2e400859037192773634bc1cfc3c0e99b807eeba
parenta8b87bea88048eb1ad747e60cb86930236fa7f1c
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