| /rockchip-linux_mpp/mpp/vproc/vdpp/ |
| H A D | vdpp_api.c | 16 vdpp_com_ops *ops = mpp_calloc(vdpp_com_ops, 1); in rockchip_vdpp_api_alloc_ctx() local 19 if (NULL == com_ctx || NULL == ops) { in rockchip_vdpp_api_alloc_ctx() 20 mpp_err_f("failed to calloc com_ctx %p ops %p\n", com_ctx, ops); in rockchip_vdpp_api_alloc_ctx() 25 ops->init = vdpp2_init; in rockchip_vdpp_api_alloc_ctx() 26 ops->deinit = vdpp2_deinit; in rockchip_vdpp_api_alloc_ctx() 27 ops->control = vdpp2_control; in rockchip_vdpp_api_alloc_ctx() 28 ops->check_cap = vdpp2_check_cap; in rockchip_vdpp_api_alloc_ctx() 32 ops->init = vdpp_init; in rockchip_vdpp_api_alloc_ctx() 33 ops->deinit = vdpp_deinit; in rockchip_vdpp_api_alloc_ctx() 34 ops->control = vdpp_control; in rockchip_vdpp_api_alloc_ctx() [all …]
|
| H A D | hwpq_vdpp_proc.c | 381 ret |= vdpp->ops->control(vdpp->priv, VDPP_CMD_SET_DMSR_CFG, ¶ms); in vdpp_set_user_cfg() 386 ret |= vdpp->ops->control(vdpp->priv, VDPP_CMD_SET_ES, ¶ms); in vdpp_set_user_cfg() 391 ret |= vdpp->ops->control(vdpp->priv, VDPP_CMD_SET_DCI_HIST, ¶ms); in vdpp_set_user_cfg() 401 ret |= vdpp->ops->control(vdpp->priv, VDPP_CMD_SET_SHARP, ¶ms); in vdpp_set_user_cfg() 416 return ctx->ops->control(ctx->priv, cmd, &img); in vdpp_set_img() 594 if (NULL == vdpp || NULL == vdpp->ops) { in hwpq_vdpp_deinit() 600 if (vdpp->ops->deinit) { in hwpq_vdpp_deinit() 601 ret = vdpp->ops->deinit(vdpp->priv); in hwpq_vdpp_deinit() 649 if (NULL == vdpp || NULL == vdpp->ops) { in hwpq_vdpp_init() 672 if (vdpp->ops->init) { in hwpq_vdpp_init() [all …]
|
| /rockchip-linux_mpp/mpp/base/test/ |
| H A D | mpp_bit_test.c | 59 void proc_bit_ops(MppWriteCtx *writer, BitOps *ops) in proc_bit_ops() argument 61 switch (ops->type) { in proc_bit_ops() 63 mpp_writer_put_raw_bits(writer, ops->val, ops->len); in proc_bit_ops() 66 mpp_writer_put_bits(writer, ops->val, ops->len); in proc_bit_ops() 69 mpp_writer_put_ue(writer, ops->val); in proc_bit_ops() 72 mpp_writer_put_ue(writer, ops->val); in proc_bit_ops() 78 mpp_err("invalid ops type %d\n", ops->type); in proc_bit_ops()
|
| H A D | mpp_bit_read_test.c | 292 MPP_RET proc_bit_ops(BitReadCtx_t *ctx, BitOps *ops, RK_S32 *ret_val) in proc_bit_ops() argument 295 switch (ops->type) { in proc_bit_ops() 297 if (ops->len >= 32) { in proc_bit_ops() 298 READ_BITS_LONG(ctx, ops->len, ret_val); in proc_bit_ops() 300 READ_BITS(ctx, ops->len, ret_val); in proc_bit_ops() 310 if (ops->len >= 32) { in proc_bit_ops() 311 SKIP_BITS_LONG(ctx, ops->len); in proc_bit_ops() 313 SKIP_BITS(ctx, ops->len); in proc_bit_ops() 319 mpp_err("Read failed: syntax %s, %s, %d bits\n", ops->syntax, bitOpsStr[ops->type], ops->len); in proc_bit_ops() 322 if (ops->val != *ret_val) { in proc_bit_ops() [all …]
|
| /rockchip-linux_mpp/mpp/vproc/ |
| H A D | mpp_vproc_dev.c | 40 ctx->ops->release = dev_comp[i].put; in get_iep_ctx() 51 if (ictx->ops->release) in put_iep_ctx() 52 ictx->ops->release(ictx); in put_iep_ctx()
|
| H A D | mpp_dec_vproc.c | 230 MPP_RET ret = ctx->com_ctx->ops->control(ctx->iep_ctx, cmd, img); in dec_vproc_set_img() 242 ret = impl->com_ctx->ops->control(impl->iep_ctx, in dec_vproc_start_dei_v1() 247 ret = impl->com_ctx->ops->control(impl->iep_ctx, IEP_CMD_RUN_SYNC, &impl->dei_info); in dec_vproc_start_dei_v1() 260 ret = impl->com_ctx->ops->control(impl->iep_ctx, IEP_CMD_RUN_SYNC, &impl->dei_info); in dec_vproc_start_dei_v2() 284 ret = ctx->com_ctx->ops->control(ctx->iep_ctx, IEP_CMD_INIT, NULL); in dec_vproc_set_dei_v1() 289 ret = ctx->com_ctx->ops->control(ctx->iep_ctx, IEP_CMD_QUERY_CAP, &cap); in dec_vproc_set_dei_v1() 393 iep_com_ops *ops = ctx->com_ctx->ops; in dec_vproc_config_dei_v2() local 510 ops->control(ctx->iep_ctx, IEP_CMD_SET_DEI_CFG, ¶ms); in dec_vproc_config_dei_v2() 521 ops->control(ctx->iep_ctx, IEP_CMD_SET_DEI_CFG, ¶ms); in dec_vproc_config_dei_v2() 924 if (ctx->com_ctx->ops->reset) in dec_vproc_thread() [all …]
|
| /rockchip-linux_mpp/mpp/vproc/iep2/test/ |
| H A D | iep2_test.c | 191 MPP_RET ret = ctx->ops->control(ctx->priv, cmd, img); in iep2_test_set_img() 252 iep2->ops->init(&iep2->priv); in iep2_test() 280 iep2->ops->control(iep2->priv, IEP_CMD_SET_DEI_CFG, ¶ms); in iep2_test() 291 iep2->ops->control(iep2->priv, IEP_CMD_SET_DEI_CFG, ¶ms); in iep2_test() 323 iep2->ops->control(iep2->priv, IEP_CMD_RUN_SYNC, &dei_info); in iep2_test() 364 iep2->ops->deinit(iep2->priv); in iep2_test()
|
| /rockchip-linux_mpp/mpp/codec/enc/h264/ |
| H A D | h264e_slice.c | 122 info->ops[info->wr_cnt++] = *op; in h264e_reorder_wr_op() 131 *op = info->ops[info->rd_cnt++]; in h264e_reorder_rd_op() 173 info->ops[info->wr_cnt++] = *op; in h264e_marking_wr_op() 182 *op = info->ops[info->rd_cnt++]; in h264e_marking_rd_op() 361 H264eRplmo ops; in h264e_slice_read() local 368 ops.modification_of_pic_nums_idc = modification_of_pic_nums_idc; in h264e_slice_read() 379 ops.abs_diff_pic_num_minus1 = abs_diff_pic_num_minus1; in h264e_slice_read() 388 ops.long_term_pic_idx = long_term_pic_idx; in h264e_slice_read() 400 h264e_reorder_wr_op(slice->reorder, &ops); in h264e_slice_read() 401 memset(&ops, 0, sizeof(ops)); in h264e_slice_read()
|
| H A D | h264e_slice.h | 48 H264eRplmo ops[H264E_MAX_REFS_CNT]; member 86 H264eMmco ops[MAX_H264E_MMCO_CNT]; member
|
| /rockchip-linux_mpp/mpp/vproc/vdpp/test/ |
| H A D | vdpp_test.c | 216 MPP_RET ret = ctx->ops->control(ctx->priv, cmd, img); in vdpp_test_set_img() 304 vdpp->ops->init(&vdpp->priv); in vdpp_test() 332 vdpp->ops->control(vdpp->priv, VDPP_CMD_SET_COM2_CFG, ¶ms); in vdpp_test() 343 vdpp->ops->control(vdpp->priv, VDPP_CMD_SET_COM_CFG, ¶ms); in vdpp_test() 347 RK_S32 cap = vdpp->ops->check_cap(vdpp->priv); in vdpp_test() 370 vdpp->ops->control(vdpp->priv, VDPP_CMD_SET_HIST_FD, &fdhist); in vdpp_test() 375 if (vdpp->ops->control(vdpp->priv, VDPP_CMD_RUN_SYNC, NULL)) { in vdpp_test() 459 vdpp->ops->deinit(vdpp->priv); in vdpp_test()
|
| /rockchip-linux_mpp/mpp/codec/ |
| H A D | mpp_rc.c | 180 RC_PARAM_OPS ops, void *arg) in mpp_rc_param_ops() argument 199 switch (ops) { in mpp_rc_param_ops() 225 mpp_err("frame %d found invalid operation code %d\n", frm_cnt, ops); in mpp_rc_param_ops()
|
| /rockchip-linux_mpp/mpp/base/ |
| H A D | mpp_buffer_impl.c | 178 MppBufOps ops, rk_s32 ref_count, const char *caller) in buf_logs_write() argument 187 log->ops = ops; in buf_logs_write() 214 ops2str[log->ops], log->ref_count, log->caller); in buf_logs_dump() 216 mpp_log("group %3d ops %s\n", log->group_id, ops2str[log->ops]); in buf_logs_dump() 226 static void buf_add_log(MppBufferImpl *buffer, MppBufOps ops, const char* caller) in buf_add_log() argument 231 ops2str[ops], buffer->ref_count, caller); in buf_add_log() 235 ops, buffer->ref_count, caller); in buf_add_log() 238 static void buf_grp_add_log(MppBufferGroupImpl *group, MppBufOps ops, const char* caller) in buf_grp_add_log() argument 242 group->mode, group->type, ops2str[ops]); in buf_grp_add_log() 245 buf_logs_write(group->logs, group->group_id, -1, ops, 0, caller); in buf_grp_add_log()
|
| H A D | mpp_buf_slot.c | 167 MppBufSlotOps ops; member 544 log->ops = op; in buf_slot_logs_write() 567 log->index, op_string[log->ops], log->status_in.val, log->status_out.val); in buf_slot_logs_dump()
|
| /rockchip-linux_mpp/osal/ |
| H A D | mpp_mem.c | 104 MppMemOps ops; member 226 log->index, ops2str[log->ops], log->caller, in mpp_mem_srv_dump() 335 static void add_log(MppMemSrv *srv, MppMemOps ops, const char *caller, void *ptr, in add_log() argument 342 ops2str[ops], ptr, ret, size_0, size_1, caller); in add_log() 345 log->ops = ops; in add_log()
|
| /rockchip-linux_mpp/mpp/vproc/inc/ |
| H A D | iep_common.h | 114 iep_com_ops *ops; member
|
| H A D | vdpp_api.h | 109 vdpp_com_ops *ops; member
|
| /rockchip-linux_mpp/mpp/base/inc/ |
| H A D | mpp_buffer_impl.h | 51 MppBufOps ops; member
|
| /rockchip-linux_mpp/kmpp/ |
| H A D | kmpp.c | 621 static KmppOps ops = { variable 650 ctx->mApi = &ops; in mpp_get_api()
|
| /rockchip-linux_mpp/mpp/vproc/iep2/ |
| H A D | iep2.c | 513 com_ctx->ops = &iep2_ops; in rockchip_iep2_api_alloc_ctx()
|
| /rockchip-linux_mpp/mpp/vproc/iep/ |
| H A D | iep.c | 615 com_ctx->ops = &iep_ops; in rockchip_iep_api_alloc_ctx()
|
| /rockchip-linux_mpp/ |
| H A D | CHANGELOG.md | 366 - [mpi]: Add ops name when assign for reading friendly
|