mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
Merge "msm: vidc: allocate max input buffer size for specific video hardware"
This commit is contained in:
commit
5de76995c3
1 changed files with 1 additions and 1 deletions
|
|
@ -910,7 +910,7 @@ u32 msm_vidc_calculate_dec_input_frame_size(struct msm_vidc_inst *inst)
|
|||
* For targets that doesn't support 4k, consider max mb's for that
|
||||
* target and allocate max input buffer size for the same
|
||||
*/
|
||||
if (base_res_mbs > inst->capability.cap[CAP_MBS_PER_FRAME].max) {
|
||||
if (inst->core->platform_data->vpu_ver == VPU_VERSION_AR50_LITE) {
|
||||
base_res_mbs = inst->capability.cap[CAP_MBS_PER_FRAME].max;
|
||||
div_factor = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue