Lines Matching refs:pix
925 struct v4l2_pix_format_mplane *pix = &f->fmt.pix_mp; in __video_try_or_set_format() local
933 if (fimc_jpeg_fourcc(pix->pixelformat)) { in __video_try_or_set_format()
934 fimc_capture_try_format(ctx, &pix->width, &pix->height, in __video_try_or_set_format()
935 NULL, &pix->pixelformat, in __video_try_or_set_format()
938 width = pix->width; in __video_try_or_set_format()
939 height = pix->height; in __video_try_or_set_format()
941 ctx->s_frame.f_width = pix->width; in __video_try_or_set_format()
942 ctx->s_frame.f_height = pix->height; in __video_try_or_set_format()
947 *out_fmt = fimc_capture_try_format(ctx, &pix->width, &pix->height, in __video_try_or_set_format()
948 NULL, &pix->pixelformat, in __video_try_or_set_format()
954 if (try && fimc_jpeg_fourcc(pix->pixelformat)) { in __video_try_or_set_format()
955 pix->width = width; in __video_try_or_set_format()
956 pix->height = height; in __video_try_or_set_format()
967 mf->width = pix->width; in __video_try_or_set_format()
968 mf->height = pix->height; in __video_try_or_set_format()
977 pix->width = mf->width; in __video_try_or_set_format()
978 pix->height = mf->height; in __video_try_or_set_format()
981 fimc_adjust_mplane_format(*out_fmt, pix->width, pix->height, pix); in __video_try_or_set_format()
990 fimc_get_sensor_frame_desc(sensor, pix->plane_fmt, in __video_try_or_set_format()
1029 struct v4l2_pix_format_mplane *pix = &f->fmt.pix_mp; in __fimc_capture_set_format() local
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()
1059 set_frame_bounds(&ctx->s_frame, pix->width, pix->height); in __fimc_capture_set_format()
1060 set_frame_crop(&ctx->s_frame, 0, 0, pix->width, pix->height); in __fimc_capture_set_format()