Commit ff66244d authored by Raphaël Zumer's avatar Raphaël Zumer

Disable CfL with 4:2:2/4:4:4 sampling

parent 604982fc
......@@ -694,7 +694,8 @@ pub fn rdo_mode_decision(fi: &FrameInvariants, fs: &mut FrameState,
});
}
if best.mode_luma.is_intra() && is_chroma_block && bsize.cfl_allowed() {
if best.mode_luma.is_intra() && is_chroma_block && bsize.cfl_allowed() &&
fi.config.chroma_sampling == ChromaSampling::Cs420 { // FIXME: 4:2:2/4:4:4 unimplemented
let chroma_mode = PredictionMode::UV_CFL_PRED;
let cw_checkpoint = cw.checkpoint();
let wr: &mut dyn Writer = &mut WriterCounter::new();
......
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