Disable CV_SIMD_SCALABLE for demosaicing as the implementation is not efficient on RISC-V RVV.

This commit is contained in:
Alexander Smorkalov 2025-03-07 16:24:20 +03:00
parent 648424eaf2
commit 40843d06ab

View File

@ -129,7 +129,7 @@ public:
static int bayer2Gray(const uchar* bayer, int bayer_step, uchar* dst, static int bayer2Gray(const uchar* bayer, int bayer_step, uchar* dst,
int width, int bcoeff, int gcoeff, int rcoeff) int width, int bcoeff, int gcoeff, int rcoeff)
{ {
#if CV_SIMD || CV_SIMD_SCALABLE #if CV_SIMD
#if CV_NEON #if CV_NEON
uint16x8_t masklo = vdupq_n_u16(255); uint16x8_t masklo = vdupq_n_u16(255);
const uchar* bayer_end = bayer + width; const uchar* bayer_end = bayer + width;