ext-intra vs nextgenv2 baseline:
derflr +1.12% (was +1.06%)
hevcmr +2.26% (was +2.15%)
Change-Id: I6cc7612d0d7e81e200aa962988db1ea7680626d7
y = r * 256 - x * dy;
base = y >> 8;
shift = y - base * 256;
- if (base < bs - 1) {
+ if (base < 2 * bs - 1) {
val =
(left[base] * (256 - shift) + left[base + 1] * shift + 128) >> 8;
dst[c] = clip_pixel(val);
y = r * 256 - x * dy;
base = y >> 8;
shift = y - base * 256;
- if (base < bs - 1) {
+ if (base < 2 * bs - 1) {
val =
(left[base] * (256 - shift) + left[base + 1] * shift + 128) >> 8;
dst[c] = clip_pixel_highbd(val, bd);