From 85029fc2ca8d381442a73c549aea30bad813d688 Mon Sep 17 00:00:00 2001 From: siivonek Date: Thu, 22 Sep 2022 16:49:09 +0300 Subject: [PATCH] [isp] Remove unnecessary code from forward dct 32. --- src/strategies/generic/dct-generic.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/strategies/generic/dct-generic.c b/src/strategies/generic/dct-generic.c index db725359..1e7c796c 100644 --- a/src/strategies/generic/dct-generic.c +++ b/src/strategies/generic/dct-generic.c @@ -1435,11 +1435,6 @@ static void fastForwardDCT2_B32(const int16_t* src, int16_t* dst, int32_t shift, dst += line; } } - if (skip_line2) { - const int reduced_line = line - skip_line2; - dst = p_coef + reduced_line * 32; - memset(dst, 0, skip_line2 * 32 * sizeof(coeff_t)); - } } static void fastInverseDCT2_B32(const int16_t* src, int16_t* dst, int32_t shift, int line, int skip_line, int skip_line2)