diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2015-09-28 13:59:23 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-10-02 04:38:40 +0200 |
commit | 562ba4a827ceb9ed5b7d056484a9c2312a5458c5 (patch) | |
tree | 756de8e3459acfdf786f1f5343b5346757c8c491 /libavcodec/mips | |
parent | acdd6725065b4b71723a2c40c0fca9d69b8780cf (diff) | |
download | ffmpeg-562ba4a827ceb9ed5b7d056484a9c2312a5458c5.tar.gz |
blockdsp: remove high bitdepth parameter
It is only (mis-)used to set the dsp fucntions clear_block(s). But
these functions always work on 16bits-wide elements, which make
the parameter useless and actually harmful, as it causes all content
on more than 8-bits to not use accelerated functions.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mips')
-rw-r--r-- | libavcodec/mips/blockdsp_init_mips.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/libavcodec/mips/blockdsp_init_mips.c b/libavcodec/mips/blockdsp_init_mips.c index 2278613009..30ae95fa10 100644 --- a/libavcodec/mips/blockdsp_init_mips.c +++ b/libavcodec/mips/blockdsp_init_mips.c @@ -22,8 +22,7 @@ #include "blockdsp_mips.h" #if HAVE_MSA -static av_cold void blockdsp_init_msa(BlockDSPContext *c, - unsigned high_bit_depth) +static av_cold void blockdsp_init_msa(BlockDSPContext *c) { c->clear_block = ff_clear_block_msa; c->clear_blocks = ff_clear_blocks_msa; @@ -34,8 +33,7 @@ static av_cold void blockdsp_init_msa(BlockDSPContext *c, #endif // #if HAVE_MSA #if HAVE_MMI -static av_cold void blockdsp_init_mmi(BlockDSPContext *c, - unsigned high_bit_depth) +static av_cold void blockdsp_init_mmi(BlockDSPContext *c) { c->clear_block = ff_clear_block_mmi; c->clear_blocks = ff_clear_blocks_mmi; @@ -45,12 +43,12 @@ static av_cold void blockdsp_init_mmi(BlockDSPContext *c, } #endif /* HAVE_MMI */ -void ff_blockdsp_init_mips(BlockDSPContext *c, unsigned high_bit_depth) +void ff_blockdsp_init_mips(BlockDSPContext *c) { #if HAVE_MSA - blockdsp_init_msa(c, high_bit_depth); + blockdsp_init_msa(c); #endif // #if HAVE_MSA #if HAVE_MMI - blockdsp_init_mmi(c, high_bit_depth); + blockdsp_init_mmi(c); #endif /* HAVE_MMI */ } |