Remove unused variable quant_thread
Change-Id: I0e1954ca281df60e56c3b1a5dcd54c47c4256649
diff --git a/av1/encoder/block.h b/av1/encoder/block.h
index aa04389..c1c6b5b 100644
--- a/av1/encoder/block.h
+++ b/av1/encoder/block.h
@@ -57,8 +57,6 @@
#if CONFIG_NEW_QUANT
const cuml_bins_type_nuq *cuml_bins_nuq[QUANT_PROFILES];
#endif // CONFIG_NEW_QUANT
-
- int64_t quant_thred[2];
} MACROBLOCK_PLANE;
/* The [2] dimension is for whether we skip the EOB node (i.e. if previous
diff --git a/av1/encoder/quantize.c b/av1/encoder/quantize.c
index 975ab94..c58c048 100644
--- a/av1/encoder/quantize.c
+++ b/av1/encoder/quantize.c
@@ -1882,9 +1882,6 @@
}
#endif // CONFIG_NEW_QUANT
- x->plane[0].quant_thred[0] = x->plane[0].zbin[0] * x->plane[0].zbin[0];
- x->plane[0].quant_thred[1] = x->plane[0].zbin[1] * x->plane[0].zbin[1];
-
// UV
for (i = 1; i < 3; i++) {
x->plane[i].quant = quants->uv_quant[qindex];
@@ -1906,9 +1903,6 @@
xd->plane[i].dequant_val_nuq[dq] = cpi->uv_dequant_val_nuq[dq][qindex];
}
#endif // CONFIG_NEW_QUANT
-
- x->plane[i].quant_thred[0] = x->plane[i].zbin[0] * x->plane[i].zbin[0];
- x->plane[i].quant_thred[1] = x->plane[i].zbin[1] * x->plane[i].zbin[1];
}
x->skip_block = segfeature_active(&cm->seg, segment_id, SEG_LVL_SKIP);