Merge "Include space for chroma in the padding allocated in ih264e_get_total_pic_buf_size"

This commit is contained in:
Lajos Molnar 2015-06-03 15:34:35 +00:00 committed by Gerrit Code Review
commit 3332771624

View file

@ -366,7 +366,7 @@ WORD32 ih264e_get_total_pic_buf_size(WORD32 pic_size,
size = num_samples * max_num_bufs;
/* Account for padding area */
size += ((pad * pad) + pad * (max_wd + min_ht)) * max_num_bufs;
size += ((pad * pad) + pad * (max_wd + min_ht)) * 3 / 2 * max_num_bufs;
return size;
}