Commit 26303146 authored by Debargha Mukherjee's avatar Debargha Mukherjee

Turn LOWPRECISION_PRECISION off by default

It was left on mistakenly in a previous patch.

Change-Id: Ice2857740088517db7d91076b81830220a7b6dbc
parent c3bb0189
......@@ -457,13 +457,11 @@ void av1_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst0,
res += y_filter[k] * src[(y - fo_vert + k) * src_stride + x];
}
#if CONFIG_LOWPRECISION_BLEND
if (bits >= 0)
res *= (1 << bits);
else
if (bits < 0)
res = ROUND_POWER_OF_TWO(res, bits);
#else
res *= (1 << bits);
else
#endif // CONFIG_LOWPRECISION_BLEND
res *= (1 << bits);
if (conv_params->do_average)
dst[y * dst_stride + x] += res;
else
......@@ -748,13 +746,11 @@ void av1_jnt_convolve_y_c(const uint8_t *src, int src_stride, uint8_t *dst0,
res += y_filter[k] * src[(y - fo_vert + k) * src_stride + x];
}
#if CONFIG_LOWPRECISION_BLEND
if (bits >= 0)
res *= (1 << bits);
else
if (bits < 0)
res = ROUND_POWER_OF_TWO(res, bits);
#else
res *= (1 << bits);
else
#endif // CONFIG_LOWPRECISION_BLEND
res *= (1 << bits);
if (conv_params->use_jnt_comp_avg) {
if (conv_params->do_average) {
dst[y * dst_stride + x] += res * conv_params->bck_offset;
......
......@@ -129,7 +129,7 @@ set(CONFIG_LOOPFILTERING_ACROSS_TILES 1 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_LOOPFILTERING_ACROSS_TILES_EXT 1 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_LOOPFILTER_LEVEL 1 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_LOOP_RESTORATION 1 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_LOWPRECISION_BLEND 1 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_LOWPRECISION_BLEND 0 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_LV_MAP 1 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_MAX_TILE 1 CACHE NUMBER "AV1 experiment flag.")
set(CONFIG_MFMV 1 CACHE NUMBER "AV1 experiment flag.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment