Avoid divisions at decoder side in supertx
Change-Id: I3c52a4759780d987d045bb7b34a27ee9f7f55117
This commit is contained in:
Родитель
9353124fe8
Коммит
863694a436
|
@ -832,7 +832,7 @@ static void dec_extend_dir(AV1Decoder *const pbi, MACROBLOCKD *const xd,
|
||||||
if (mi_width > unit) {
|
if (mi_width > unit) {
|
||||||
int i;
|
int i;
|
||||||
assert(!b_sub8x8);
|
assert(!b_sub8x8);
|
||||||
for (i = 0; i < mi_width / unit - 1; i++) {
|
for (i = 0; i < mi_width; i += unit) {
|
||||||
mi_col_pred += unit;
|
mi_col_pred += unit;
|
||||||
dec_predict_b_extend(pbi, xd, tile, block, mi_row, mi_col, mi_row_pred,
|
dec_predict_b_extend(pbi, xd, tile, block, mi_row, mi_col, mi_row_pred,
|
||||||
mi_col_pred, mi_row_top, mi_col_top, dst_buf,
|
mi_col_pred, mi_row_top, mi_col_top, dst_buf,
|
||||||
|
@ -853,7 +853,7 @@ static void dec_extend_dir(AV1Decoder *const pbi, MACROBLOCKD *const xd,
|
||||||
|
|
||||||
if (mi_height > unit) {
|
if (mi_height > unit) {
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < mi_height / unit - 1; i++) {
|
for (i = 0; i < mi_height; i += unit) {
|
||||||
mi_row_pred += unit;
|
mi_row_pred += unit;
|
||||||
dec_predict_b_extend(pbi, xd, tile, block, mi_row, mi_col, mi_row_pred,
|
dec_predict_b_extend(pbi, xd, tile, block, mi_row, mi_col, mi_row_pred,
|
||||||
mi_col_pred, mi_row_top, mi_col_top, dst_buf,
|
mi_col_pred, mi_row_top, mi_col_top, dst_buf,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче