s_frame 276 drivers/media/platform/exynos-gsc/gsc-core.c struct gsc_frame *s_frame, u32 *wratio, s_frame 281 drivers/media/platform/exynos-gsc/gsc-core.c if (is_yuv420(s_frame->fmt->color)) { s_frame 284 drivers/media/platform/exynos-gsc/gsc-core.c } else if (is_yuv422(s_frame->fmt->color)) { s_frame 292 drivers/media/platform/exynos-gsc/gsc-core.c remainder = s_frame->crop.width % (*wratio * walign); s_frame 294 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.width -= remainder; s_frame 295 drivers/media/platform/exynos-gsc/gsc-core.c gsc_cal_prescaler_ratio(var, s_frame->crop.width, tx, wratio); s_frame 297 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.width + remainder, s_frame->crop.width); s_frame 300 drivers/media/platform/exynos-gsc/gsc-core.c remainder = s_frame->crop.height % (*hratio * halign); s_frame 302 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.height -= remainder; s_frame 303 drivers/media/platform/exynos-gsc/gsc-core.c gsc_cal_prescaler_ratio(var, s_frame->crop.height, ty, hratio); s_frame 305 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.height + remainder, s_frame->crop.height); s_frame 535 drivers/media/platform/exynos-gsc/gsc-core.c f = &ctx->s_frame; s_frame 637 drivers/media/platform/exynos-gsc/gsc-core.c struct gsc_frame *s_frame = &ctx->s_frame; s_frame 644 drivers/media/platform/exynos-gsc/gsc-core.c ret = gsc_check_scaler_ratio(variant, s_frame->crop.width, s_frame 645 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.height, d_frame->crop.width, d_frame->crop.height, s_frame 666 drivers/media/platform/exynos-gsc/gsc-core.c ret = gsc_cal_prescaler_ratio(variant, s_frame->crop.width, s_frame 673 drivers/media/platform/exynos-gsc/gsc-core.c ret = gsc_cal_prescaler_ratio(variant, s_frame->crop.height, s_frame 680 drivers/media/platform/exynos-gsc/gsc-core.c gsc_check_src_scale_info(variant, s_frame, &sc->pre_hratio, s_frame 686 drivers/media/platform/exynos-gsc/gsc-core.c sc->main_hratio = (s_frame->crop.width << 16) / tx; s_frame 687 drivers/media/platform/exynos-gsc/gsc-core.c sc->main_vratio = (s_frame->crop.height << 16) / ty; s_frame 690 drivers/media/platform/exynos-gsc/gsc-core.c s_frame->crop.width, s_frame->crop.height, tx, ty); s_frame 721 drivers/media/platform/exynos-gsc/gsc-core.c ctx->s_frame.crop.width, s_frame 722 drivers/media/platform/exynos-gsc/gsc-core.c ctx->s_frame.crop.height, s_frame 359 drivers/media/platform/exynos-gsc/gsc-core.h struct gsc_frame s_frame; s_frame 396 drivers/media/platform/exynos-gsc/gsc-core.h struct gsc_frame *s_frame, s_frame 478 drivers/media/platform/exynos-gsc/gsc-core.h frame = &ctx->s_frame; s_frame 124 drivers/media/platform/exynos-gsc/gsc-m2m.c struct gsc_frame *s_frame, *d_frame; s_frame 128 drivers/media/platform/exynos-gsc/gsc-m2m.c s_frame = &ctx->s_frame; s_frame 132 drivers/media/platform/exynos-gsc/gsc-m2m.c ret = gsc_prepare_addr(ctx, &src_vb->vb2_buf, s_frame, &s_frame->addr); s_frame 184 drivers/media/platform/exynos-gsc/gsc-m2m.c gsc_set_prefbuf(gsc, &ctx->s_frame); s_frame 185 drivers/media/platform/exynos-gsc/gsc-m2m.c gsc_hw_set_input_addr(gsc, &ctx->s_frame.addr, GSC_M2M_BUF_NUM); s_frame 343 drivers/media/platform/exynos-gsc/gsc-m2m.c frame = &ctx->s_frame; s_frame 517 drivers/media/platform/exynos-gsc/gsc-m2m.c frame = &ctx->s_frame; s_frame 539 drivers/media/platform/exynos-gsc/gsc-m2m.c ctx->s_frame.crop.width, s_frame 540 drivers/media/platform/exynos-gsc/gsc-m2m.c ctx->s_frame.crop.height, sel.r.width, s_frame 642 drivers/media/platform/exynos-gsc/gsc-m2m.c ctx->s_frame.fmt = get_format(0); s_frame 123 drivers/media/platform/exynos-gsc/gsc-regs.c struct gsc_frame *frame = &ctx->s_frame; s_frame 145 drivers/media/platform/exynos-gsc/gsc-regs.c struct gsc_frame *frame = &ctx->s_frame; s_frame 165 drivers/media/platform/exynos-gsc/gsc-regs.c struct gsc_frame *frame = &ctx->s_frame; s_frame 39 drivers/media/platform/exynos4-is/fimc-capture.c if (ctx == NULL || ctx->s_frame.fmt == NULL) s_frame 55 drivers/media/platform/exynos4-is/fimc-capture.c fimc_hw_set_camera_offset(fimc, &ctx->s_frame); s_frame 157 drivers/media/platform/exynos4-is/fimc-capture.c fimc_hw_set_camera_offset(fimc, &ctx->s_frame); s_frame 586 drivers/media/platform/exynos4-is/fimc-capture.c if (code && ctx->s_frame.fmt && pad == FIMC_SD_PAD_SOURCE && s_frame 587 drivers/media/platform/exynos4-is/fimc-capture.c fimc_fmt_is_user_defined(ctx->s_frame.fmt->color)) s_frame 588 drivers/media/platform/exynos4-is/fimc-capture.c *code = ctx->s_frame.fmt->mbus_code; s_frame 619 drivers/media/platform/exynos4-is/fimc-capture.c *width = ctx->s_frame.f_width; s_frame 620 drivers/media/platform/exynos4-is/fimc-capture.c *height = ctx->s_frame.f_height; s_frame 657 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_frame *sink = &ctx->s_frame; s_frame 934 drivers/media/platform/exynos4-is/fimc-capture.c ctx->s_frame.f_width = pix->width; s_frame 935 drivers/media/platform/exynos4-is/fimc-capture.c ctx->s_frame.f_height = pix->height; s_frame 1051 drivers/media/platform/exynos4-is/fimc-capture.c ctx->s_frame.fmt = inp_fmt; s_frame 1052 drivers/media/platform/exynos4-is/fimc-capture.c set_frame_bounds(&ctx->s_frame, pix->width, pix->height); s_frame 1053 drivers/media/platform/exynos4-is/fimc-capture.c set_frame_crop(&ctx->s_frame, 0, 0, pix->width, pix->height); s_frame 1139 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_frame *ff = &vc->ctx->s_frame; s_frame 1270 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_frame *f = &ctx->s_frame; s_frame 1330 drivers/media/platform/exynos4-is/fimc-capture.c f = &ctx->s_frame; s_frame 1495 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_frame *ff = &ctx->s_frame; s_frame 1569 drivers/media/platform/exynos4-is/fimc-capture.c mf->width = ctx->s_frame.width; s_frame 1570 drivers/media/platform/exynos4-is/fimc-capture.c mf->height = ctx->s_frame.height; s_frame 1572 drivers/media/platform/exynos4-is/fimc-capture.c ff = &ctx->s_frame; s_frame 1602 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_frame *f = &ctx->s_frame; s_frame 1658 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_frame *f = &ctx->s_frame; s_frame 1748 drivers/media/platform/exynos4-is/fimc-capture.c ctx->s_frame.fmt = fimc_find_format(NULL, NULL, FMT_FLAGS_CAM, 0); s_frame 1749 drivers/media/platform/exynos4-is/fimc-capture.c ctx->d_frame.fmt = ctx->s_frame.fmt; s_frame 1793 drivers/media/platform/exynos4-is/fimc-capture.c ctx->s_frame.width = FIMC_DEFAULT_WIDTH; s_frame 1794 drivers/media/platform/exynos4-is/fimc-capture.c ctx->s_frame.height = FIMC_DEFAULT_HEIGHT; s_frame 1795 drivers/media/platform/exynos4-is/fimc-capture.c ctx->s_frame.fmt = fmt; s_frame 230 drivers/media/platform/exynos4-is/fimc-core.c struct fimc_frame *s_frame = &ctx->s_frame; s_frame 247 drivers/media/platform/exynos4-is/fimc-core.c sx = s_frame->width; s_frame 248 drivers/media/platform/exynos4-is/fimc-core.c sy = s_frame->height; s_frame 280 drivers/media/platform/exynos4-is/fimc-core.c if (s_frame->fmt->color == d_frame->fmt->color s_frame 281 drivers/media/platform/exynos4-is/fimc-core.c && s_frame->width == d_frame->width s_frame 282 drivers/media/platform/exynos4-is/fimc-core.c && s_frame->height == d_frame->height) s_frame 389 drivers/media/platform/exynos4-is/fimc-core.c switch (ctx->s_frame.fmt->color) { s_frame 527 drivers/media/platform/exynos4-is/fimc-core.c ret = fimc_check_scaler_ratio(ctx, ctx->s_frame.width, s_frame 528 drivers/media/platform/exynos4-is/fimc-core.c ctx->s_frame.height, ctx->d_frame.width, s_frame 482 drivers/media/platform/exynos4-is/fimc-core.h struct fimc_frame s_frame; s_frame 599 drivers/media/platform/exynos4-is/fimc-core.h frame = &ctx->s_frame; s_frame 108 drivers/media/platform/exynos4-is/fimc-m2m.c sf = &ctx->s_frame; s_frame 363 drivers/media/platform/exynos4-is/fimc-m2m.c frame = &ctx->s_frame; s_frame 448 drivers/media/platform/exynos4-is/fimc-m2m.c f = &ctx->s_frame; s_frame 455 drivers/media/platform/exynos4-is/fimc-m2m.c min_size = (f == &ctx->s_frame) ? s_frame 501 drivers/media/platform/exynos4-is/fimc-m2m.c &ctx->s_frame : &ctx->d_frame; s_frame 509 drivers/media/platform/exynos4-is/fimc-m2m.c ret = fimc_check_scaler_ratio(ctx, ctx->s_frame.width, s_frame 510 drivers/media/platform/exynos4-is/fimc-m2m.c ctx->s_frame.height, s->r.width, s_frame 600 drivers/media/platform/exynos4-is/fimc-m2m.c __set_frame_format(&ctx->s_frame, fmt, &pixm); s_frame 632 drivers/media/platform/exynos4-is/fimc-m2m.c ctx->s_frame.fmt = fimc_get_format(0); s_frame 251 drivers/media/platform/exynos4-is/fimc-reg.c struct fimc_frame *src_frame = &ctx->s_frame; s_frame 406 drivers/media/platform/exynos4-is/fimc-reg.c struct fimc_frame *frame = &ctx->s_frame; s_frame 423 drivers/media/platform/exynos4-is/fimc-reg.c struct fimc_frame *frame = &ctx->s_frame; s_frame 493 drivers/media/platform/exynos4-is/fimc-reg.c if (tiled_fmt(ctx->s_frame.fmt)) s_frame 602 drivers/media/platform/exynos4-is/fimc-reg.c struct fimc_frame *f = &vc->ctx->s_frame; s_frame 200 drivers/media/platform/mtk-mdp/mtk_mdp_core.h struct mtk_mdp_frame s_frame; s_frame 263 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c return &ctx->s_frame; s_frame 467 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c struct mtk_mdp_frame *s_frame, *d_frame; s_frame 470 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c s_frame = &ctx->s_frame; s_frame 474 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c mtk_mdp_prepare_addr(ctx, &src_vbuf->vb2_buf, s_frame, &s_frame->addr); s_frame 520 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c mtk_mdp_hw_set_input_addr(ctx, &ctx->s_frame.addr); s_frame 897 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c frame = &ctx->s_frame; s_frame 910 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->s_frame.crop.width, s_frame 911 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->s_frame.crop.height, new_r.width, s_frame 1008 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->s_frame.crop.width, s_frame 1009 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c ctx->s_frame.crop.height, s_frame 70 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c struct mtk_mdp_frame *frame = &ctx->s_frame; s_frame 91 drivers/media/platform/mtk-mdp/mtk_mdp_regs.c struct mtk_mdp_frame *frame = &ctx->s_frame;