pub fn compute_buffer_psnr(a: &[u8], b: &[u8]) -> f64
Quick check: compute PSNR between two u8 buffers.