Lines Matching refs:fourcc

69 		.fourcc		= V4L2_PIX_FMT_JPEG,
78 .fourcc = V4L2_PIX_FMT_BGR24,
92 .fourcc = V4L2_PIX_FMT_BGR48_12,
106 .fourcc = V4L2_PIX_FMT_ABGR32,
120 .fourcc = V4L2_PIX_FMT_ABGR64_12,
134 .fourcc = V4L2_PIX_FMT_NV12M,
147 .fourcc = V4L2_PIX_FMT_NV12,
160 .fourcc = V4L2_PIX_FMT_P012M,
173 .fourcc = V4L2_PIX_FMT_P012,
186 .fourcc = V4L2_PIX_FMT_YUYV,
199 .fourcc = V4L2_PIX_FMT_Y212,
212 .fourcc = V4L2_PIX_FMT_YUV24,
225 .fourcc = V4L2_PIX_FMT_YUV48_12,
238 .fourcc = V4L2_PIX_FMT_GREY,
251 .fourcc = V4L2_PIX_FMT_Y012,
641 f->pixelformat = mxc_formats[i].fourcc; in enum_fmt()
653 if (fmt->fourcc == pixelformat) in mxc_jpeg_find_format()
659 static enum mxc_jpeg_image_format mxc_jpeg_fourcc_to_imgfmt(u32 fourcc) in mxc_jpeg_fourcc_to_imgfmt() argument
661 switch (fourcc) { in mxc_jpeg_fourcc_to_imgfmt()
993 u32 fourcc, in mxc_jpeg_fixup_sof() argument
997 const struct mxc_jpeg_fmt *fmt = mxc_jpeg_find_format(fourcc); in mxc_jpeg_fixup_sof()
1008 switch (fourcc) { in mxc_jpeg_fixup_sof()
1047 u32 fourcc) in mxc_jpeg_fixup_sos() argument
1052 switch (fourcc) { in mxc_jpeg_fixup_sos()
1092 u32 fourcc, in mxc_jpeg_setup_cfg_stream() argument
1105 const struct mxc_jpeg_fmt *fmt = mxc_jpeg_find_format(fourcc); in mxc_jpeg_setup_cfg_stream()
1134 offset += mxc_jpeg_fixup_sof(sof, fourcc, w, h); in mxc_jpeg_setup_cfg_stream()
1150 offset += mxc_jpeg_fixup_sos(sos, fourcc); in mxc_jpeg_setup_cfg_stream()
1187 img_fmt = mxc_jpeg_fourcc_to_imgfmt(q_data_cap->fmt->fourcc); in mxc_jpeg_config_dec_desc()
1251 q_data->fmt->fourcc, in mxc_jpeg_config_enc_desc()
1277 img_fmt = mxc_jpeg_fourcc_to_imgfmt(q_data->fmt->fourcc); in mxc_jpeg_config_enc_desc()
1308 mxc_formats[i].fourcc != fmt->fourcc) in mxc_jpeg_get_sibling_format()
1358 (jpeg_src_buf->fmt->fourcc & 0xff), in mxc_jpeg_source_change()
1359 (jpeg_src_buf->fmt->fourcc >> 8) & 0xff, in mxc_jpeg_source_change()
1360 (jpeg_src_buf->fmt->fourcc >> 16) & 0xff, in mxc_jpeg_source_change()
1361 (jpeg_src_buf->fmt->fourcc >> 24) & 0xff); in mxc_jpeg_source_change()
1738 u32 fourcc = 0; in mxc_jpeg_get_image_format() local
1742 fourcc = mxc_formats[i].fourcc; in mxc_jpeg_get_image_format()
1746 if (fourcc == 0) { in mxc_jpeg_get_image_format()
1752 return fourcc; in mxc_jpeg_get_image_format()
1755 return fourcc; in mxc_jpeg_get_image_format()
1769 if (q->fmt->fourcc == V4L2_PIX_FMT_JPEG) { in mxc_jpeg_bytesperline()
1792 if (q->fmt->fourcc != V4L2_PIX_FMT_JPEG) { in mxc_jpeg_bytesperline()
1801 if (q->fmt->fourcc == V4L2_PIX_FMT_JPEG) { in mxc_jpeg_sizeimage()
1825 u32 fourcc; in mxc_jpeg_parse() local
1873 fourcc = q_data_cap->fmt->fourcc; in mxc_jpeg_parse()
1875 fourcc = mxc_jpeg_get_image_format(dev, &header); in mxc_jpeg_parse()
1876 if (fourcc == 0) in mxc_jpeg_parse()
1879 jpeg_src_buf->fmt = mxc_jpeg_find_format(fourcc); in mxc_jpeg_parse()
2184 f->pixelformat = q_data->fmt->fourcc; in mxc_jpeg_enum_fmt_vid_cap()
2190 f->pixelformat = sibling->fourcc; in mxc_jpeg_enum_fmt_vid_cap()
2233 static u32 mxc_jpeg_try_fourcc(struct mxc_jpeg_ctx *ctx, u32 fourcc) in mxc_jpeg_try_fourcc() argument
2239 return fourcc; in mxc_jpeg_try_fourcc()
2241 return fourcc; in mxc_jpeg_try_fourcc()
2244 if (q_data_cap->fmt->fourcc == fourcc) in mxc_jpeg_try_fourcc()
2245 return fourcc; in mxc_jpeg_try_fourcc()
2248 if (sibling && sibling->fourcc == fourcc) in mxc_jpeg_try_fourcc()
2249 return sibling->fourcc; in mxc_jpeg_try_fourcc()
2251 return q_data_cap->fmt->fourcc; in mxc_jpeg_try_fourcc()
2260 u32 fourcc = f->fmt.pix_mp.pixelformat; in mxc_jpeg_try_fmt() local
2267 fmt = mxc_jpeg_find_format(fourcc); in mxc_jpeg_try_fmt()
2270 (fourcc & 0xff), in mxc_jpeg_try_fmt()
2271 (fourcc >> 8) & 0xff, in mxc_jpeg_try_fmt()
2272 (fourcc >> 16) & 0xff, in mxc_jpeg_try_fmt()
2273 (fourcc >> 24) & 0xff); in mxc_jpeg_try_fmt()
2274 fourcc = mxc_jpeg_get_default_fourcc(ctx, f->type); in mxc_jpeg_try_fmt()
2275 fmt = mxc_jpeg_find_format(fourcc); in mxc_jpeg_try_fmt()
2278 f->fmt.pix_mp.pixelformat = fourcc; in mxc_jpeg_try_fmt()
2285 pix_mp->pixelformat = fmt->fourcc; in mxc_jpeg_try_fmt()
2448 fc.fmt.pix_mp.pixelformat = q_data_cap->fmt->fourcc; in mxc_jpeg_s_fmt_vid_out()
2470 pix_mp->pixelformat = q_data->fmt->fourcc; in mxc_jpeg_g_fmt_vid()