mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
[10bit] Fix second instance of satd shifting based on bit depth
Already shifted in the base function
This commit is contained in:
parent
67496d1874
commit
cd65044000
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue