[10bit] Fix second instance of satd shifting based on bit depth

Already shifted in the base function
This commit is contained in:
Marko Viitanen 2024-08-14 11:26:25 +03:00
parent 67496d1874
commit cd65044000

View file

@ -504,7 +504,7 @@ unsigned uvg_image_calc_satd(const uvg_picture *pic,
pic_data, pic_data,
pic->stride, pic->stride,
ref_data, ref_data,
ref->stride) >> (UVG_BIT_DEPTH - 8); ref->stride);
} else { } else {
// Extrapolate pixels from outside the frame. // Extrapolate pixels from outside the frame.
@ -550,7 +550,7 @@ unsigned uvg_image_calc_satd(const uvg_picture *pic,
pic_data, pic_data,
pic->stride, pic->stride,
ext_origin, ext_origin,
ext_s) >> (UVG_BIT_DEPTH - 8); ext_s);
return satd; return satd;
} }