Clean up pvq experimental flag in encode_block_pass1()
Remove redundant #if statements there.
Change-Id: If6e6000c76899b0c3072e741a22bc3efa7d33739
diff --git a/av1/encoder/encodemb.c b/av1/encoder/encodemb.c
index dfde235..b9c5e03 100644
--- a/av1/encoder/encodemb.c
+++ b/av1/encoder/encodemb.c
@@ -1029,8 +1029,6 @@
if (p->eobs[block] > 0) {
#else
if (!x->pvq_skip[plane]) {
-#endif
-#if CONFIG_PVQ
{
int tx_blk_size;
int i, j;
@@ -1044,7 +1042,6 @@
for (j = 0; j < tx_blk_size; j++)
for (i = 0; i < tx_blk_size; i++) dst[j * pd->dst.stride + i] = 0;
}
-#endif
#if CONFIG_AOM_HIGHBITDEPTH
if (xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) {
if (xd->lossless[xd->mi[0]->mbmi.segment_id]) {
@@ -1056,7 +1053,8 @@
}
return;
}
-#endif // CONFIG_AOM_HIGHBITDEPTH
+#endif // CONFIG_AOM_HIGHBITDEPTH
+#endif // !CONFIG_PVQ
if (xd->lossless[xd->mi[0]->mbmi.segment_id]) {
av1_iwht4x4_add(dqcoeff, dst, pd->dst.stride, p->eobs[block]);
} else {