aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/blockdsp.h
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/blockdsp.h
parentacdd6725065b4b71723a2c40c0fca9d69b8780cf (diff)
downloadffmpeg-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/blockdsp.h')
-rw-r--r--libavcodec/blockdsp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/blockdsp.h b/libavcodec/blockdsp.h
index 654ecdc3d8..dddac72cf8 100644
--- a/libavcodec/blockdsp.h
+++ b/libavcodec/blockdsp.h
@@ -40,11 +40,11 @@ typedef struct BlockDSPContext {
void ff_blockdsp_init(BlockDSPContext *c, AVCodecContext *avctx);
-void ff_blockdsp_init_alpha(BlockDSPContext *c, unsigned high_bit_depth);
-void ff_blockdsp_init_arm(BlockDSPContext *c, unsigned high_bit_depth);
-void ff_blockdsp_init_ppc(BlockDSPContext *c, unsigned high_bit_depth);
-void ff_blockdsp_init_x86(BlockDSPContext *c, unsigned high_bit_depth,
+void ff_blockdsp_init_alpha(BlockDSPContext *c);
+void ff_blockdsp_init_arm(BlockDSPContext *c);
+void ff_blockdsp_init_ppc(BlockDSPContext *c);
+void ff_blockdsp_init_x86(BlockDSPContext *c,
AVCodecContext *avctx);
-void ff_blockdsp_init_mips(BlockDSPContext *c, unsigned high_bit_depth);
+void ff_blockdsp_init_mips(BlockDSPContext *c);
#endif /* AVCODEC_BLOCKDSP_H */