Merge "video: driver: align buffer hfi interface file with CI: 29135164"

This commit is contained in:
qctecmdr
2021-03-04 15:25:10 -08:00
committed by Gerrit - the friendly Code Review server
2 changed files with 27 additions and 18 deletions

View File

@@ -267,9 +267,11 @@ static u32 msm_vidc_encoder_bin_size_iris2(struct msm_vidc_inst *inst)
height = f->fmt.pix_mp.height;
if (inst->codec == MSM_VIDC_H264)
HFI_BUFFER_BIN_H264E(size, width, height, stage, num_vpp_pipes);
HFI_BUFFER_BIN_H264E(size, inst->hfi_rc_type, width,
height, stage, num_vpp_pipes);
else if (inst->codec == MSM_VIDC_HEVC)
HFI_BUFFER_BIN_H265E(size, width, height, stage, num_vpp_pipes);
HFI_BUFFER_BIN_H265E(size, inst->hfi_rc_type, width,
height, stage, num_vpp_pipes);
i_vpr_l(inst, "%s: size %d\n", __func__, size);
return size;