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()
576 if (code && ctx->s_frame.fmt && pad == FIMC_SD_PAD_SOURCE && in fimc_capture_try_format()
577 fimc_fmt_is_user_defined(ctx->s_frame.fmt->color)) in fimc_capture_try_format()
578 *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()
647 struct fimc_frame *sink = &ctx->s_frame; in fimc_capture_try_selection()
924 ctx->s_frame.f_width = pix->width; in __video_try_or_set_format()
925 ctx->s_frame.f_height = pix->height; in __video_try_or_set_format()
1041 ctx->s_frame.fmt = inp_fmt; in __fimc_capture_set_format()
1042 set_frame_bounds(&ctx->s_frame, pix->width, pix->height); in __fimc_capture_set_format()
1043 set_frame_crop(&ctx->s_frame, 0, 0, pix->width, pix->height); in __fimc_capture_set_format()
1129 struct fimc_frame *ff = &vc->ctx->s_frame; in fimc_pipeline_validate()
1262 struct fimc_frame *f = &ctx->s_frame; in fimc_cap_g_selection()
1309 f = &ctx->s_frame; in fimc_cap_s_selection()
1474 struct fimc_frame *ff = &ctx->s_frame; in fimc_subdev_get_fmt()
1548 mf->width = ctx->s_frame.width; in fimc_subdev_set_fmt()
1549 mf->height = ctx->s_frame.height; in fimc_subdev_set_fmt()
1551 ff = &ctx->s_frame; in fimc_subdev_set_fmt()
1581 struct fimc_frame *f = &ctx->s_frame; in fimc_subdev_get_selection()
1637 struct fimc_frame *f = &ctx->s_frame; in fimc_subdev_set_selection()
1727 ctx->s_frame.fmt = fimc_find_format(NULL, NULL, FMT_FLAGS_CAM, 0); in fimc_register_capture_device()
1728 ctx->d_frame.fmt = ctx->s_frame.fmt; in fimc_register_capture_device()
1772 ctx->s_frame.width = FIMC_DEFAULT_WIDTH; in fimc_register_capture_device()
1773 ctx->s_frame.height = FIMC_DEFAULT_HEIGHT; in fimc_register_capture_device()
1774 ctx->s_frame.fmt = fmt; in fimc_register_capture_device()