mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "msm: vidc: Fix to allocate right scratch1 buffer size"
This commit is contained in:
commit
810c1db795
1 changed files with 1 additions and 1 deletions
|
|
@ -1680,7 +1680,7 @@ static inline u32 calculate_enc_scratch1_size(struct msm_vidc_inst *inst,
|
|||
override_buffer_size = ALIGN(override_buffer_size,
|
||||
VENUS_DMA_ALIGNMENT) * 2;
|
||||
ir_buffer_size = (((frame_num_lcu << 1) + 7) & (~7)) * 3;
|
||||
vpss_line_buf = ((((width_coded + 3) >> 2) << 5) + 256) * 16;
|
||||
vpss_line_buf = ((((max(width_coded, height_coded) + 3) >> 2) << 5) + 256) * 16;
|
||||
topline_bufsize_fe_1stg_sao = (16 * (width_coded >> 5));
|
||||
topline_bufsize_fe_1stg_sao = ALIGN(topline_bufsize_fe_1stg_sao,
|
||||
VENUS_DMA_ALIGNMENT);
|
||||
|
|
|
|||
Loading…
Reference in a new issue