diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-08-31 11:45:15 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-09-02 14:41:13 -0700 |
commit | 95c0cec03acec0a80cc1c7db48f3b2355d9e767b (patch) | |
tree | e1ad21afa12a7f9b90b9d14ca0102bc7ab5b5904 /libavcodec/arm | |
parent | 91d305790ea0f6fe0f54b48236da42181c39c18b (diff) | |
download | ffmpeg-streaming-95c0cec03acec0a80cc1c7db48f3b2355d9e767b.zip ffmpeg-streaming-95c0cec03acec0a80cc1c7db48f3b2355d9e767b.tar.gz |
idctdsp: Add global function pointers for {add|put}_pixels_clamped functions
These function pointers already existed in the ARM code. Adding them globally
allows calls to the function pointers to access arch-optimized versions of the
functions transparently.
Diffstat (limited to 'libavcodec/arm')
-rw-r--r-- | libavcodec/arm/idctdsp_init_arm.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/arm/idctdsp_init_arm.c b/libavcodec/arm/idctdsp_init_arm.c index 0b32df0..8207c31 100644 --- a/libavcodec/arm/idctdsp_init_arm.c +++ b/libavcodec/arm/idctdsp_init_arm.c @@ -29,10 +29,6 @@ #include "idct.h" #include "idctdsp_arm.h" -/* XXX: local hack */ -static void (*ff_put_pixels_clamped)(const int16_t *block, uint8_t *pixels, int line_size); -static void (*ff_add_pixels_clamped)(const int16_t *block, uint8_t *pixels, int line_size); - void ff_add_pixels_clamped_arm(const int16_t *block, uint8_t *dest, int line_size); @@ -67,9 +63,6 @@ av_cold void ff_idctdsp_init_arm(IDCTDSPContext *c, AVCodecContext *avctx, { int cpu_flags = av_get_cpu_flags(); - ff_put_pixels_clamped = c->put_pixels_clamped; - ff_add_pixels_clamped = c->add_pixels_clamped; - if (!high_bit_depth) { if (avctx->idct_algo == FF_IDCT_AUTO || avctx->idct_algo == FF_IDCT_ARM) { |