Mercurial > libavcodec.hg
diff dsputil.h @ 10420:442ab0c41eae libavcodec
Huffyuv: Add missing const to src pointers in dsputil functions.
| author | astrange |
|---|---|
| date | Fri, 16 Oct 2009 23:04:41 +0000 |
| parents | 8fd8f6c1cdcc |
| children | 94595d0e617c |
line wrap: on
line diff
--- a/dsputil.h Fri Oct 16 22:55:34 2009 +0000 +++ b/dsputil.h Fri Oct 16 23:04:41 2009 +0000 @@ -347,10 +347,10 @@ * subtract huffyuv's variant of median prediction * note, this might read from src1[-1], src2[-1] */ - void (*sub_hfyu_median_prediction)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w, int *left, int *left_top); - void (*add_hfyu_median_prediction)(uint8_t *dst, uint8_t *top, uint8_t *diff, int w, int *left, int *left_top); - int (*add_hfyu_left_prediction)(uint8_t *dst, uint8_t *src, int w, int acc); - void (*add_hfyu_left_prediction_bgr32)(uint8_t *dst, uint8_t *src, int w, int *red, int *green, int *blue); + 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); + int (*add_hfyu_left_prediction)(uint8_t *dst, const uint8_t *src, int w, int acc); + 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] */ void (*add_png_paeth_prediction)(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp); void (*bswap_buf)(uint32_t *dst, const uint32_t *src, int w);
