Lines Matching refs:bufreq
705 struct hfi_buffer_requirements bufreq; in vdec_output_conf() local
785 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_OUTPUT, &bufreq); in vdec_output_conf()
789 if (bufreq.size > inst->output_buf_size) in vdec_output_conf()
794 &bufreq); in vdec_output_conf()
798 if (bufreq.size > inst->output2_buf_size) in vdec_output_conf()
851 struct hfi_buffer_requirements bufreq; in vdec_num_buffers() local
856 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_INPUT, &bufreq); in vdec_num_buffers()
860 *in_num = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in vdec_num_buffers()
862 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_OUTPUT, &bufreq); in vdec_num_buffers()
866 *out_num = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in vdec_num_buffers()
969 struct hfi_buffer_requirements bufreq; in vdec_verify_conf() local
975 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_OUTPUT, &bufreq); in vdec_verify_conf()
979 if (inst->num_output_bufs < bufreq.count_actual || in vdec_verify_conf()
980 inst->num_output_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) in vdec_verify_conf()
983 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_INPUT, &bufreq); in vdec_verify_conf()
987 if (inst->num_input_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) in vdec_verify_conf()