Lines Matching refs:s_frame
40 if (ctx == NULL || ctx->s_frame.fmt == NULL) in fimc_capture_hw_init()
56 fimc_hw_set_camera_offset(fimc, &ctx->s_frame); in fimc_capture_hw_init()
158 fimc_hw_set_camera_offset(fimc, &ctx->s_frame); in fimc_capture_config_update()
578 if (code && ctx->s_frame.fmt && pad == FIMC_SD_PAD_SOURCE && in fimc_capture_try_format()
579 fimc_fmt_is_user_defined(ctx->s_frame.fmt->color)) in fimc_capture_try_format()
580 *code = ctx->s_frame.fmt->mbus_code; in fimc_capture_try_format()
611 *width = ctx->s_frame.f_width; in fimc_capture_try_format()
612 *height = ctx->s_frame.f_height; in fimc_capture_try_format()
649 struct fimc_frame *sink = &ctx->s_frame; in fimc_capture_try_selection()
926 ctx->s_frame.f_width = pix->width; in __video_try_or_set_format()
927 ctx->s_frame.f_height = pix->height; in __video_try_or_set_format()
1043 ctx->s_frame.fmt = inp_fmt; in __fimc_capture_set_format()
1044 set_frame_bounds(&ctx->s_frame, pix->width, pix->height); in __fimc_capture_set_format()
1045 set_frame_crop(&ctx->s_frame, 0, 0, pix->width, pix->height); in __fimc_capture_set_format()
1131 struct fimc_frame *ff = &vc->ctx->s_frame; in fimc_pipeline_validate()
1265 struct fimc_frame *f = &ctx->s_frame; in fimc_cap_g_selection()
1312 f = &ctx->s_frame; in fimc_cap_s_selection()
1477 struct fimc_frame *ff = &ctx->s_frame; in fimc_subdev_get_fmt()
1551 mf->width = ctx->s_frame.width; in fimc_subdev_set_fmt()
1552 mf->height = ctx->s_frame.height; in fimc_subdev_set_fmt()
1554 ff = &ctx->s_frame; in fimc_subdev_set_fmt()
1584 struct fimc_frame *f = &ctx->s_frame; in fimc_subdev_get_selection()
1640 struct fimc_frame *f = &ctx->s_frame; in fimc_subdev_set_selection()
1730 ctx->s_frame.fmt = fimc_find_format(NULL, NULL, FMT_FLAGS_CAM, 0); in fimc_register_capture_device()
1731 ctx->d_frame.fmt = ctx->s_frame.fmt; in fimc_register_capture_device()
1775 ctx->s_frame.width = FIMC_DEFAULT_WIDTH; in fimc_register_capture_device()
1776 ctx->s_frame.height = FIMC_DEFAULT_HEIGHT; in fimc_register_capture_device()
1777 ctx->s_frame.fmt = fmt; in fimc_register_capture_device()