ext-intra experiment: exploit left-bottom bundary
ext-intra vs nextgenv2 baseline: derflr +1.12% (was +1.06%) hevcmr +2.26% (was +2.15%) Change-Id: I6cc7612d0d7e81e200aa962988db1ea7680626d7
This commit is contained in:
@@ -338,7 +338,7 @@ static void dr_prediction_z3(uint8_t *dst, ptrdiff_t stride, int bs,
|
||||
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);
|
||||
@@ -625,7 +625,7 @@ static void highbd_dr_prediction_z3(uint16_t *dst, ptrdiff_t stride, int bs,
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user