Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/
H A Dfimc-core.c231 struct fimc_frame *d_frame = &ctx->d_frame; in fimc_set_scaler_info() local
236 ty = d_frame->width; in fimc_set_scaler_info()
237 tx = d_frame->height; in fimc_set_scaler_info()
239 tx = d_frame->width; in fimc_set_scaler_info()
240 ty = d_frame->height; in fimc_set_scaler_info()
280 if (s_frame->fmt->color == d_frame->fmt->color in fimc_set_scaler_info()
281 && s_frame->width == d_frame->width in fimc_set_scaler_info()
282 && s_frame->height == d_frame->height) in fimc_set_scaler_info()
406 switch (ctx->d_frame.fmt->color) { in fimc_set_yuv_order()
528 ctx->s_frame.height, ctx->d_frame.width, in __fimc_s_ctrl()
[all …]
H A Dfimc-capture.c50 fimc_prepare_dma_offset(ctx, &ctx->d_frame); in fimc_capture_hw_init()
169 fimc_prepare_dma_offset(ctx, &ctx->d_frame); in fimc_capture_config_update()
183 struct fimc_frame *f = &cap->ctx->d_frame; in fimc_capture_irq_handler()
345 struct fimc_frame *frame = &ctx->d_frame; in queue_setup()
382 if (ctx->d_frame.fmt == NULL) in buffer_prepare()
385 for (i = 0; i < ctx->d_frame.fmt->memplanes; i++) { in buffer_prepare()
386 unsigned long size = ctx->d_frame.payload[i]; in buffer_prepare()
413 fimc_prepare_addr(ctx, &buf->vb.vb2_buf, &ctx->d_frame, &buf->paddr); in buffer_queue()
570 struct fimc_frame *dst = &ctx->d_frame; in fimc_capture_try_format()
653 if (fimc_fmt_is_user_defined(ctx->d_frame.fmt->color)) { in fimc_capture_try_selection()
[all …]
H A Dfimc-m2m.c106 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 Dfimc-reg.c108 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 Dfimc-core.h478 struct fimc_frame d_frame; member
599 frame = &ctx->d_frame; in ctx_get_frame()
/OK3568_Linux_fs/kernel/drivers/media/platform/exynos-gsc/
H A Dgsc-m2m.c122 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()
343 frame = &ctx->d_frame; in gsc_m2m_s_fmt_mplane()
521 frame = &ctx->d_frame; in gsc_m2m_s_selection()
532 sel.r.height, ctx->d_frame.crop.width, in gsc_m2m_s_selection()
533 ctx->d_frame.crop.height, in gsc_m2m_s_selection()
641 ctx->d_frame.fmt = get_format(0); in gsc_m2m_open()
H A Dgsc-core.c533 f = &ctx->d_frame; in gsc_try_selection()
638 struct gsc_frame *d_frame = &ctx->d_frame; in gsc_set_scaler_info() local
645 s_frame->crop.height, d_frame->crop.width, d_frame->crop.height, in gsc_set_scaler_info()
654 ty = d_frame->crop.width; in gsc_set_scaler_info()
655 tx = d_frame->crop.height; in gsc_set_scaler_info()
657 tx = d_frame->crop.width; in gsc_set_scaler_info()
658 ty = d_frame->crop.height; in gsc_set_scaler_info()
723 ctx->d_frame.crop.width, in __gsc_s_ctrl()
724 ctx->d_frame.crop.height, in __gsc_s_ctrl()
736 ctx->d_frame.alpha = ctrl->val; in __gsc_s_ctrl()
H A Dgsc-regs.c236 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 Dgsc-core.h360 struct gsc_frame d_frame; member
480 frame = &ctx->d_frame; in ctx_get_frame()
/OK3568_Linux_fs/kernel/drivers/media/platform/mtk-mdp/
H A Dmtk_mdp_m2m.c264 return &ctx->d_frame; in mtk_mdp_ctx_get_frame()
459 struct mtk_mdp_frame *s_frame, *d_frame; in mtk_mdp_m2m_get_bufs() local
463 d_frame = &ctx->d_frame; in mtk_mdp_m2m_get_bufs()
469 mtk_mdp_prepare_addr(ctx, &dst_vbuf->vb2_buf, d_frame, &d_frame->addr); in mtk_mdp_m2m_get_bufs()
513 mtk_mdp_hw_set_output_addr(ctx, &ctx->d_frame.addr); in mtk_mdp_m2m_worker()
871 frame = &ctx->d_frame; in mtk_mdp_m2m_s_selection()
876 new_r.height, ctx->d_frame.crop.width, in mtk_mdp_m2m_s_selection()
877 ctx->d_frame.crop.height, in mtk_mdp_m2m_s_selection()
977 ctx->d_frame.crop.width, in mtk_mdp_s_ctrl()
978 ctx->d_frame.crop.height, in mtk_mdp_s_ctrl()
[all …]
H A Dmtk_mdp_regs.c106 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 Dmtk_mdp_core.h199 struct mtk_mdp_frame d_frame; member