Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-20 06:50:43 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-01-20 07:06:04 +0400
commitda0684820a58ce42a5a2953cbce417e06a54be8f (patch)
treec2d468b28cc427bf5f37ab4074d028494ee4cdce /libavcodec/dsputil.h
parentf29cdbe1b59a0d997733b507041e15ec68cef00c (diff)
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.h2
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]