mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-30 20:16:42 +08:00
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>
This commit is contained in:
committed by
Michael Niedermayer
parent
acdd672506
commit
562ba4a827
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user