summaryrefslogtreecommitdiff
path: root/libavcodec/intrax8.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-02-26 00:04:36 -0500
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-03-29 13:41:09 +0200
commitb1268e0f032a3af3912fe3fb8d3855e12d7ea83b (patch)
tree9236be6daa9596b059beb7425c289daf7b2aa97f /libavcodec/intrax8.h
parentd0540fd02171a6233d2016b199d013299debf7e3 (diff)
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.
Diffstat (limited to 'libavcodec/intrax8.h')
-rw-r--r--libavcodec/intrax8.h4
1 files changed, 3 insertions, 1 deletions
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 */