Searched refs:s_frame (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-core.c | 275 struct gsc_frame *s_frame, u32 *wratio, in gsc_check_src_scale_info() argument 280 if (is_yuv420(s_frame->fmt->color)) { in gsc_check_src_scale_info() 283 } else if (is_yuv422(s_frame->fmt->color)) { in gsc_check_src_scale_info() 291 remainder = s_frame->crop.width % (*wratio * walign); in gsc_check_src_scale_info() 293 s_frame->crop.width -= remainder; in gsc_check_src_scale_info() 294 gsc_cal_prescaler_ratio(var, s_frame->crop.width, tx, wratio); in gsc_check_src_scale_info() 296 s_frame->crop.width + remainder, s_frame->crop.width); in gsc_check_src_scale_info() 299 remainder = s_frame->crop.height % (*hratio * halign); in gsc_check_src_scale_info() 301 s_frame->crop.height -= remainder; in gsc_check_src_scale_info() 302 gsc_cal_prescaler_ratio(var, s_frame->crop.height, ty, hratio); in gsc_check_src_scale_info() [all …]
|
H A D | gsc-core.h | 365 struct gsc_frame s_frame; member 402 struct gsc_frame *s_frame, 484 frame = &ctx->s_frame; in ctx_get_frame()
|
H A D | gsc-regs.c | 123 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/samsung/exynos4-is/ |
H A D | fimc-core.c | 231 const struct fimc_frame *s_frame = &ctx->s_frame; in fimc_set_scaler_info() local 248 sx = s_frame->width; in fimc_set_scaler_info() 249 sy = s_frame->height; in fimc_set_scaler_info() 281 if (s_frame->fmt->color == d_frame->fmt->color 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() 388 switch (ctx->s_frame.fmt->color) { in fimc_set_yuv_order() 526 ret = fimc_check_scaler_ratio(ctx, ctx->s_frame.width, in __fimc_s_ctrl() 527 ctx->s_frame.height, ctx->d_frame.width, in __fimc_s_ctrl()
|
H A D | fimc-reg.c | 251 const struct fimc_frame *src_frame = &ctx->s_frame; in fimc_hw_set_scaler() 406 const struct fimc_frame *frame = &ctx->s_frame; in fimc_hw_set_in_dma_size() 423 const 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 const struct fimc_frame *f = &vc->ctx->s_frame; in fimc_hw_set_camera_source()
|
H A D | fimc-core.h | 479 struct fimc_frame s_frame; member 596 frame = &ctx->s_frame; in ctx_get_frame()
|
/linux/drivers/media/platform/mediatek/mdp/ |
H A D | mtk_mdp_regs.c | 70 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()
|
H A D | mtk_mdp_core.h | 198 struct mtk_mdp_frame s_frame; member
|