i965_drv_video: [H.264] fix slice_data_bit_offset
authorXiang, Haihao <haihao.xiang@intel.com>
Wed, 7 Jul 2010 06:29:36 +0000 (14:29 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 7 Jul 2010 06:54:53 +0000 (14:54 +0800)
commitab53aaf20496dc29ec3169ba84ad37e54807f1a9
tree67cf97575e29e0d87a1bd3c7c3bdf7df900fc34f
parent543f4813b8f010060a774a0c5f12f79cc181f12a
i965_drv_video: [H.264] fix slice_data_bit_offset

VASliceParameterBufferH264.slice_data_bit_offset will point into the part
of slice header if there are some escaped bytes in the slice header. The offset
to slice data is needed for BSD unit so that BSD unit can fetch right slice data
for processing. This fixes conformance case BASQP1_Sony_C.jsv

The method to get the total number of bytes in the slice header is provided by Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
i965_avc_bsd.c