diff options
Diffstat (limited to 'vp10/encoder/encoder.h')
-rw-r--r-- | vp10/encoder/encoder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vp10/encoder/encoder.h b/vp10/encoder/encoder.h index 6f3f7113c..2bf0be367 100644 --- a/vp10/encoder/encoder.h +++ b/vp10/encoder/encoder.h @@ -572,8 +572,8 @@ static INLINE int get_token_alloc(int mb_rows, int mb_cols) { // 32x32 transform crossing a boundary at a multiple of 16. // mb_rows, cols are in units of 16 pixels. We assume 3 planes all at full // resolution. We assume up to 1 token per pixel, and then allow - // a head room of 4. - return mb_rows * mb_cols * (16 * 16 * 3 + 4); + // a head room of 1 EOSB token per 8x8 block per plane. + return mb_rows * mb_cols * (16 * 16 + 4) * 3; } // Get the allocated token size for a tile. It does the same calculation as in |