Commit 856d1798 authored by Nathan E. Egge's avatar Nathan E. Egge Committed by Nathan Egge
Browse files

Fix bug when enabling 32-point DST in daala_tx.

Change-Id: I567420e45f54cfe991065614d0a8c0c4d637e116
parent 10a0380a
......@@ -1240,8 +1240,12 @@ static INLINE TX_TYPE av1_get_tx_type(PLANE_TYPE plane_type,
return DCT_DCT;
}
#endif // CONFIG_MRC_TX
#if CONFIG_DAALA_TX32
if (xd->lossless[mbmi->segment_id] || txsize_sqr_map[tx_size] > TX_32X32)
#else
if (xd->lossless[mbmi->segment_id] || txsize_sqr_map[tx_size] > TX_32X32 ||
(txsize_sqr_map[tx_size] >= TX_32X32 && !is_inter_block(mbmi)))
#endif
return DCT_DCT;
if (plane_type == PLANE_TYPE_Y) {
#if !ALLOW_INTRA_EXT_TX
......
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