Lines Matching refs:ff

806 	struct fimc_frame *ff = &ctx->d_frame;
824 ff->fmt = fimc_capture_try_format(ctx, &pix->width, &pix->height,
827 if (!ff->fmt)
835 mf->code = ff->fmt->mbus_code;
847 fimc_adjust_mplane_format(ff->fmt, pix->width, pix->height, pix);
848 for (i = 0; i < ff->fmt->colplanes; i++)
849 ff->payload[i] =
850 (pix->width * pix->height * ff->fmt->depth[i]) / 8;
852 set_frame_bounds(ff, pix->width, pix->height);
855 set_frame_crop(ff, 0, 0, pix->width, pix->height);
857 fimc_capture_mark_jpeg_xfer(ctx, fimc_fmt_is_jpeg(ff->fmt->color));
931 struct fimc_frame *ff = &vid_cap->ctx->s_frame;
932 sink_fmt.format.width = ff->f_width;
933 sink_fmt.format.height = ff->f_height;
934 sink_fmt.format.code = ff->fmt ? ff->fmt->mbus_code : 0;
1273 struct fimc_frame *ff;
1282 ff = fmt->pad == FIMC_SD_PAD_SINK ? &ctx->s_frame : &ctx->d_frame;
1288 mf->width = ff->f_width;
1289 mf->height = ff->f_height;
1302 struct fimc_frame *ff;
1328 ff = fmt->pad == FIMC_SD_PAD_SINK ?
1332 set_frame_bounds(ff, mf->width, mf->height);
1334 ff->fmt = ffmt;
1338 set_frame_crop(ff, 0, 0, mf->width, mf->height);
1353 struct fimc_frame *ff;
1359 ff = crop->pad == FIMC_SD_PAD_SINK ?
1363 r->left = ff->offs_h;
1364 r->top = ff->offs_v;
1365 r->width = ff->width;
1366 r->height = ff->height;
1369 dbg("ff:%p, pad%d: l:%d, t:%d, %dx%d, f_w: %d, f_h: %d",
1370 ff, crop->pad, r->left, r->top, r->width, r->height,
1371 ff->f_width, ff->f_height);
1383 struct fimc_frame *ff;
1388 ff = crop->pad == FIMC_SD_PAD_SOURCE ?
1400 set_frame_crop(ff, r->left, r->top, r->width, r->height);