summaryrefslogtreecommitdiff
path: root/libavcodec/alpha
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2015-09-28 13:59:23 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-10-02 04:38:40 +0200
commit562ba4a827ceb9ed5b7d056484a9c2312a5458c5 (patch)
tree756de8e3459acfdf786f1f5343b5346757c8c491 /libavcodec/alpha
parentacdd6725065b4b71723a2c40c0fca9d69b8780cf (diff)
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/alpha')
-rw-r--r--libavcodec/alpha/blockdsp_alpha.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/alpha/blockdsp_alpha.c b/libavcodec/alpha/blockdsp_alpha.c
index ded439d842..d8b6f8a145 100644
--- a/libavcodec/alpha/blockdsp_alpha.c
+++ b/libavcodec/alpha/blockdsp_alpha.c
@@ -43,9 +43,7 @@ static void clear_blocks_axp(int16_t *blocks) {
} while (n);
}
-av_cold void ff_blockdsp_init_alpha(BlockDSPContext *c, unsigned high_bit_depth)
+av_cold void ff_blockdsp_init_alpha(BlockDSPContext *c)
{
- if (!high_bit_depth) {
c->clear_blocks = clear_blocks_axp;
- }
}