Home
last modified time | relevance | path

Searched defs:cfg (Results 1 – 25 of 168) sorted by relevance

1234567

/rockchip-linux_mpp/mpp/inc/
H A Dmpp_cfg.h36 #define MPP_CFG_SET_s32(info, cfg, val) (mpp_cfg_set_s32)(info, cfg, val) argument
37 #define MPP_CFG_GET_s32(info, cfg, val) (mpp_cfg_get_s32)(info, cfg, (RK_S32 *)(val)) argument
38 #define MPP_CFG_SET_u32(info, cfg, val) (mpp_cfg_set_u32)(info, cfg, val) argument
39 #define MPP_CFG_GET_u32(info, cfg, val) (mpp_cfg_get_u32)(info, cfg, (RK_U32 *)(val)) argument
40 #define MPP_CFG_SET_s64(info, cfg, val) (mpp_cfg_set_s64)(info, cfg, val) argument
41 #define MPP_CFG_GET_s64(info, cfg, val) (mpp_cfg_get_s64)(info, cfg, (RK_S64 *)(val)) argument
42 #define MPP_CFG_SET_u64(info, cfg, val) (mpp_cfg_set_u64)(info, cfg, val) argument
43 #define MPP_CFG_GET_u64(info, cfg, val) (mpp_cfg_get_u64)(info, cfg, (RK_U64 *)(val)) argument
44 #define MPP_CFG_SET_st(info, cfg, val) (mpp_cfg_set_st )(info, cfg, val) argument
45 #define MPP_CFG_GET_st(info, cfg, val) (mpp_cfg_get_st )(info, cfg, (void *)(val)) argument
[all …]
/rockchip-linux_mpp/mpp/base/
H A Dmpp_cfg.c22 #define CFG_TO_PTR(info, cfg) ((char *)cfg + info->data_offset) argument
23 #define CFG_TO_s32_PTR(info, cfg) ((RK_S32 *)CFG_TO_PTR(info, cfg)) argument
24 #define CFG_TO_u32_PTR(info, cfg) ((RK_U32 *)CFG_TO_PTR(info, cfg)) argument
25 #define CFG_TO_s64_PTR(info, cfg) ((RK_S64 *)CFG_TO_PTR(info, cfg)) argument
26 #define CFG_TO_u64_PTR(info, cfg) ((RK_U64 *)CFG_TO_PTR(info, cfg)) argument
27 #define CFG_TO_ptr_PTR(info, cfg) ((void **)CFG_TO_PTR(info, cfg)) argument
32 #define CFG_TO_FLAG_PTR(info, cfg) ((rk_ul *)((rk_u8 *)cfg + ELEM_FLAG_U32_POS(info->flag_offs… argument
34 #define CFG_SET_FLAG(info, cfg) \ argument
63 static MPP_RET mpp_cfg_set(MppCfgInfo *info, void *cfg, void *val) in mpp_cfg_set()
72 static MPP_RET mpp_cfg_get(MppCfgInfo *info, void *cfg, void *val) in mpp_cfg_get()
[all …]
H A Dmpp_sys_cfg_st.c20 MppSysCfg cfg; in mpp_sys_cfg_st_get_h_stride() local
55 MppSysCfg cfg; in mpp_sys_cfg_st_get_byte_stride() local
91 MppSysCfg cfg; in mpp_sys_cfg_st_get_v_stride() local
125 MppSysCfg cfg; in mpp_sys_cfg_st_get_size() local
H A Dmpp_dec_cfg.c61 MppDecCfgSet *cfg = (MppDecCfgSet *)entry; in mpp_dec_cfg_set_default() local
89 MPP_RET mpp_dec_cfg_init(MppDecCfg *cfg) in mpp_dec_cfg_init()
94 MPP_RET mpp_dec_cfg_deinit(MppDecCfg cfg) in mpp_dec_cfg_deinit()
H A Dmpp_enc_cfg.c281 MppEncCfgSet *cfg = (MppEncCfgSet *)entry; in mpp_enc_cfg_impl_init() local
308 MppEncCfgSet *cfg = (MppEncCfgSet *)entry; in mpp_enc_cfg_impl_dump() local
370 RK_S32 mpp_enc_cfg_init_k(MppEncCfg *cfg) in mpp_enc_cfg_init_k()
377 RK_S32 mpp_enc_cfg_deinit(MppEncCfg cfg) in mpp_enc_cfg_deinit()
505 MPP_RET mpp_enc_cfg_apply(MppEncCfg cfg, MppCfgStrFmt fmt, char *buf) in mpp_enc_cfg_apply()
H A Dmpp_sys_cfg.c182 MPP_RET mpp_sys_cfg_get(MppSysCfg *cfg) in mpp_sys_cfg_get()
203 MPP_RET mpp_sys_cfg_put(MppSysCfg cfg) in mpp_sys_cfg_put()
299 MPP_RET mpp_sys_dec_buf_chk_proc(MppSysDecBufChkCfg *cfg) in mpp_sys_dec_buf_chk_proc()
613 MPP_RET mpp_sys_cfg_ioctl(MppSysCfg cfg) in mpp_sys_cfg_ioctl()
/rockchip-linux_mpp/test/
H A Dmpp_parse_cfg.c70 static char *read_cfg_line(struct cfg_file *cfg) in read_cfg_line()
98 static inline void invalid_cfg_cache(struct cfg_file *cfg) in invalid_cfg_cache()
131 static int scan_event_line(struct cfg_file *cfg, struct rc_event *event) in scan_event_line()
148 static int parse_events(struct cfg_file *cfg, struct rc_test_config *ea) in parse_events()
164 static int parse_options(struct cfg_file *cfg, struct rc_test_config *ea) in parse_options()
197 struct cfg_file cfg; in mpp_parse_config() local
/rockchip-linux_mpp/osal/driver/
H A Dmpp_service.c131 const MppServiceQueryCfg *cfg = &query_cfg[i]; in check_mpp_service_cap() local
491 MPP_RET mpp_service_reg_wr(void *ctx, MppDevRegWrCfg *cfg) in mpp_service_reg_wr()
505 MPP_RET mpp_service_reg_rd(void *ctx, MppDevRegRdCfg *cfg) in mpp_service_reg_rd()
519 MPP_RET mpp_service_reg_offset(void *ctx, MppDevRegOffsetCfg *cfg) in mpp_service_reg_offset()
567 MppDevRegOffsetCfg *cfg = &cfgs->cfgs[i]; in mpp_service_reg_offsets() local
589 MPP_RET mpp_service_rcb_info(void *ctx, MppDevRcbInfoCfg *cfg) in mpp_service_rcb_info()
609 MPP_RET mpp_service_set_info(void *ctx, MppDevInfoCfg *cfg) in mpp_service_set_info()
788 MPP_RET mpp_service_cmd_poll(void *ctx, MppDevPollCfg *cfg) in mpp_service_cmd_poll()
H A Dvcodec_service.c581 MPP_RET vcodec_service_reg_wr(void *ctx, MppDevRegWrCfg *cfg) in vcodec_service_reg_wr()
597 MPP_RET vcodec_service_reg_rd(void *ctx, MppDevRegRdCfg *cfg) in vcodec_service_reg_rd()
611 MPP_RET vcodec_service_reg_offset(void *ctx, MppDevRegOffsetCfg *cfg) in vcodec_service_reg_offset()
666 MPP_RET vcodec_service_cmd_poll(void *ctx, MppDevPollCfg *cfg) in vcodec_service_cmd_poll()
688 MPP_RET vcodec_service_set_info(void *ctx, MppDevInfoCfg *cfg) in vcodec_service_set_info()
/rockchip-linux_mpp/mpp/codec/rc/
H A Drc_model_v2.c295 RK_S32 moving_judge_update(RcModelV2Ctx *ctx, EncRcTaskInfo *cfg) in moving_judge_update()
384 MPP_RET bits_model_update(RcModelV2Ctx *ctx, EncRcTaskInfo *cfg) in bits_model_update()
448 MPP_RET bits_model_alloc(RcModelV2Ctx *ctx, EncRcTaskInfo *cfg, RK_S64 total_bits) in bits_model_alloc()
623 MPP_RET calc_cbr_ratio(void *ctx, EncRcTaskInfo *cfg) in calc_cbr_ratio()
694 MPP_RET reenc_calc_super_frm_ratio(void *ctx, EncRcTaskInfo *cfg) in reenc_calc_super_frm_ratio()
705 MPP_RET reenc_calc_cbr_ratio(void *ctx, EncRcTaskInfo *cfg) in reenc_calc_cbr_ratio()
825 MPP_RET calc_vbr_ratio(void *ctx, EncRcTaskInfo *cfg) in calc_vbr_ratio()
885 MPP_RET reenc_calc_vbr_ratio(void *ctx, EncRcTaskInfo *cfg) in reenc_calc_vbr_ratio()
996 MPP_RET calc_avbr_ratio(void *ctx, EncRcTaskInfo *cfg) in calc_avbr_ratio()
1268 MPP_RET check_super_frame(RcModelV2Ctx *ctx, EncRcTaskInfo *cfg) in check_super_frame()
[all …]
H A Drc.c24 RcCfg cfg; member
105 MPP_RET rc_update_usr_cfg(RcCtx ctx, RcCfg *cfg) in rc_update_usr_cfg()
136 RcFpsCfg *cfg = &p->fps; in rc_frm_check_drop() local
/rockchip-linux_mpp/mpp/hal/vpu/common/
H A Dvepu_common.c127 MPP_RET get_vepu_fmt(VepuFormatCfg *cfg, MppFrameFormat format) in get_vepu_fmt()
187 RK_U32 get_vepu_pixel_stride(VepuStrideCfg *cfg, RK_U32 width, RK_U32 stride, MppFrameFormat fmt) in get_vepu_pixel_stride()
283 MPP_RET get_vepu_offset_cfg(VepuOffsetCfg *cfg) in get_vepu_offset_cfg()
/rockchip-linux_mpp/mpp/hal/rkenc/h264e/
H A Dhal_h264e_vepu541.c45 MppEncCfgSet *cfg; member
160 static MPP_RET hal_h264e_vepu541_init(void *hal, MppEncHalCfg *cfg) in hal_h264e_vepu541_init()
227 MppEncCfgSet *cfg = ctx->cfg; in setup_hal_bufs() local
451 VepuFmtCfg cfg; in setup_vepu541_prep() local
770 H264ePps *pps, H264eSlice *slice, MppEncCfgSet *cfg) in setup_vepu541_rdo_pred()
934 VepuFmtCfg cfg; in setup_vepu541_io_buf() local
1011 Vepu541RoiCfg cfg; in setup_vepu541_intra_refresh() local
1078 MppEncROICfg2 *cfg = ( MppEncROICfg2 *)ctx->roi_data2; in setup_vepu541_roi() local
1173 static void setup_vepu541_split(Vepu541H264eRegSet *regs, MppEncSliceSplit *cfg) in setup_vepu541_split()
1391 …setup_vepu541_l2(Vepu541H264eRegL2Set *regs, H264eSlice *slice, MppEncHwCfg *hw, MppEncCfgSet *cfg) in setup_vepu541_l2()
[all …]
H A Dhal_h264e_vepu540c.c50 MppEncCfgSet *cfg; member
145 static MPP_RET hal_h264e_vepu540c_init(void *hal, MppEncHalCfg *cfg) in hal_h264e_vepu540c_init()
202 MppEncCfgSet *cfg = ctx->cfg; in setup_hal_bufs() local
456 VepuFmtCfg cfg; in setup_vepu540c_prep() local
890 MppEncCfgSet *cfg = ctx->cfg; in setup_vepu540c_rc_base() local
1020 VepuFmtCfg cfg; in setup_vepu540c_io_buf() local
1105 static void setup_vepu540c_split(HalVepu540cRegSet *regs, MppEncCfgSet *cfg) in setup_vepu540c_split()
1462 MppEncCfgSet *cfg = ctx->cfg; in hal_h264e_vepu540c_gen_regs() local
/rockchip-linux_mpp/mpp/vproc/iep/test/
H A Diep_test.c57 IepTestCfg *cfg; member
78 static void parse_cfg(IepTestCfg *cfg) in parse_cfg()
251 IepTestCfg *cfg = info->cfg; in iep_process_thread() local
342 static MPP_RET check_input_cmd(IepTestCfg *cfg) in check_input_cmd()
429 IepTestCfg cfg; in main() local
/rockchip-linux_mpp/kmpp/base/
H A Dkmpp_vdec_cfg.c90 MPP_RET mpp_vdec_kcfg_init_by_name(MppVdecKcfg *cfg, const char *name) in mpp_vdec_kcfg_init_by_name()
122 MPP_RET mpp_vdec_kcfg_deinit(MppVdecKcfg cfg) in mpp_vdec_kcfg_deinit()
163 void mpp_vdec_kcfg_show(MppVdecKcfg cfg) in mpp_vdec_kcfg_show()
H A Dkmpp_venc_cfg.c91 MPP_RET mpp_venc_kcfg_init_by_name(MppVencKcfg *cfg, const char *name) in mpp_venc_kcfg_init_by_name()
123 MPP_RET mpp_venc_kcfg_deinit(MppVencKcfg cfg) in mpp_venc_kcfg_deinit()
164 void mpp_venc_kcfg_show(MppVencKcfg cfg) in mpp_venc_kcfg_show()
/rockchip-linux_mpp/mpp/codec/
H A Dmpp_enc_impl.c127 MppDevInfoCfg cfg; in update_hal_info_fps() local
243 MppEncCfgSet *cfg = enc->cfg; in check_low_delay_part_mode() local
261 MppEncCfgSet *cfg = enc->cfg; in check_low_delay_output() local
425 static void show_prep_update(MppEncPrepCfg *cfg, MppEncPrepCfg *set) in show_prep_update()
472 MppEncPrepCfg *cfg = &enc->cfg->prep; in proc_prep_cfg() local
616 static void show_rc_update(MppEncRcCfg *cfg, MppEncRcCfg *set, rk_u32 change) in show_rc_update()
677 MppEncRcCfg *cfg = &enc->cfg->rc; in proc_rc_cfg() local
829 static void proc_split_cfg(MppEncSliceSplit *cfg, MppEncSliceSplit *set) in proc_split_cfg()
848 MppEncHwCfg *cfg = &enc->cfg->hw; in proc_hw_cfg() local
889 MppEncFineTuneCfg *cfg = &enc->cfg->tune; in proc_tune_cfg() local
[all …]
/rockchip-linux_mpp/mpp/codec/enc/jpeg/
H A Djpege_api_v2.c35 MppEncCfgSet *cfg; member
45 static MPP_RET jpege_init_v2(void *ctx, EncImplCfg *cfg) in jpege_init_v2()
225 MppEncCfgSet *cfg = p->cfg; in jpege_proc_hal() local
/rockchip-linux_mpp/mpp/hal/rkenc/jpege/
H A Dhal_jpege_vepu511.c44 MppEncCfgSet *cfg; member
64 MPP_RET hal_jpege_vepu511_init(void *hal, MppEncHalCfg *cfg) in hal_jpege_vepu511_init()
193 MPP_RET vepu511_set_jpeg_reg(Vepu511JpegCfg *cfg) in vepu511_set_jpeg_reg()
367 Vepu511JpegCfg cfg; in hal_jpege_vepu511_gen_regs() local
471 MppDevRegWrCfg cfg; in hal_jpege_vepu511_start() local
H A Dhal_jpege_vepu540c.c55 MppEncCfgSet *cfg; member
74 MPP_RET hal_jpege_v540c_init(void *hal, MppEncHalCfg *cfg) in hal_jpege_v540c_init()
150 Vepu540cJpegCfg cfg; in hal_jpege_v540c_gen_regs() local
242 MppDevRegWrCfg cfg; in hal_jpege_v540c_start() local
/rockchip-linux_mpp/mpp/hal/rkenc/h265e/
H A Dhal_h265e_vepu541.c96 MppEncCfgSet *cfg; member
586 MppDevRegWrCfg cfg; in vepu541_h265_set_l2_regs() local
597 MPP_RET hal_h265e_v541_init(void *hal, MppEncHalCfg *cfg) in hal_h265e_v541_init()
855 Vepu541RoiCfg cfg; in setup_vepu541_intra_refresh() local
921 MppEncROICfg2 *cfg = ( MppEncROICfg2 *)ctx->roi_data2; in vepu541_h265_set_roi_regs() local
929 MppEncROICfg *cfg = (MppEncROICfg*)ctx->roi_data; in vepu541_h265_set_roi_regs() local
976 MppEncCfgSet *cfg = ctx->cfg; in vepu541_h265_set_rc_regs() local
1455 static void setup_vepu541_split(H265eV541RegSet *regs, MppEncSliceSplit *cfg) in setup_vepu541_split()
1685 MppDevRegWrCfg cfg; in hal_h265e_v540_start() local
1796 MppDevRegWrCfg cfg; in hal_h265e_v541_start() local
[all …]
/rockchip-linux_mpp/mpp/hal/rkenc/common/
H A Dvepu5xx_common.c61 const VepuRgb2YuvCfg *cfg; in get_rgb2yuv_cfg() local
569 MPP_RET vepu5xx_set_fmt(VepuFmtCfg * cfg, MppFrameFormat format) in vepu5xx_set_fmt()
/rockchip-linux_mpp/mpp/legacy/
H A Dvpu_api_mlvec.cpp101 VpuApiMlvecStaticCfg *cfg = (VpuApiMlvecStaticCfg *)p; in vpu_api_mlvec_check_cfg() local
115 MPP_RET vpu_api_mlvec_set_st_cfg(VpuApiMlvec ctx, VpuApiMlvecStaticCfg *cfg) in vpu_api_mlvec_set_st_cfg()
172 MPP_RET vpu_api_mlvec_set_dy_cfg(VpuApiMlvec ctx, VpuApiMlvecDynamicCfg *cfg, MppMeta meta) in vpu_api_mlvec_set_dy_cfg()
/rockchip-linux_mpp/mpp/vproc/iep2/test/
H A Diep2_test.c119 static MPP_RET check_input_cmd(iep2_test_cfg *cfg) in check_input_cmd()
196 void iep2_test(iep2_test_cfg *cfg) in iep2_test()
371 iep2_test_cfg cfg; in main() local

1234567