diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-08-08 21:47:20 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-09-22 09:47:52 +0200 |
commit | eea9857bfd6925d0c34382c00b971ee6df12ad44 (patch) | |
tree | 3c0ecc889c05a71709aca367a51ca4b75d8aa277 /libavcodec/arm | |
parent | 340f12f71207513672b5165d810cb6c8622c6b21 (diff) | |
download | ffmpeg-streaming-eea9857bfd6925d0c34382c00b971ee6df12ad44.zip ffmpeg-streaming-eea9857bfd6925d0c34382c00b971ee6df12ad44.tar.gz |
blockdsp: drop the high_bit_depth parameter
It has no effect, since the code is supposed to operate the same way for
any bit depth.
Diffstat (limited to 'libavcodec/arm')
-rw-r--r-- | libavcodec/arm/blockdsp_arm.h | 2 | ||||
-rw-r--r-- | libavcodec/arm/blockdsp_init_arm.c | 4 | ||||
-rw-r--r-- | libavcodec/arm/blockdsp_init_neon.c | 8 |
3 files changed, 6 insertions, 8 deletions
diff --git a/libavcodec/arm/blockdsp_arm.h b/libavcodec/arm/blockdsp_arm.h index 6d9c2c3..d26630e 100644 --- a/libavcodec/arm/blockdsp_arm.h +++ b/libavcodec/arm/blockdsp_arm.h @@ -21,6 +21,6 @@ #include "libavcodec/blockdsp.h" -void ff_blockdsp_init_neon(BlockDSPContext *c, unsigned high_bit_depth); +void ff_blockdsp_init_neon(BlockDSPContext *c); #endif /* AVCODEC_ARM_BLOCKDSP_ARM_H */ diff --git a/libavcodec/arm/blockdsp_init_arm.c b/libavcodec/arm/blockdsp_init_arm.c index a0c0367..a5db201 100644 --- a/libavcodec/arm/blockdsp_init_arm.c +++ b/libavcodec/arm/blockdsp_init_arm.c @@ -24,10 +24,10 @@ #include "libavcodec/blockdsp.h" #include "blockdsp_arm.h" -av_cold void ff_blockdsp_init_arm(BlockDSPContext *c, unsigned high_bit_depth) +av_cold void ff_blockdsp_init_arm(BlockDSPContext *c) { int cpu_flags = av_get_cpu_flags(); if (have_neon(cpu_flags)) - ff_blockdsp_init_neon(c, high_bit_depth); + ff_blockdsp_init_neon(c); } diff --git a/libavcodec/arm/blockdsp_init_neon.c b/libavcodec/arm/blockdsp_init_neon.c index 5081cf0..e285750 100644 --- a/libavcodec/arm/blockdsp_init_neon.c +++ b/libavcodec/arm/blockdsp_init_neon.c @@ -28,10 +28,8 @@ void ff_clear_block_neon(int16_t *block); void ff_clear_blocks_neon(int16_t *blocks); -av_cold void ff_blockdsp_init_neon(BlockDSPContext *c, unsigned high_bit_depth) +av_cold void ff_blockdsp_init_neon(BlockDSPContext *c) { - if (!high_bit_depth) { - c->clear_block = ff_clear_block_neon; - c->clear_blocks = ff_clear_blocks_neon; - } + c->clear_block = ff_clear_block_neon; + c->clear_blocks = ff_clear_blocks_neon; } |