/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-core.c | 232 struct fimc_frame *d_frame = &ctx->d_frame; in fimc_set_scaler_info() local 237 ty = d_frame->width; in fimc_set_scaler_info() 238 tx = d_frame->height; in fimc_set_scaler_info() 240 tx = d_frame->width; in fimc_set_scaler_info() 241 ty = d_frame->height; in fimc_set_scaler_info() 282 && s_frame->width == d_frame->width in fimc_set_scaler_info() 283 && s_frame->height == d_frame->height) in fimc_set_scaler_info() 405 switch (ctx->d_frame.fmt->color) { in fimc_set_yuv_order() 527 ctx->s_frame.height, ctx->d_frame.width, in __fimc_s_ctrl() 528 ctx->d_frame.height, ctrl->val); in __fimc_s_ctrl() [all …]
|
H A D | fimc-capture.c | 50 fimc_prepare_dma_offset(ctx, &ctx->d_frame); in fimc_capture_hw_init() 382 if (ctx->d_frame.fmt == NULL) in buffer_prepare() 1014 struct fimc_frame *ff = &ctx->d_frame; in __fimc_capture_set_format() 1274 f = &ctx->d_frame; in fimc_cap_g_selection() 1285 f = &ctx->d_frame; in fimc_cap_g_selection() 1311 f = &ctx->d_frame; in fimc_cap_s_selection() 1550 ff = &ctx->d_frame; in fimc_subdev_set_fmt() 1596 f = &ctx->d_frame; in fimc_subdev_get_selection() 1611 f = &ctx->d_frame; in fimc_subdev_get_selection() 1658 f = &ctx->d_frame; in fimc_subdev_set_selection() [all …]
|
H A D | fimc-m2m.c | 106 df = &ctx->d_frame; in fimc_device_run() 362 frame = &ctx->d_frame; in fimc_m2m_s_fmt_mplane() 441 f = &ctx->d_frame; in fimc_m2m_try_selection() 498 &ctx->s_frame : &ctx->d_frame; in fimc_m2m_s_selection() 503 s->r.height, ctx->d_frame.width, in fimc_m2m_s_selection() 504 ctx->d_frame.height, ctx->rotation); in fimc_m2m_s_selection() 598 __set_frame_format(&ctx->d_frame, fmt, &pixm); in fimc_m2m_set_default_format() 630 ctx->d_frame.fmt = fimc_get_format(0); in fimc_m2m_open()
|
H A D | fimc-reg.c | 108 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_target_format() 150 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_out_dma_size() 169 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_out_dma() 252 struct fimc_frame *dst_frame = &ctx->d_frame; in fimc_hw_set_scaler() 391 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_rgb_alpha() 496 if (tiled_fmt(ctx->d_frame.fmt)) in fimc_hw_set_in_dma()
|
H A D | fimc-core.h | 480 struct fimc_frame d_frame; member 601 frame = &ctx->d_frame; in ctx_get_frame()
|
/openbmc/linux/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-m2m.c | 122 struct gsc_frame *s_frame, *d_frame; in gsc_get_bufs() local 127 d_frame = &ctx->d_frame; in gsc_get_bufs() 135 ret = gsc_prepare_addr(ctx, &dst_vb->vb2_buf, d_frame, &d_frame->addr); in gsc_get_bufs() 184 gsc_hw_set_output_addr(gsc, &ctx->d_frame.addr, GSC_M2M_BUF_NUM); in gsc_m2m_device_run() 338 frame = &ctx->d_frame; in gsc_m2m_s_fmt_mplane() 516 frame = &ctx->d_frame; in gsc_m2m_s_selection() 527 sel.r.height, ctx->d_frame.crop.width, in gsc_m2m_s_selection() 528 ctx->d_frame.crop.height, in gsc_m2m_s_selection() 636 ctx->d_frame.fmt = get_format(0); in gsc_m2m_open()
|
H A D | gsc-core.c | 531 f = &ctx->d_frame; in gsc_try_selection() 636 struct gsc_frame *d_frame = &ctx->d_frame; in gsc_set_scaler_info() local 643 s_frame->crop.height, d_frame->crop.width, d_frame->crop.height, in gsc_set_scaler_info() 652 ty = d_frame->crop.width; in gsc_set_scaler_info() 653 tx = d_frame->crop.height; in gsc_set_scaler_info() 655 tx = d_frame->crop.width; in gsc_set_scaler_info() 656 ty = d_frame->crop.height; in gsc_set_scaler_info() 721 ctx->d_frame.crop.width, in __gsc_s_ctrl() 722 ctx->d_frame.crop.height, in __gsc_s_ctrl() 734 ctx->d_frame.alpha = ctrl->val; in __gsc_s_ctrl()
|
H A D | gsc-regs.c | 236 struct gsc_frame *frame = &ctx->d_frame; in gsc_hw_set_out_size() 265 struct gsc_frame *frame = &ctx->d_frame; in gsc_hw_set_out_image_rgb() 285 struct gsc_frame *frame = &ctx->d_frame; in gsc_hw_set_out_image_format() 403 struct gsc_frame *frame = &ctx->d_frame; in gsc_hw_set_global_alpha()
|
H A D | gsc-core.h | 367 struct gsc_frame d_frame; member 487 frame = &ctx->d_frame; in ctx_get_frame()
|
/openbmc/linux/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_m2m.c | 261 return &ctx->d_frame; in mtk_mdp_ctx_get_frame() 456 struct mtk_mdp_frame *s_frame, *d_frame; in mtk_mdp_m2m_get_bufs() local 460 d_frame = &ctx->d_frame; in mtk_mdp_m2m_get_bufs() 466 mtk_mdp_prepare_addr(ctx, &dst_vbuf->vb2_buf, d_frame, &d_frame->addr); in mtk_mdp_m2m_get_bufs() 510 mtk_mdp_hw_set_output_addr(ctx, &ctx->d_frame.addr); in mtk_mdp_m2m_worker() 868 frame = &ctx->d_frame; in mtk_mdp_m2m_s_selection() 873 new_r.height, ctx->d_frame.crop.width, in mtk_mdp_m2m_s_selection() 874 ctx->d_frame.crop.height, in mtk_mdp_m2m_s_selection() 974 ctx->d_frame.crop.width, in mtk_mdp_s_ctrl() 975 ctx->d_frame.crop.height, in mtk_mdp_s_ctrl() [all …]
|
H A D | mtk_mdp_regs.c | 106 struct mtk_mdp_frame *frame = &ctx->d_frame; in mtk_mdp_hw_set_out_size() 122 struct mtk_mdp_frame *frame = &ctx->d_frame; in mtk_mdp_hw_set_out_image_format()
|
H A D | mtk_mdp_core.h | 199 struct mtk_mdp_frame d_frame; member
|