Home
last modified time | relevance | path

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

/linux/drivers/media/platform/exynos-gsc/
A Dgsc-core.c276 struct gsc_frame *s_frame, u32 *wratio, in gsc_check_src_scale_info() argument
281 if (is_yuv420(s_frame->fmt->color)) { in gsc_check_src_scale_info()
294 s_frame->crop.width -= remainder; in gsc_check_src_scale_info()
297 s_frame->crop.width + remainder, s_frame->crop.width); in gsc_check_src_scale_info()
302 s_frame->crop.height -= remainder; in gsc_check_src_scale_info()
305 s_frame->crop.height + remainder, s_frame->crop.height); in gsc_check_src_scale_info()
535 f = &ctx->s_frame; in gsc_try_selection()
637 struct gsc_frame *s_frame = &ctx->s_frame; in gsc_set_scaler_info() local
690 s_frame->crop.width, s_frame->crop.height, tx, ty); in gsc_set_scaler_info()
721 ctx->s_frame.crop.width, in __gsc_s_ctrl()
[all …]
A Dgsc-m2m.c122 struct gsc_frame *s_frame, *d_frame; in gsc_get_bufs() local
126 s_frame = &ctx->s_frame; in gsc_get_bufs()
130 ret = gsc_prepare_addr(ctx, &src_vb->vb2_buf, s_frame, &s_frame->addr); in gsc_get_bufs()
182 gsc_set_prefbuf(gsc, &ctx->s_frame); in gsc_m2m_device_run()
183 gsc_hw_set_input_addr(gsc, &ctx->s_frame.addr, GSC_M2M_BUF_NUM); in gsc_m2m_device_run()
341 frame = &ctx->s_frame; in gsc_m2m_s_fmt_mplane()
515 frame = &ctx->s_frame; in gsc_m2m_s_selection()
537 ctx->s_frame.crop.width, in gsc_m2m_s_selection()
538 ctx->s_frame.crop.height, sel.r.width, in gsc_m2m_s_selection()
640 ctx->s_frame.fmt = get_format(0); in gsc_m2m_open()
A Dgsc-core.h366 struct gsc_frame s_frame; member
403 struct gsc_frame *s_frame,
485 frame = &ctx->s_frame; in ctx_get_frame()
A Dgsc-regs.c123 struct gsc_frame *frame = &ctx->s_frame; in gsc_hw_set_in_size()
145 struct gsc_frame *frame = &ctx->s_frame; in gsc_hw_set_in_image_rgb()
165 struct gsc_frame *frame = &ctx->s_frame; in gsc_hw_set_in_image_format()
/linux/drivers/media/platform/exynos4-is/
A Dfimc-capture.c578 *code = ctx->s_frame.fmt->mbus_code; in fimc_capture_try_format()
609 *width = ctx->s_frame.f_width; in fimc_capture_try_format()
610 *height = ctx->s_frame.f_height; in fimc_capture_try_format()
924 ctx->s_frame.f_width = pix->width; in __video_try_or_set_format()
1041 ctx->s_frame.fmt = inp_fmt; in __fimc_capture_set_format()
1310 f = &ctx->s_frame; in fimc_cap_s_selection()
1549 mf->width = ctx->s_frame.width; in fimc_subdev_set_fmt()
1550 mf->height = ctx->s_frame.height; in fimc_subdev_set_fmt()
1552 ff = &ctx->s_frame; in fimc_subdev_set_fmt()
1729 ctx->d_frame.fmt = ctx->s_frame.fmt; in fimc_register_capture_device()
[all …]
A Dfimc-m2m.c105 sf = &ctx->s_frame; in fimc_device_run()
360 frame = &ctx->s_frame; in fimc_m2m_s_fmt_mplane()
445 f = &ctx->s_frame; in fimc_m2m_try_selection()
452 min_size = (f == &ctx->s_frame) ? in fimc_m2m_try_selection()
498 &ctx->s_frame : &ctx->d_frame; in fimc_m2m_s_selection()
506 ret = fimc_check_scaler_ratio(ctx, ctx->s_frame.width, in fimc_m2m_s_selection()
507 ctx->s_frame.height, s->r.width, in fimc_m2m_s_selection()
597 __set_frame_format(&ctx->s_frame, fmt, &pixm); in fimc_m2m_set_default_format()
629 ctx->s_frame.fmt = fimc_get_format(0); in fimc_m2m_open()
A Dfimc-core.c232 struct fimc_frame *s_frame = &ctx->s_frame; in fimc_set_scaler_info() local
249 sx = s_frame->width; in fimc_set_scaler_info()
250 sy = s_frame->height; in fimc_set_scaler_info()
282 if (s_frame->fmt->color == d_frame->fmt->color in fimc_set_scaler_info()
283 && s_frame->width == d_frame->width in fimc_set_scaler_info()
284 && s_frame->height == d_frame->height) in fimc_set_scaler_info()
389 switch (ctx->s_frame.fmt->color) { in fimc_set_yuv_order()
527 ret = fimc_check_scaler_ratio(ctx, ctx->s_frame.width, in __fimc_s_ctrl()
528 ctx->s_frame.height, ctx->d_frame.width, in __fimc_s_ctrl()
A Dfimc-reg.c251 struct fimc_frame *src_frame = &ctx->s_frame; in fimc_hw_set_scaler()
406 struct fimc_frame *frame = &ctx->s_frame; in fimc_hw_set_in_dma_size()
423 struct fimc_frame *frame = &ctx->s_frame; in fimc_hw_set_in_dma()
493 if (tiled_fmt(ctx->s_frame.fmt)) in fimc_hw_set_in_dma()
602 struct fimc_frame *f = &vc->ctx->s_frame; in fimc_hw_set_camera_source()
A Dfimc-core.h479 struct fimc_frame s_frame; member
596 frame = &ctx->s_frame; in ctx_get_frame()
/linux/drivers/media/platform/mtk-mdp/
A Dmtk_mdp_m2m.c260 return &ctx->s_frame; in mtk_mdp_ctx_get_frame()
456 struct mtk_mdp_frame *s_frame, *d_frame; in mtk_mdp_m2m_get_bufs() local
459 s_frame = &ctx->s_frame; in mtk_mdp_m2m_get_bufs()
463 mtk_mdp_prepare_addr(ctx, &src_vbuf->vb2_buf, s_frame, &s_frame->addr); in mtk_mdp_m2m_get_bufs()
509 mtk_mdp_hw_set_input_addr(ctx, &ctx->s_frame.addr); in mtk_mdp_m2m_worker()
866 frame = &ctx->s_frame; in mtk_mdp_m2m_s_selection()
878 ctx->s_frame.crop.width, in mtk_mdp_m2m_s_selection()
879 ctx->s_frame.crop.height, new_r.width, in mtk_mdp_m2m_s_selection()
972 ctx->s_frame.crop.width, in mtk_mdp_s_ctrl()
973 ctx->s_frame.crop.height, in mtk_mdp_s_ctrl()
A Dmtk_mdp_regs.c70 struct mtk_mdp_frame *frame = &ctx->s_frame; in mtk_mdp_hw_set_in_size()
91 struct mtk_mdp_frame *frame = &ctx->s_frame; in mtk_mdp_hw_set_in_image_format()
A Dmtk_mdp_core.h198 struct mtk_mdp_frame s_frame; member

Completed in 28 milliseconds