Temporarily revert some 4:2:2 code

As part of 9cf0c9cde7 the buffering was made
to better handle 4:2:2, but that causes regressions in the tests, so we're
backing out part of it for now.

Change-Id: I9ca4cfeb159aa65514613989e3dcbc30f86ec5b2
This commit is contained in:
Jean-Marc Valin 2017-04-02 11:52:43 -04:00
Родитель 5558e5da12
Коммит ec70797dc3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 5E5DD9A36F9189C8
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -203,7 +203,9 @@ void av1_cdef_frame(YV12_BUFFER_CONFIG *frame, AV1_COMMON *cm,
for (pli = 0; pli < nplanes; pli++) {
dec[pli] = xd->plane[pli].subsampling_x;
mi_wide_l2[pli] = MI_SIZE_LOG2 - xd->plane[pli].subsampling_x;
mi_high_l2[pli] = MI_SIZE_LOG2 - xd->plane[pli].subsampling_y;
// TODO(stemidts/jmvalin): We should use subsampling_y below but can't
// until we've properly fixed 4:2:2
mi_high_l2[pli] = MI_SIZE_LOG2 - xd->plane[pli].subsampling_x;
}
stride = (cm->mi_cols << MI_SIZE_LOG2) + 2 * OD_FILT_HBORDER;
for (pli = 0; pli < nplanes; pli++) {