Lines Matching refs:bufreq
678 struct hfi_buffer_requirements bufreq; in vdec_output_conf() local
758 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_OUTPUT, &bufreq); in vdec_output_conf()
762 if (bufreq.size > inst->output_buf_size) in vdec_output_conf()
767 &bufreq); in vdec_output_conf()
771 if (bufreq.size > inst->output2_buf_size) in vdec_output_conf()
824 struct hfi_buffer_requirements bufreq; in vdec_num_buffers() local
829 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_INPUT, &bufreq); in vdec_num_buffers()
833 *in_num = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in vdec_num_buffers()
835 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_OUTPUT, &bufreq); in vdec_num_buffers()
839 *out_num = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in vdec_num_buffers()
942 struct hfi_buffer_requirements bufreq; in vdec_verify_conf() local
948 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_OUTPUT, &bufreq); in vdec_verify_conf()
952 if (inst->num_output_bufs < bufreq.count_actual || in vdec_verify_conf()
953 inst->num_output_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) in vdec_verify_conf()
956 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_INPUT, &bufreq); in vdec_verify_conf()
960 if (inst->num_input_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) in vdec_verify_conf()