Commit 7ca05c8c authored by David Michael Barr's avatar David Michael Barr
Browse files

Use SSE for CDEF RDO with --tune=Psnr

parent 3647171e
......@@ -1119,7 +1119,7 @@ pub fn rdo_cdef_decision(sbo: &SuperBlockOffset, fi: &FrameInvariants,
let xdec = in_plane.cfg.xdec;
let ydec = in_plane.cfg.ydec;
if p==0 {
if p==0 && fi.config.tune == Tune::Psychovisual {
err += cdef_dist_wxh_8x8(&in_slice, &out_slice, fi.sequence.bit_depth);
} else {
err += sse_wxh(&in_slice, &out_slice, 8>>xdec, 8>>ydec);
......
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