Lines Matching refs:pix_mp

1750 	struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp;  in mxc_jpeg_try_fmt()  local
1752 u32 w = (pix_mp->width < MXC_JPEG_MAX_WIDTH) ? in mxc_jpeg_try_fmt()
1753 pix_mp->width : MXC_JPEG_MAX_WIDTH; in mxc_jpeg_try_fmt()
1754 u32 h = (pix_mp->height < MXC_JPEG_MAX_HEIGHT) ? in mxc_jpeg_try_fmt()
1755 pix_mp->height : MXC_JPEG_MAX_HEIGHT; in mxc_jpeg_try_fmt()
1759 memset(pix_mp->reserved, 0, sizeof(pix_mp->reserved)); in mxc_jpeg_try_fmt()
1760 pix_mp->field = V4L2_FIELD_NONE; in mxc_jpeg_try_fmt()
1761 pix_mp->num_planes = fmt->colplanes; in mxc_jpeg_try_fmt()
1762 pix_mp->pixelformat = fmt->fourcc; in mxc_jpeg_try_fmt()
1764 pix_mp->width = w; in mxc_jpeg_try_fmt()
1765 pix_mp->height = h; in mxc_jpeg_try_fmt()
1780 for (i = 0; i < pix_mp->num_planes; i++) { in mxc_jpeg_try_fmt()
1781 pfmt = &pix_mp->plane_fmt[i]; in mxc_jpeg_try_fmt()
1791 for (i = 0; i < pix_mp->num_planes; i++) { in mxc_jpeg_try_fmt()
1792 pfmt = &pix_mp->plane_fmt[i]; in mxc_jpeg_try_fmt()
1799 pix_mp->colorspace = V4L2_COLORSPACE_SRGB; in mxc_jpeg_try_fmt()
1800 pix_mp->ycbcr_enc = V4L2_YCBCR_ENC_601; in mxc_jpeg_try_fmt()
1801 pix_mp->xfer_func = V4L2_XFER_FUNC_SRGB; in mxc_jpeg_try_fmt()
1807 pix_mp->quantization = V4L2_QUANTIZATION_FULL_RANGE; in mxc_jpeg_try_fmt()
1819 u32 fourcc = f->fmt.pix_mp.pixelformat; in mxc_jpeg_try_fmt_vid_cap()
1836 f->fmt.pix_mp.pixelformat = (jpeg->mode == MXC_JPEG_DECODE) ? in mxc_jpeg_try_fmt_vid_cap()
1838 fmt = mxc_jpeg_find_format(ctx, f->fmt.pix_mp.pixelformat); in mxc_jpeg_try_fmt_vid_cap()
1850 u32 fourcc = f->fmt.pix_mp.pixelformat; in mxc_jpeg_try_fmt_vid_out()
1867 f->fmt.pix_mp.pixelformat = (jpeg->mode == MXC_JPEG_ENCODE) ? in mxc_jpeg_try_fmt_vid_out()
1869 fmt = mxc_jpeg_find_format(ctx, f->fmt.pix_mp.pixelformat); in mxc_jpeg_try_fmt_vid_out()
1879 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp; in mxc_jpeg_s_fmt() local
1894 q_data->fmt = mxc_jpeg_find_format(ctx, pix_mp->pixelformat); in mxc_jpeg_s_fmt()
1895 q_data->w = pix_mp->width; in mxc_jpeg_s_fmt()
1896 q_data->h = pix_mp->height; in mxc_jpeg_s_fmt()
1914 for (i = 0; i < pix_mp->num_planes; i++) { in mxc_jpeg_s_fmt()
1915 q_data->bytesperline[i] = pix_mp->plane_fmt[i].bytesperline; in mxc_jpeg_s_fmt()
1916 q_data->sizeimage[i] = pix_mp->plane_fmt[i].sizeimage; in mxc_jpeg_s_fmt()
1963 if (q_data_cap->w == f->fmt.pix_mp.width && q_data_cap->h == f->fmt.pix_mp.height) in mxc_jpeg_s_fmt_vid_out()
1967 fc.fmt.pix_mp.pixelformat = q_data_cap->fmt->fourcc; in mxc_jpeg_s_fmt_vid_out()
1968 fc.fmt.pix_mp.width = f->fmt.pix_mp.width; in mxc_jpeg_s_fmt_vid_out()
1969 fc.fmt.pix_mp.height = f->fmt.pix_mp.height; in mxc_jpeg_s_fmt_vid_out()
1980 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp; in mxc_jpeg_g_fmt_vid() local
1989 pix_mp->pixelformat = q_data->fmt->fourcc; in mxc_jpeg_g_fmt_vid()
1990 pix_mp->width = q_data->w; in mxc_jpeg_g_fmt_vid()
1991 pix_mp->height = q_data->h; in mxc_jpeg_g_fmt_vid()
1992 pix_mp->field = V4L2_FIELD_NONE; in mxc_jpeg_g_fmt_vid()
1995 pix_mp->colorspace = V4L2_COLORSPACE_SRGB; in mxc_jpeg_g_fmt_vid()
1996 pix_mp->ycbcr_enc = V4L2_YCBCR_ENC_601; in mxc_jpeg_g_fmt_vid()
1997 pix_mp->xfer_func = V4L2_XFER_FUNC_SRGB; in mxc_jpeg_g_fmt_vid()
1998 pix_mp->quantization = V4L2_QUANTIZATION_FULL_RANGE; in mxc_jpeg_g_fmt_vid()
2000 pix_mp->num_planes = q_data->fmt->colplanes; in mxc_jpeg_g_fmt_vid()
2001 for (i = 0; i < pix_mp->num_planes; i++) { in mxc_jpeg_g_fmt_vid()
2002 pix_mp->plane_fmt[i].bytesperline = q_data->bytesperline[i]; in mxc_jpeg_g_fmt_vid()
2003 pix_mp->plane_fmt[i].sizeimage = q_data->sizeimage[i]; in mxc_jpeg_g_fmt_vid()