From b1268e0f032a3af3912fe3fb8d3855e12d7ea83b Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Fri, 26 Feb 2016 00:04:36 -0500 Subject: intrax8: Pass macroblock coordinates to ff_intrax8_decode_picture These values need to be updated with the last macroblock position, so keep them as pointers. --- libavcodec/intrax8.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavcodec/intrax8.h') diff --git a/libavcodec/intrax8.h b/libavcodec/intrax8.h index d640cdf6af..d6bbbbd07e 100644 --- a/libavcodec/intrax8.h +++ b/libavcodec/intrax8.h @@ -101,12 +101,14 @@ void ff_intrax8_common_end(IntraX8Context *w); * @param w pointer to IntraX8Context * @param pict the output Picture containing an AVFrame * @param gb open bitstream reader + * @param mb_x pointer to the x coordinate of the current macroblock + * @param mb_y pointer to the y coordinate of the current macroblock * @param dquant doubled quantizer, it would be odd in case of VC-1 halfpq==1. * @param quant_offset offset away from zero * @param loopfilter enable filter after decoding a block */ int ff_intrax8_decode_picture(IntraX8Context *w, Picture *pict, - GetBitContext *gb, + GetBitContext *gb, int *mb_x, int *mb_y, int quant, int halfpq, int loopfilter); #endif /* AVCODEC_INTRAX8_H */ -- cgit v1.2.3