diff options
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_mpeg12_bitstream.h')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_mpeg12_bitstream.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.h b/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.h index 8a35dc4..797a7e7 100644 --- a/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.h +++ b/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.h @@ -38,10 +38,11 @@ struct vl_mpg12_bs struct vl_vlc vlc; + unsigned block_num; unsigned *num_ycbcr_blocks; struct vl_ycbcr_block *ycbcr_stream[VL_MAX_PLANES]; - short *ycbcr_buffer[VL_MAX_PLANES]; + short *ycbcr_buffer; struct vl_motionvector *mv_stream[VL_MAX_REF_FRAMES]; }; @@ -51,7 +52,7 @@ vl_mpg12_bs_init(struct vl_mpg12_bs *bs, unsigned width, unsigned height); void vl_mpg12_bs_set_buffers(struct vl_mpg12_bs *bs, struct vl_ycbcr_block *ycbcr_stream[VL_MAX_PLANES], - short *ycbcr_buffer[VL_MAX_PLANES], struct vl_motionvector *mv_stream[VL_MAX_REF_FRAMES]); + short *ycbcr_buffer, struct vl_motionvector *mv_stream[VL_MAX_REF_FRAMES]); void vl_mpg12_bs_decode(struct vl_mpg12_bs *bs, unsigned num_bytes, const void *buffer, |