Commit a10ac514 authored by Thomas Daede's avatar Thomas Daede

Refactor idct4x4_add parameters.

parent e25b8c5e
......@@ -255,7 +255,7 @@ fn write_sb(cw: &mut ContextWriter, fi: &FrameInvariants, fs: &mut FrameState, s
//reconstruct
let mut rcoeffs = [0 as i32; 16];
dequantize(fi.qindex, &coeffs, &mut rcoeffs);
idct4x4_add(&mut rcoeffs, &mut fs.rec.planes[0].data[(sby*64+by*4)*stride+sbx*64+bx*4..fi.sb_width*fi.sb_height*64*64], stride);
idct4x4_add(&mut rcoeffs, &mut fs.rec.planes[0].data[u*stride+x..fi.sb_width*fi.sb_height*64*64], stride);
}
}
}
......
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