Mercurial > libavcodec.hg
diff dsputil.h @ 10431:546b7ebeaf07 libavcodec
huffyuv: add some const qualifiers
author | lorenm |
---|---|
date | Sun, 18 Oct 2009 20:47:25 +0000 |
parents | 12c8175d6db5 |
children | 63910f7ba293 |
line wrap: on
line diff
--- a/dsputil.h Sun Oct 18 20:10:10 2009 +0000 +++ b/dsputil.h Sun Oct 18 20:47:25 2009 +0000 @@ -347,8 +347,8 @@ * subtract huffyuv's variant of median prediction * note, this might read from src1[-1], src2[-1] */ - void (*sub_hfyu_median_prediction)(uint8_t *dst, const uint8_t *src1, uint8_t *src2, int w, int *left, int *left_top); - void (*add_hfyu_median_prediction)(uint8_t *dst, const uint8_t *top, uint8_t *diff, int w, int *left, int *left_top); + void (*sub_hfyu_median_prediction)(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int w, int *left, int *left_top); + void (*add_hfyu_median_prediction)(uint8_t *dst, const uint8_t *top, const uint8_t *diff, int w, int *left, int *left_top); int (*add_hfyu_left_prediction)(uint8_t *dst, const uint8_t *src, int w, int left); void (*add_hfyu_left_prediction_bgr32)(uint8_t *dst, const uint8_t *src, int w, int *red, int *green, int *blue); /* this might write to dst[w] */