Commit 3468df1b authored by Jingning Han's avatar Jingning Han
Browse files

Make BLOCK_OFFSET marco operate in min tx_size

Change-Id: I99d3abd47480ebd73fc0034fac82663c003f7bb8
parent ac37fa3d
......@@ -421,7 +421,8 @@ typedef struct macroblockd_plane {
#define BLOCK_OFFSET(x, i) ((x) + (i)*16)
#define BLOCK_OFFSET(x, i) \
((x) + (i) * (1 << (tx_size_wide_log2[0] + tx_size_high_log2[0])))
typedef struct RefBuffer {
// TODO(dkovalev): idx is not really required and should be removed, now it
Supports Markdown
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