Lines Matching refs:s_frame
39 if (ctx == NULL || ctx->s_frame.fmt == NULL) in fimc_capture_hw_init()
55 fimc_hw_set_camera_offset(fimc, &ctx->s_frame); in fimc_capture_hw_init()
157 fimc_hw_set_camera_offset(fimc, &ctx->s_frame); in fimc_capture_config_update()
586 if (code && ctx->s_frame.fmt && pad == FIMC_SD_PAD_SOURCE && in fimc_capture_try_format()
587 fimc_fmt_is_user_defined(ctx->s_frame.fmt->color)) in fimc_capture_try_format()
588 *code = ctx->s_frame.fmt->mbus_code; in fimc_capture_try_format()
619 *width = ctx->s_frame.f_width; in fimc_capture_try_format()
620 *height = ctx->s_frame.f_height; in fimc_capture_try_format()
657 struct fimc_frame *sink = &ctx->s_frame; in fimc_capture_try_selection()
934 ctx->s_frame.f_width = pix->width; in __video_try_or_set_format()
935 ctx->s_frame.f_height = pix->height; in __video_try_or_set_format()
1051 ctx->s_frame.fmt = inp_fmt; in __fimc_capture_set_format()
1052 set_frame_bounds(&ctx->s_frame, pix->width, pix->height); in __fimc_capture_set_format()
1053 set_frame_crop(&ctx->s_frame, 0, 0, pix->width, pix->height); in __fimc_capture_set_format()
1139 struct fimc_frame *ff = &vc->ctx->s_frame; in fimc_pipeline_validate()
1270 struct fimc_frame *f = &ctx->s_frame; in fimc_cap_g_selection()
1330 f = &ctx->s_frame; in fimc_cap_s_selection()
1495 struct fimc_frame *ff = &ctx->s_frame; in fimc_subdev_get_fmt()
1569 mf->width = ctx->s_frame.width; in fimc_subdev_set_fmt()
1570 mf->height = ctx->s_frame.height; in fimc_subdev_set_fmt()
1572 ff = &ctx->s_frame; in fimc_subdev_set_fmt()
1602 struct fimc_frame *f = &ctx->s_frame; in fimc_subdev_get_selection()
1658 struct fimc_frame *f = &ctx->s_frame; in fimc_subdev_set_selection()
1748 ctx->s_frame.fmt = fimc_find_format(NULL, NULL, FMT_FLAGS_CAM, 0); in fimc_register_capture_device()
1749 ctx->d_frame.fmt = ctx->s_frame.fmt; in fimc_register_capture_device()
1793 ctx->s_frame.width = FIMC_DEFAULT_WIDTH; in fimc_register_capture_device()
1794 ctx->s_frame.height = FIMC_DEFAULT_HEIGHT; in fimc_register_capture_device()
1795 ctx->s_frame.fmt = fmt; in fimc_register_capture_device()