Commit 44d7ffb7 authored by Yushin Cho's avatar Yushin Cho Committed by Yushin Cho
Browse files

Disable transform partition for intra mode block

Until the two functons has_tr() and has_bl() is fixed to use partition type info
or add new two separate versions, disable intra tx partition.

Our existing has_tr() and has_bl() have been shared by both mvref and intra prediction uses,
and it works if partition size == tx block size.
However, it can fail if multiple tx blocks exist in a partition, due to missing logic
to decide the availability of top right and bottom left pixels based on partition type.

In the following commit, enable the disabled directional intra prediction
since it works if no tx partition is done.
parent c84872d7
......@@ -637,7 +637,8 @@ impl<T: Pixel> FrameInvariants<T> {
fi.ref_frames[i] = 0;
fi.tx_mode_select = fi.config.speed_settings.rdo_tx_decision;
// Until has_tr() and has_bl() is fixed to use partition info, disable intra tx partition
fi.tx_mode_select = false;
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