Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/exynos4-is/
Dfimc-core.c255 struct fimc_frame *d_frame = &ctx->d_frame; in fimc_set_scaler_info() local
260 ty = d_frame->width; in fimc_set_scaler_info()
261 tx = d_frame->height; in fimc_set_scaler_info()
263 tx = d_frame->width; in fimc_set_scaler_info()
264 ty = d_frame->height; in fimc_set_scaler_info()
304 if (s_frame->fmt->color == d_frame->fmt->color in fimc_set_scaler_info()
305 && s_frame->width == d_frame->width in fimc_set_scaler_info()
306 && s_frame->height == d_frame->height) in fimc_set_scaler_info()
430 switch (ctx->d_frame.fmt->color) { in fimc_set_yuv_order()
552 ctx->s_frame.height, ctx->d_frame.width, in __fimc_s_ctrl()
[all …]
Dfimc-capture.c52 fimc_prepare_dma_offset(ctx, &ctx->d_frame); in fimc_capture_hw_init()
171 fimc_prepare_dma_offset(ctx, &ctx->d_frame); in fimc_capture_config_update()
185 struct fimc_frame *f = &cap->ctx->d_frame; in fimc_capture_irq_handler()
347 struct fimc_frame *frame = &ctx->d_frame; in queue_setup()
384 if (ctx->d_frame.fmt == NULL) in buffer_prepare()
387 for (i = 0; i < ctx->d_frame.fmt->memplanes; i++) { in buffer_prepare()
388 unsigned long size = ctx->d_frame.payload[i]; in buffer_prepare()
415 fimc_prepare_addr(ctx, &buf->vb.vb2_buf, &ctx->d_frame, &buf->paddr); in buffer_queue()
583 struct fimc_frame *dst = &ctx->d_frame; in fimc_capture_try_format()
666 if (fimc_fmt_is_user_defined(ctx->d_frame.fmt->color)) { in fimc_capture_try_selection()
[all …]
Dfimc-m2m.c113 df = &ctx->d_frame; in fimc_device_run()
371 frame = &ctx->d_frame; in fimc_m2m_s_fmt_mplane()
435 f = &ctx->d_frame; in fimc_m2m_try_crop()
487 &ctx->s_frame : &ctx->d_frame; in fimc_m2m_s_crop()
492 cr.c.height, ctx->d_frame.width, in fimc_m2m_s_crop()
493 ctx->d_frame.height, ctx->rotation); in fimc_m2m_s_crop()
588 __set_frame_format(&ctx->d_frame, fmt, &pixm); in fimc_m2m_set_default_format()
620 ctx->d_frame.fmt = fimc_get_format(0); in fimc_m2m_open()
Dfimc-reg.c111 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_target_format()
153 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_out_dma_size()
172 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_out_dma()
255 struct fimc_frame *dst_frame = &ctx->d_frame; in fimc_hw_set_scaler()
394 struct fimc_frame *frame = &ctx->d_frame; in fimc_hw_set_rgb_alpha()
499 if (tiled_fmt(ctx->d_frame.fmt)) in fimc_hw_set_in_dma()
Dfimc-core.h486 struct fimc_frame d_frame; member
605 frame = &ctx->d_frame; in ctx_get_frame()
/Linux-v4.19/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c128 struct gsc_frame *s_frame, *d_frame; in gsc_get_bufs() local
133 d_frame = &ctx->d_frame; in gsc_get_bufs()
141 ret = gsc_prepare_addr(ctx, &dst_vb->vb2_buf, d_frame, &d_frame->addr); in gsc_get_bufs()
190 gsc_hw_set_output_addr(gsc, &ctx->d_frame.addr, GSC_M2M_BUF_NUM); in gsc_m2m_device_run()
351 frame = &ctx->d_frame; in gsc_m2m_s_fmt_mplane()
532 frame = &ctx->d_frame; in gsc_m2m_s_selection()
543 cr.c.height, ctx->d_frame.crop.width, in gsc_m2m_s_selection()
544 ctx->d_frame.crop.height, in gsc_m2m_s_selection()
652 ctx->d_frame.fmt = get_format(0); in gsc_m2m_open()
Dgsc-core.c572 f = &ctx->d_frame; in gsc_try_crop()
677 struct gsc_frame *d_frame = &ctx->d_frame; in gsc_set_scaler_info() local
684 s_frame->crop.height, d_frame->crop.width, d_frame->crop.height, in gsc_set_scaler_info()
693 ty = d_frame->crop.width; in gsc_set_scaler_info()
694 tx = d_frame->crop.height; in gsc_set_scaler_info()
696 tx = d_frame->crop.width; in gsc_set_scaler_info()
697 ty = d_frame->crop.height; in gsc_set_scaler_info()
762 ctx->d_frame.crop.width, in __gsc_s_ctrl()
763 ctx->d_frame.crop.height, in __gsc_s_ctrl()
775 ctx->d_frame.alpha = ctrl->val; in __gsc_s_ctrl()
Dgsc-regs.c240 struct gsc_frame *frame = &ctx->d_frame; in gsc_hw_set_out_size()
269 struct gsc_frame *frame = &ctx->d_frame; in gsc_hw_set_out_image_rgb()
289 struct gsc_frame *frame = &ctx->d_frame; in gsc_hw_set_out_image_format()
407 struct gsc_frame *frame = &ctx->d_frame; in gsc_hw_set_global_alpha()
Dgsc-core.h364 struct gsc_frame d_frame; member
485 frame = &ctx->d_frame; in ctx_get_frame()
/Linux-v4.19/drivers/media/platform/mtk-mdp/
Dmtk_mdp_m2m.c272 return &ctx->d_frame; in mtk_mdp_ctx_get_frame()
475 struct mtk_mdp_frame *s_frame, *d_frame; in mtk_mdp_m2m_get_bufs() local
480 d_frame = &ctx->d_frame; in mtk_mdp_m2m_get_bufs()
486 mtk_mdp_prepare_addr(ctx, dst_vb, d_frame, &d_frame->addr); in mtk_mdp_m2m_get_bufs()
535 mtk_mdp_hw_set_output_addr(ctx, &ctx->d_frame.addr); in mtk_mdp_m2m_worker()
913 frame = &ctx->d_frame; in mtk_mdp_m2m_s_selection()
919 new_r.height, ctx->d_frame.crop.width, in mtk_mdp_m2m_s_selection()
920 ctx->d_frame.crop.height, in mtk_mdp_m2m_s_selection()
1024 ctx->d_frame.crop.width, in mtk_mdp_s_ctrl()
1025 ctx->d_frame.crop.height, in mtk_mdp_s_ctrl()
[all …]
Dmtk_mdp_regs.c114 struct mtk_mdp_frame *frame = &ctx->d_frame; in mtk_mdp_hw_set_out_size()
130 struct mtk_mdp_frame *frame = &ctx->d_frame; in mtk_mdp_hw_set_out_image_format()
Dmtk_mdp_core.h209 struct mtk_mdp_frame d_frame; member