Lines Matching refs:bufreq
649 struct hfi_buffer_requirements bufreq; in vdec_output_conf() local
725 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_OUTPUT, &bufreq); in vdec_output_conf()
729 if (bufreq.size > inst->output_buf_size) in vdec_output_conf()
734 &bufreq); in vdec_output_conf()
738 if (bufreq.size > inst->output2_buf_size) in vdec_output_conf()
795 struct hfi_buffer_requirements bufreq; in vdec_num_buffers() local
800 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_INPUT, &bufreq); in vdec_num_buffers()
804 *in_num = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in vdec_num_buffers()
806 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_OUTPUT, &bufreq); in vdec_num_buffers()
810 *out_num = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in vdec_num_buffers()
902 struct hfi_buffer_requirements bufreq; in vdec_verify_conf() local
908 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_OUTPUT, &bufreq); in vdec_verify_conf()
912 if (inst->num_output_bufs < bufreq.count_actual || in vdec_verify_conf()
913 inst->num_output_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) in vdec_verify_conf()
916 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_INPUT, &bufreq); in vdec_verify_conf()
920 if (inst->num_input_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) in vdec_verify_conf()