Searched refs:bufreq (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/media/platform/qcom/venus/ |
A D | hfi_plat_bufs_v6.c | 1219 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 D | hfi_msgs.c | 33 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 D | vdec_ctrls.c | 53 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 D | hfi_helper.h | 1134 #define HFI_BUFREQ_HOLD_COUNT(bufreq, ver) \ argument 1135 ((ver) == HFI_VERSION_4XX ? 0 : (bufreq)->hold_count) 1136 #define HFI_BUFREQ_COUNT_MIN(bufreq, ver) \ argument 1137 ((ver) == HFI_VERSION_4XX ? (bufreq)->hold_count : (bufreq)->count_min) 1138 #define HFI_BUFREQ_COUNT_MIN_HOST(bufreq, ver) \ argument 1139 ((ver) == HFI_VERSION_4XX ? (bufreq)->count_min : 0)
|
A D | hfi_platform.h | 55 int (*bufreq)(struct hfi_plat_buffers_params *params, u32 session_type, member 56 u32 buftype, struct hfi_buffer_requirements *bufreq);
|
A D | vdec.c | 678 struct hfi_buffer_requirements bufreq; in vdec_output_conf() local 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() 839 *out_num = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in vdec_num_buffers() 942 struct hfi_buffer_requirements bufreq; in vdec_verify_conf() local 952 if (inst->num_output_bufs < bufreq.count_actual || in vdec_verify_conf() [all …]
|
A D | helpers.c | 151 struct hfi_buffer_requirements bufreq; in venus_helper_alloc_dpb_bufs() local 176 count = HFI_BUFREQ_COUNT_MIN(&bufreq, ver); in venus_helper_alloc_dpb_bufs() 221 struct hfi_buffer_requirements bufreq; in intbufs_set_buffer() local 227 ret = venus_helper_get_bufreq(inst, type, &bufreq); in intbufs_set_buffer() 231 if (!bufreq.size) in intbufs_set_buffer() 234 for (i = 0; i < bufreq.count_actual; i++) { in intbufs_set_buffer() 241 buf->type = bufreq.type; in intbufs_set_buffer() 242 buf->size = bufreq.size; in intbufs_set_buffer() 613 if (!hfi_plat || !hfi_plat->bufreq) in platform_get_bufreq() 674 if (hprop.bufreq[i].type != type) in venus_helper_get_bufreq() [all …]
|
A D | venc.c | 952 struct hfi_buffer_requirements bufreq; in venc_out_num_buffers() local 955 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_INPUT, &bufreq); in venc_out_num_buffers() 959 *num = bufreq.count_actual; in venc_out_num_buffers() 1106 struct hfi_buffer_requirements bufreq; in venc_verify_conf() local 1112 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_OUTPUT, &bufreq); in venc_verify_conf() 1116 if (inst->num_output_bufs < bufreq.count_actual || in venc_verify_conf() 1117 inst->num_output_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) in venc_verify_conf() 1120 ret = venus_helper_get_bufreq(inst, HFI_BUFFER_INPUT, &bufreq); in venc_verify_conf() 1124 if (inst->num_input_bufs < bufreq.count_actual || in venc_verify_conf() 1125 inst->num_input_bufs < HFI_BUFREQ_COUNT_MIN(&bufreq, ver)) in venc_verify_conf()
|
A D | hfi_plat_bufs.h | 36 u32 buftype, struct hfi_buffer_requirements *bufreq);
|
A D | hfi.h | 48 struct hfi_buffer_requirements bufreq[HFI_BUFFER_TYPE_MAX]; member
|
A D | hfi_platform_v6.c | 331 .bufreq = hfi_plat_bufreq_v6,
|
Completed in 32 milliseconds