commit | 904fd1827662f40b2ed50562ab47aa229f403215 | [log] [tgz] |
---|---|---|
author | Jingning Han <jingning@google.com> | Wed Jan 11 15:03:28 2017 -0800 |
committer | Jingning Han <jingning@google.com> | Thu Jan 12 00:40:03 2017 +0000 |
tree | 9946f650e2abbd8f046a6cf8d66f236cfe6d4dfc | |
parent | c7ea761fe303bf8805396044bf601bf436a75018 [diff] |
Make av1_update_txb_coeff_cost() check condition support cb4x4 Replace hard coded numbers with macro defs. Change-Id: I125ef4e4c8c3aead182c583522450626b730bbb3
diff --git a/av1/encoder/rdopt.h b/av1/encoder/rdopt.h index 8d1df95..301e5aa 100644 --- a/av1/encoder/rdopt.h +++ b/av1/encoder/rdopt.h
@@ -48,8 +48,8 @@ } #endif - assert(blk_row < 16); - assert(blk_col < 16); + assert(blk_row < TXB_COEFF_COST_MAP_SIZE); + assert(blk_col < TXB_COEFF_COST_MAP_SIZE); } #endif