Lines Matching refs:ff

1030 	struct fimc_frame *ff = &ctx->d_frame;  in __fimc_capture_set_format()  local
1037 ret = __video_try_or_set_format(fimc, f, false, &inp_fmt, &ff->fmt); in __fimc_capture_set_format()
1044 for (i = 0; i < ff->fmt->memplanes; i++) { in __fimc_capture_set_format()
1045 ff->bytesperline[i] = pix->plane_fmt[i].bytesperline; in __fimc_capture_set_format()
1046 ff->payload[i] = pix->plane_fmt[i].sizeimage; in __fimc_capture_set_format()
1049 set_frame_bounds(ff, pix->width, pix->height); in __fimc_capture_set_format()
1052 set_frame_crop(ff, 0, 0, pix->width, pix->height); in __fimc_capture_set_format()
1054 fimc_capture_mark_jpeg_xfer(ctx, ff->fmt->color); in __fimc_capture_set_format()
1146 struct fimc_frame *ff = &vc->ctx->s_frame; in fimc_pipeline_validate() local
1147 sink_fmt.format.width = ff->f_width; in fimc_pipeline_validate()
1148 sink_fmt.format.height = ff->f_height; in fimc_pipeline_validate()
1149 sink_fmt.format.code = ff->fmt ? ff->fmt->mbus_code : 0; in fimc_pipeline_validate()
1500 struct fimc_frame *ff = &ctx->s_frame; in fimc_subdev_get_fmt() local
1514 if (!WARN_ON(ff->fmt == NULL)) in fimc_subdev_get_fmt()
1515 mf->code = ff->fmt->mbus_code; in fimc_subdev_get_fmt()
1517 mf->width = ff->width; in fimc_subdev_get_fmt()
1518 mf->height = ff->height; in fimc_subdev_get_fmt()
1543 struct fimc_frame *ff; in fimc_subdev_set_fmt() local
1572 ff = &ctx->d_frame; in fimc_subdev_set_fmt()
1577 ff = &ctx->s_frame; in fimc_subdev_set_fmt()
1581 set_frame_bounds(ff, mf->width, mf->height); in fimc_subdev_set_fmt()
1588 ff->fmt = ffmt; in fimc_subdev_set_fmt()
1592 set_frame_crop(ff, 0, 0, mf->width, mf->height); in fimc_subdev_set_fmt()