Commit 6a11a680 authored by Luc Trudeau's avatar Luc Trudeau

[CFL] Avoid Padding Multiple times

The buffer width and height are updated after adding to padding data to
the CfL buffer. This way, padding is not repeated. This change does not
alter the bitstream

Change-Id: I7e709fc4e18b03a516b1345099b334c9d33d71aa
parent 1512fa97
......@@ -103,6 +103,7 @@ static void cfl_load(CFL_CTX *cfl, int row, int col, int width, int height) {
}
output_row_offset += MAX_SB_SIZE;
}
cfl->y_width = uv_width << sub_x;
}
if (diff_height > 0) {
......@@ -115,6 +116,7 @@ static void cfl_load(CFL_CTX *cfl, int row, int col, int width, int height) {
}
output_row_offset += MAX_SB_SIZE;
}
cfl->y_height = uv_height << sub_y;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment