Home
last modified time | relevance | path

Searched refs:bufreq (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/drivers/media/platform/qcom/venus/
A Dhfi_plat_bufs_v6.c1219 bufreq->type = buftype; in bufreq_dec()
1221 bufreq->count_min = 1; in bufreq_dec()
1223 bufreq->hold_count = 1; in bufreq_dec()
1224 bufreq->contiguous = 1; in bufreq_dec()
1229 bufreq->size = in bufreq_dec()
1236 bufreq->size = in bufreq_dec()
1248 bufreq->size = 0; in bufreq_dec()
1287 bufreq->count_min = 1; in bufreq_enc()
1295 bufreq->size = in bufreq_enc()
1300 bufreq->count_min = in bufreq_enc()
[all …]
A Dhfi_msgs.c33 struct hfi_buffer_requirements *bufreq; in event_seq_changed() local
101 bufreq = (struct hfi_buffer_requirements *)data_ptr; in event_seq_changed()
102 event.buf_count = HFI_BUFREQ_COUNT_MIN(bufreq, ver); in event_seq_changed()
103 data_ptr += sizeof(*bufreq); in event_seq_changed()
357 struct hfi_buffer_requirements *bufreq) in session_get_prop_buf_req() argument
374 memcpy(&bufreq[idx], buf_req, sizeof(*bufreq)); in session_get_prop_buf_req()
403 memset(hprop->bufreq, 0, sizeof(hprop->bufreq)); in hfi_session_prop_info()
404 error = session_get_prop_buf_req(pkt, hprop->bufreq); in hfi_session_prop_info()
A Dvdec_ctrls.c53 struct hfi_buffer_requirements bufreq; in vdec_op_g_volatile_ctrl() local
80 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_OUTPUT, &bufreq); in vdec_op_g_volatile_ctrl()
82 ctrl->val = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in vdec_op_g_volatile_ctrl()
A Dhfi_platform.h55 int (*bufreq)(struct hfi_plat_buffers_params *params, u32 session_type, member
56 u32 buftype, struct hfi_buffer_requirements *bufreq);
A Dhfi_helper.h1154 #define HFI_BUFREQ_HOLD_COUNT(bufreq, ver) \ argument
1155 ((ver) == HFI_VERSION_4XX ? 0 : (bufreq)->hold_count)
1156 #define HFI_BUFREQ_COUNT_MIN(bufreq, ver) \ argument
1157 ((ver) == HFI_VERSION_4XX ? (bufreq)->hold_count : (bufreq)->count_min)
1158 #define HFI_BUFREQ_COUNT_MIN_HOST(bufreq, ver) \ argument
1159 ((ver) == HFI_VERSION_4XX ? (bufreq)->count_min : 0)
A Dvdec.c705 struct hfi_buffer_requirements bufreq; in vdec_output_conf() local
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()
866 *out_num = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in vdec_num_buffers()
969 struct hfi_buffer_requirements bufreq; in vdec_verify_conf() local
979 if (inst->num_output_bufs < bufreq.count_actual || in vdec_verify_conf()
[all …]
A Dhelpers.c167 struct hfi_buffer_requirements bufreq; in venus_helper_alloc_dpb_bufs() local
192 count = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in venus_helper_alloc_dpb_bufs()
237 struct hfi_buffer_requirements bufreq; in intbufs_set_buffer() local
243 ret = venus_helper_get_bufreq(inst, type, &bufreq); in intbufs_set_buffer()
247 if (!bufreq.size) in intbufs_set_buffer()
250 for (i = 0; i < bufreq.count_actual; i++) { in intbufs_set_buffer()
257 buf->type = bufreq.type; in intbufs_set_buffer()
258 buf->size = bufreq.size; in intbufs_set_buffer()
633 if (!hfi_plat || !hfi_plat->bufreq) in platform_get_bufreq()
693 if (hprop.bufreq[i].type != type) in venus_helper_get_bufreq()
[all …]
A Dhfi_plat_bufs.h36 u32 buftype, struct hfi_buffer_requirements *bufreq);
A Dvenc.c969 struct hfi_buffer_requirements bufreq; in venc_out_num_buffers() local
972 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_INPUT, &bufreq); in venc_out_num_buffers()
976 *num = bufreq.count_actual; in venc_out_num_buffers()
1123 struct hfi_buffer_requirements bufreq; in venc_verify_conf() local
1129 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_OUTPUT, &bufreq); in venc_verify_conf()
1133 if (inst->num_output_bufs < bufreq.count_actual || in venc_verify_conf()
1134 inst->num_output_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) in venc_verify_conf()
1137 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_INPUT, &bufreq); in venc_verify_conf()
1141 if (inst->num_input_bufs < bufreq.count_actual || in venc_verify_conf()
1142 inst->num_input_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) in venc_verify_conf()
A Dvenc_ctrls.c353 struct hfi_buffer_requirements bufreq; in venc_op_g_volatile_ctrl() local
359 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_INPUT, &bufreq); in venc_op_g_volatile_ctrl()
361 ctrl->val = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in venc_op_g_volatile_ctrl()
A Dhfi.h48 struct hfi_buffer_requirements bufreq[HFI_BUFFER_TYPE_MAX]; member
A Dhfi_platform_v6.c331 .bufreq = hfi_plat_bufreq_v6,

Completed in 37 milliseconds