Commit 65cf783b authored by Luca Barbato's avatar Luca Barbato Committed by Luca Barbato

Move the 422 mode_decision workaround next to the others

parent 25ab2b2c
......@@ -487,6 +487,10 @@ impl Config {
config.max_key_frame_interval = 1;
config.min_key_frame_interval = 1;
}
// FIXME: tx partition for intra not supported for chroma 422
if chroma_sampling == ChromaSampling::Cs422 {
config.speed_settings.rdo_tx_decision = false;
}
Context {
inner: ContextInner {
......
......@@ -700,10 +700,6 @@ impl<T: Pixel> FrameInvariants<T> {
}
fi.tx_mode_select = fi.config.speed_settings.rdo_tx_decision;
// FIXME: tx partition for intra not supported for chroma 422
if fi.tx_mode_select && 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