aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264dsp.h
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2013-02-11 17:04:27 -0800
committerMartin Storsjö <martin@martin.st>2013-02-19 22:33:29 +0200
commit2ed008204d5467be03a0a3af1e293b2f7038d0a0 (patch)
tree7293700d56b1e8b10eab3b4cf147d23b6a7aa049 /libavcodec/h264dsp.h
parente5ffffe48d20642acc079166f0fa7d93a6a9f594 (diff)
downloadffmpeg-2ed008204d5467be03a0a3af1e293b2f7038d0a0.tar.gz
h264: Add add_pixels4/8() to h264dsp, and remove add_pixels4 from dsputil
These functions are mostly H264-specific (the only other user I can spot is bink), and this allows us to special-case some functionality for H264. Also remove the 16-bit-coeff with >8bpp versions (unused) and merge the duplicate 32-bit-coeff for >8bpp (identical). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/h264dsp.h')
-rw-r--r--libavcodec/h264dsp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/h264dsp.h b/libavcodec/h264dsp.h
index c6bcd9e214..757caf8162 100644
--- a/libavcodec/h264dsp.h
+++ b/libavcodec/h264dsp.h
@@ -101,6 +101,10 @@ typedef struct H264DSPContext {
void (*h264_luma_dc_dequant_idct)(int16_t *output,
int16_t *input /*align 16*/, int qmul);
void (*h264_chroma_dc_dequant_idct)(int16_t *block, int qmul);
+
+ /* bypass-transform */
+ void (*h264_add_pixels8)(uint8_t *dst, int16_t *block, int stride);
+ void (*h264_add_pixels4)(uint8_t *dst, int16_t *block, int stride);
} H264DSPContext;
void ff_h264dsp_init(H264DSPContext *c, const int bit_depth,