diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-20 03:50:43 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-20 04:06:04 +0100 |
commit | da0684820a58ce42a5a2953cbce417e06a54be8f (patch) | |
tree | c2d468b28cc427bf5f37ab4074d028494ee4cdce /libavcodec/dsputil.h | |
parent | f29cdbe1b59a0d997733b507041e15ec68cef00c (diff) | |
download | ffmpeg-da0684820a58ce42a5a2953cbce417e06a54be8f.tar.gz |
avcodec/dsputil/huffyuv: move diff int16 and add int16 to dsputil
This also fixes masking the bits
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 0897c560b4..7ad96f6cd7 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -193,6 +193,8 @@ typedef struct DSPContext { /* huffyuv specific */ void (*add_bytes)(uint8_t *dst/*align 16*/, uint8_t *src/*align 16*/, int w); void (*diff_bytes)(uint8_t *dst/*align 16*/, const uint8_t *src1/*align 16*/, const uint8_t *src2/*align 1*/,int w); + void (*add_int16)(uint16_t *dst/*align 16*/, const uint16_t *src/*align 16*/, unsigned mask, int w); + void (*diff_int16)(uint16_t *dst/*align 16*/, const uint16_t *src1/*align 16*/, const uint16_t *src2/*align 1*/, unsigned mask, int w); /** * subtract huffyuv's variant of median prediction * note, this might read from src1[-1], src2[-1] |