Commit 1c247974 authored by Urvang Joshi's avatar Urvang Joshi

av1_has_bottom() Bugfix.

This function was incorrectly using transform width instead of height.
The bug wasn't caught yet, because all calls to this function currently
use square transform sizes only.

Change-Id: Id206c64aa26a8deecbbf90844220ad2f93230c15
parent 859931ed
......@@ -485,7 +485,7 @@ static int av1_has_bottom(BLOCK_SIZE bsize, int mi_row, int mi_col,
const int hl = mi_height_log2_lookup[bsize];
const int height = block_size_high[bsize] >> tx_size_high_log2[0];
const int h = AOMMAX(height >> ss_y, 1);
const int step = tx_size_wide_unit[txsz];
const int step = tx_size_high_unit[txsz];
const uint16_t *order = orders[bsize];
int my_order, bl_order;
......
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