diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-12-30 19:56:07 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-07-06 14:26:53 -0700 |
commit | c166148409fe8f0dbccef2fe684286a40ba1e37d (patch) | |
tree | 64db33e2555b5e96635f684c2a6e3959bf0d7de7 /libavcodec/mpegvideoencdsp.h | |
parent | 8d686ca59db14900ad5c12b547fb8a7afc8b0b94 (diff) | |
download | ffmpeg-c166148409fe8f0dbccef2fe684286a40ba1e37d.tar.gz |
dsputil: Move pix_sum, pix_norm1, shrink function pointers to mpegvideoenc
Diffstat (limited to 'libavcodec/mpegvideoencdsp.h')
-rw-r--r-- | libavcodec/mpegvideoencdsp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/mpegvideoencdsp.h b/libavcodec/mpegvideoencdsp.h index 2e8427d0a2..dcbeb3cbae 100644 --- a/libavcodec/mpegvideoencdsp.h +++ b/libavcodec/mpegvideoencdsp.h @@ -31,10 +31,19 @@ typedef struct MpegvideoEncDSPContext { int16_t basis[64], int scale); void (*add_8x8basis)(int16_t rem[64], int16_t basis[64], int scale); + int (*pix_sum)(uint8_t *pix, int line_size); + int (*pix_norm1)(uint8_t *pix, int line_size); + + void (*shrink[4])(uint8_t *dst, int dst_wrap, const uint8_t *src, + int src_wrap, int width, int height); } MpegvideoEncDSPContext; void ff_mpegvideoencdsp_init(MpegvideoEncDSPContext *c, AVCodecContext *avctx); +void ff_mpegvideoencdsp_init_arm(MpegvideoEncDSPContext *c, + AVCodecContext *avctx); +void ff_mpegvideoencdsp_init_ppc(MpegvideoEncDSPContext *c, + AVCodecContext *avctx); void ff_mpegvideoencdsp_init_x86(MpegvideoEncDSPContext *c, AVCodecContext *avctx); |