/Linux-v4.19/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 301 struct gsc_frame *s_frame, u32 *wratio, in gsc_check_src_scale_info() argument 306 if (is_yuv420(s_frame->fmt->color)) { in gsc_check_src_scale_info() 309 } else if (is_yuv422(s_frame->fmt->color)) { in gsc_check_src_scale_info() 317 remainder = s_frame->crop.width % (*wratio * walign); in gsc_check_src_scale_info() 319 s_frame->crop.width -= remainder; in gsc_check_src_scale_info() 320 gsc_cal_prescaler_ratio(var, s_frame->crop.width, tx, wratio); in gsc_check_src_scale_info() 322 s_frame->crop.width + remainder, s_frame->crop.width); in gsc_check_src_scale_info() 325 remainder = s_frame->crop.height % (*hratio * halign); in gsc_check_src_scale_info() 327 s_frame->crop.height -= remainder; in gsc_check_src_scale_info() 328 gsc_cal_prescaler_ratio(var, s_frame->crop.height, ty, hratio); in gsc_check_src_scale_info() [all …]
|
D | gsc-m2m.c | 128 struct gsc_frame *s_frame, *d_frame; in gsc_get_bufs() local 132 s_frame = &ctx->s_frame; in gsc_get_bufs() 136 ret = gsc_prepare_addr(ctx, &src_vb->vb2_buf, s_frame, &s_frame->addr); in gsc_get_bufs() 188 gsc_set_prefbuf(gsc, &ctx->s_frame); in gsc_m2m_device_run() 189 gsc_hw_set_input_addr(gsc, &ctx->s_frame.addr, GSC_M2M_BUF_NUM); in gsc_m2m_device_run() 349 frame = &ctx->s_frame; in gsc_m2m_s_fmt_mplane() 526 frame = &ctx->s_frame; in gsc_m2m_s_selection() 548 ctx->s_frame.crop.width, in gsc_m2m_s_selection() 549 ctx->s_frame.crop.height, cr.c.width, in gsc_m2m_s_selection() 651 ctx->s_frame.fmt = get_format(0); in gsc_m2m_open()
|
D | gsc-core.h | 363 struct gsc_frame s_frame; member 401 struct gsc_frame *s_frame, 483 frame = &ctx->s_frame; in ctx_get_frame()
|
D | gsc-regs.c | 127 struct gsc_frame *frame = &ctx->s_frame; in gsc_hw_set_in_size() 149 struct gsc_frame *frame = &ctx->s_frame; in gsc_hw_set_in_image_rgb() 169 struct gsc_frame *frame = &ctx->s_frame; in gsc_hw_set_in_image_format()
|
/Linux-v4.19/drivers/media/platform/exynos4-is/ |
D | fimc-capture.c | 42 if (ctx == NULL || ctx->s_frame.fmt == NULL) in fimc_capture_hw_init() 58 fimc_hw_set_camera_offset(fimc, &ctx->s_frame); in fimc_capture_hw_init() 160 fimc_hw_set_camera_offset(fimc, &ctx->s_frame); in fimc_capture_config_update() 589 if (code && ctx->s_frame.fmt && pad == FIMC_SD_PAD_SOURCE && in fimc_capture_try_format() 590 fimc_fmt_is_user_defined(ctx->s_frame.fmt->color)) in fimc_capture_try_format() 591 *code = ctx->s_frame.fmt->mbus_code; in fimc_capture_try_format() 622 *width = ctx->s_frame.f_width; in fimc_capture_try_format() 623 *height = ctx->s_frame.f_height; in fimc_capture_try_format() 660 struct fimc_frame *sink = &ctx->s_frame; in fimc_capture_try_selection() 941 ctx->s_frame.f_width = pix->width; in __video_try_or_set_format() [all …]
|
D | fimc-m2m.c | 112 sf = &ctx->s_frame; in fimc_device_run() 369 frame = &ctx->s_frame; in fimc_m2m_s_fmt_mplane() 437 f = &ctx->s_frame; in fimc_m2m_try_crop() 441 min_size = (f == &ctx->s_frame) ? in fimc_m2m_try_crop() 487 &ctx->s_frame : &ctx->d_frame; in fimc_m2m_s_crop() 495 ret = fimc_check_scaler_ratio(ctx, ctx->s_frame.width, in fimc_m2m_s_crop() 496 ctx->s_frame.height, cr.c.width, in fimc_m2m_s_crop() 587 __set_frame_format(&ctx->s_frame, fmt, &pixm); in fimc_m2m_set_default_format() 619 ctx->s_frame.fmt = fimc_get_format(0); in fimc_m2m_open()
|
D | fimc-core.c | 254 struct fimc_frame *s_frame = &ctx->s_frame; in fimc_set_scaler_info() local 271 sx = s_frame->width; in fimc_set_scaler_info() 272 sy = s_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() 413 switch (ctx->s_frame.fmt->color) { in fimc_set_yuv_order() 551 ret = fimc_check_scaler_ratio(ctx, ctx->s_frame.width, in __fimc_s_ctrl() 552 ctx->s_frame.height, ctx->d_frame.width, in __fimc_s_ctrl()
|
D | fimc-reg.c | 254 struct fimc_frame *src_frame = &ctx->s_frame; in fimc_hw_set_scaler() 409 struct fimc_frame *frame = &ctx->s_frame; in fimc_hw_set_in_dma_size() 426 struct fimc_frame *frame = &ctx->s_frame; in fimc_hw_set_in_dma() 496 if (tiled_fmt(ctx->s_frame.fmt)) in fimc_hw_set_in_dma() 605 struct fimc_frame *f = &vc->ctx->s_frame; in fimc_hw_set_camera_source()
|
D | fimc-core.h | 485 struct fimc_frame s_frame; member 601 frame = &ctx->s_frame; in ctx_get_frame()
|
/Linux-v4.19/drivers/media/platform/mtk-mdp/ |
D | mtk_mdp_m2m.c | 271 return &ctx->s_frame; in mtk_mdp_ctx_get_frame() 475 struct mtk_mdp_frame *s_frame, *d_frame; in mtk_mdp_m2m_get_bufs() local 479 s_frame = &ctx->s_frame; in mtk_mdp_m2m_get_bufs() 483 mtk_mdp_prepare_addr(ctx, src_vb, s_frame, &s_frame->addr); in mtk_mdp_m2m_get_bufs() 534 mtk_mdp_hw_set_input_addr(ctx, &ctx->s_frame.addr); in mtk_mdp_m2m_worker() 911 frame = &ctx->s_frame; in mtk_mdp_m2m_s_selection() 924 ctx->s_frame.crop.width, in mtk_mdp_m2m_s_selection() 925 ctx->s_frame.crop.height, new_r.width, in mtk_mdp_m2m_s_selection() 1022 ctx->s_frame.crop.width, in mtk_mdp_s_ctrl() 1023 ctx->s_frame.crop.height, in mtk_mdp_s_ctrl()
|
D | mtk_mdp_regs.c | 78 struct mtk_mdp_frame *frame = &ctx->s_frame; in mtk_mdp_hw_set_in_size() 99 struct mtk_mdp_frame *frame = &ctx->s_frame; in mtk_mdp_hw_set_in_image_format()
|
D | mtk_mdp_core.h | 208 struct mtk_mdp_frame s_frame; member
|