Lines Matching defs:pix
908 struct v4l2_pix_format_mplane *pix = &f->fmt.pix_mp;
916 if (fimc_jpeg_fourcc(pix->pixelformat)) {
917 fimc_capture_try_format(ctx, &pix->width, &pix->height,
918 NULL, &pix->pixelformat,
921 width = pix->width;
922 height = pix->height;
924 ctx->s_frame.f_width = pix->width;
925 ctx->s_frame.f_height = pix->height;
930 *out_fmt = fimc_capture_try_format(ctx, &pix->width, &pix->height,
931 NULL, &pix->pixelformat,
937 if (try && fimc_jpeg_fourcc(pix->pixelformat)) {
938 pix->width = width;
939 pix->height = height;
950 mf->width = pix->width;
951 mf->height = pix->height;
960 pix->width = mf->width;
961 pix->height = mf->height;
964 fimc_adjust_mplane_format(*out_fmt, pix->width, pix->height, pix);
973 fimc_get_sensor_frame_desc(sensor, pix->plane_fmt,
1012 struct v4l2_pix_format_mplane *pix = &f->fmt.pix_mp;
1028 ff->bytesperline[i] = pix->plane_fmt[i].bytesperline;
1029 ff->payload[i] = pix->plane_fmt[i].sizeimage;
1032 set_frame_bounds(ff, pix->width, pix->height);
1035 set_frame_crop(ff, 0, 0, pix->width, pix->height);
1042 set_frame_bounds(&ctx->s_frame, pix->width, pix->height);
1043 set_frame_crop(&ctx->s_frame, 0, 0, pix->width, pix->height);