Lines Matching defs:pix
692 struct v4l2_pix_format *pix = &f->fmt.pix;
696 pix->bytesperline = frame->f_width * fmt->ybpp;
697 pix->sizeimage = vp->payload;
699 pix->pixelformat = fmt->fourcc;
700 pix->width = frame->f_width;
701 pix->height = frame->f_height;
702 pix->field = V4L2_FIELD_NONE;
703 pix->colorspace = V4L2_COLORSPACE_JPEG;
709 struct v4l2_pix_format *pix,
718 fmt = s3c_camif_find_format(vp, &pix->pixelformat, 0);
729 pix->width, pix->height, crop->width, crop->height,
730 pix->bytesperline);
743 v4l_bound_align_image(&pix->width, wmin, pix_lim->max_sc_out_width,
745 &pix->height, hmin, pix_lim->max_height, 0, 0);
747 pix->bytesperline = pix->width * fmt->ybpp;
748 pix->sizeimage = (pix->width * pix->height * fmt->depth) / 8;
749 pix->pixelformat = fmt->fourcc;
750 pix->colorspace = V4L2_COLORSPACE_JPEG;
751 pix->field = V4L2_FIELD_NONE;
754 pix->width, pix->height, wmin, hmin, sc_hrmax, sc_vrmax);
763 return __camif_video_try_format(vp, &f->fmt.pix, NULL);
769 struct v4l2_pix_format *pix = &f->fmt.pix;
780 ret = __camif_video_try_format(vp, &f->fmt.pix, &fmt);
785 vp->payload = pix->sizeimage;
786 out_frame->f_width = pix->width;
787 out_frame->f_height = pix->height;
790 out_frame->rect.width = pix->width;
791 out_frame->rect.height = pix->height;
800 fmt->fourcc, pix->width * pix->height * fmt->depth,
801 fmt->depth, pix->sizeimage, pix->bytesperline);