diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-07-08 08:31:15 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-07-11 06:38:26 -0700 |
commit | 1173320249745eab01c901a39054fc0fced33c87 (patch) | |
tree | 6235c122aa97207afb1eb0c3649fb1e9d2daca12 /libavcodec/x86 | |
parent | df2aa22203afc9377832bdf800df5dbd3aa9687e (diff) | |
download | ffmpeg-1173320249745eab01c901a39054fc0fced33c87.tar.gz |
dsputil: Drop unused bit_depth parameter from all init functions
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/dsputil_init.c | 5 | ||||
-rw-r--r-- | libavcodec/x86/dsputil_x86.h | 3 | ||||
-rw-r--r-- | libavcodec/x86/dsputilenc_mmx.c | 3 |
3 files changed, 4 insertions, 7 deletions
diff --git a/libavcodec/x86/dsputil_init.c b/libavcodec/x86/dsputil_init.c index 137f9258ad..77d0d0e7f8 100644 --- a/libavcodec/x86/dsputil_init.c +++ b/libavcodec/x86/dsputil_init.c @@ -24,9 +24,8 @@ #include "libavcodec/dsputil.h" #include "dsputil_x86.h" -av_cold void ff_dsputil_init_x86(DSPContext *c, AVCodecContext *avctx, - unsigned high_bit_depth) +av_cold void ff_dsputil_init_x86(DSPContext *c, AVCodecContext *avctx) { if (CONFIG_ENCODERS) - ff_dsputilenc_init_mmx(c, avctx, high_bit_depth); + ff_dsputilenc_init_mmx(c, avctx); } diff --git a/libavcodec/x86/dsputil_x86.h b/libavcodec/x86/dsputil_x86.h index b6bddf2228..20cd3aad9b 100644 --- a/libavcodec/x86/dsputil_x86.h +++ b/libavcodec/x86/dsputil_x86.h @@ -27,8 +27,7 @@ #include "libavcodec/avcodec.h" #include "libavcodec/dsputil.h" -void ff_dsputilenc_init_mmx(DSPContext *c, AVCodecContext *avctx, - unsigned high_bit_depth); +void ff_dsputilenc_init_mmx(DSPContext *c, AVCodecContext *avctx); void ff_dsputil_init_pix_mmx(DSPContext *c, AVCodecContext *avctx); #endif /* AVCODEC_X86_DSPUTIL_X86_H */ diff --git a/libavcodec/x86/dsputilenc_mmx.c b/libavcodec/x86/dsputilenc_mmx.c index 5a7d911ca8..5a33b2fb19 100644 --- a/libavcodec/x86/dsputilenc_mmx.c +++ b/libavcodec/x86/dsputilenc_mmx.c @@ -813,8 +813,7 @@ hadamard_func(mmxext) hadamard_func(sse2) hadamard_func(ssse3) -av_cold void ff_dsputilenc_init_mmx(DSPContext *c, AVCodecContext *avctx, - unsigned high_bit_depth) +av_cold void ff_dsputilenc_init_mmx(DSPContext *c, AVCodecContext *avctx) { int cpu_flags = av_get_cpu_flags(); |