Commit c51dc9f6 authored by Yushin Cho's avatar Yushin Cho Committed by Yushin Cho

Disable tx partition (intra) for 422 chroma mode

parent 6fb6ab1b
......@@ -649,7 +649,13 @@ impl<T: Pixel> FrameInvariants<T> {
for i in 0..INTER_REFS_PER_FRAME {
fi.ref_frames[i] = 0;
}
fi.tx_mode_select = false;
// FIXME: tx partition for intra not supported for chroma 422
if fi.tx_mode_select {
if fi.sequence.chroma_sampling == ChromaSampling::Cs422 { fi.tx_mode_select = false; }
}
fi
}
......
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