diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-22 14:54:06 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-01-22 15:33:23 +0100 |
commit | 26345acb0e723d28aa28e09126ea383b2f679f5b (patch) | |
tree | f8d7a9f62d7557aca5ad56dd244fa415fdab56f2 /libavcodec/vp3dsp.h | |
parent | 9774251c45eadfe0ba7b0381344451fa8840cc0d (diff) | |
parent | 0881cbf314982cce8448bd12644ce2a6e0b8c576 (diff) | |
download | ffmpeg-26345acb0e723d28aa28e09126ea383b2f679f5b.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
proresdec: support mixed interlaced/non-interlaced content
vp3/5: move put_no_rnd_pixels_l2 from dsputil to VP3DSPContext.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp3dsp.h')
-rw-r--r-- | libavcodec/vp3dsp.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libavcodec/vp3dsp.h b/libavcodec/vp3dsp.h index bc651997d2..35bd95c684 100644 --- a/libavcodec/vp3dsp.h +++ b/libavcodec/vp3dsp.h @@ -19,10 +19,26 @@ #ifndef AVCODEC_VP3DSP_H #define AVCODEC_VP3DSP_H +#include <stddef.h> #include <stdint.h> #include "dsputil.h" typedef struct VP3DSPContext { + /** + * Copy 8xH pixels from source to destination buffer using a bilinear + * filter with no rounding (i.e. *dst = (*a + *b) >> 1). + * + * @param dst destination buffer, aligned by 8 + * @param a first source buffer, no alignment + * @param b second source buffer, no alignment + * @param stride distance between two lines in source/dest buffers + * @param h height + */ + void (*put_no_rnd_pixels_l2)(uint8_t *dst, + const uint8_t *a, + const uint8_t *b, + ptrdiff_t stride, int h); + void (*idct_put)(uint8_t *dest, int line_size, DCTELEM *block); void (*idct_add)(uint8_t *dest, int line_size, DCTELEM *block); void (*idct_dc_add)(uint8_t *dest, int line_size, DCTELEM *block); |