diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2009-10-18 20:47:25 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2009-10-18 20:47:25 +0000 |
commit | e17ccf60fe4ef23424f567bfa7e58199735d43fe (patch) | |
tree | 26bd77c344ffd2fe19203b1d73f6467984c4f133 /libavcodec/dsputil.h | |
parent | 7857d3ccf6f170fec47ff288010d2f5522294da6 (diff) | |
download | ffmpeg-e17ccf60fe4ef23424f567bfa7e58199735d43fe.tar.gz |
huffyuv: add some const qualifiers
Originally committed as revision 20290 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index ab791f53cb..c097461c4a 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -347,8 +347,8 @@ typedef struct DSPContext { * 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] */ |