• Home
  • Raw
  • Download

Lines Matching refs:fourcc

69 		.fourcc		= V4L2_PIX_FMT_JPEG,
77 .fourcc = V4L2_PIX_FMT_BGR24,
89 .fourcc = V4L2_PIX_FMT_ABGR32,
101 .fourcc = V4L2_PIX_FMT_NV12M,
113 .fourcc = V4L2_PIX_FMT_YUYV,
125 .fourcc = V4L2_PIX_FMT_YUV24,
137 .fourcc = V4L2_PIX_FMT_GREY,
392 f->pixelformat = mxc_formats[i].fourcc; in enum_fmt()
405 if (fmt->fourcc == pixelformat) in mxc_jpeg_find_format()
411 static enum mxc_jpeg_image_format mxc_jpeg_fourcc_to_imgfmt(u32 fourcc) in mxc_jpeg_fourcc_to_imgfmt() argument
413 switch (fourcc) { in mxc_jpeg_fourcc_to_imgfmt()
685 u32 fourcc, in mxc_jpeg_fixup_sof() argument
696 switch (fourcc) { in mxc_jpeg_fixup_sof()
727 u32 fourcc) in mxc_jpeg_fixup_sos() argument
732 switch (fourcc) { in mxc_jpeg_fixup_sos()
764 u32 fourcc, in mxc_jpeg_setup_cfg_stream() argument
781 if (fourcc == V4L2_PIX_FMT_BGR24 || in mxc_jpeg_setup_cfg_stream()
782 fourcc == V4L2_PIX_FMT_ABGR32) { in mxc_jpeg_setup_cfg_stream()
796 offset += mxc_jpeg_fixup_sof(sof, fourcc, w, h); in mxc_jpeg_setup_cfg_stream()
807 offset += mxc_jpeg_fixup_sos(sos, fourcc); in mxc_jpeg_setup_cfg_stream()
844 img_fmt = mxc_jpeg_fourcc_to_imgfmt(q_data_cap->fmt->fourcc); in mxc_jpeg_config_dec_desc()
904 q_data->fmt->fourcc, in mxc_jpeg_config_enc_desc()
928 img_fmt = mxc_jpeg_fourcc_to_imgfmt(q_data->fmt->fourcc); in mxc_jpeg_config_enc_desc()
962 (jpeg_src_buf->fmt->fourcc & 0xff), in mxc_jpeg_source_change()
963 (jpeg_src_buf->fmt->fourcc >> 8) & 0xff, in mxc_jpeg_source_change()
964 (jpeg_src_buf->fmt->fourcc >> 16) & 0xff, in mxc_jpeg_source_change()
965 (jpeg_src_buf->fmt->fourcc >> 24) & 0xff); in mxc_jpeg_source_change()
1284 u32 fourcc = 0; in mxc_jpeg_get_image_format() local
1290 fourcc = mxc_formats[i].fourcc; in mxc_jpeg_get_image_format()
1293 if (fourcc == 0) { in mxc_jpeg_get_image_format()
1299 return fourcc; in mxc_jpeg_get_image_format()
1306 if (fourcc == V4L2_PIX_FMT_YUV24 || fourcc == V4L2_PIX_FMT_BGR24) { in mxc_jpeg_get_image_format()
1308 fourcc = V4L2_PIX_FMT_BGR24; in mxc_jpeg_get_image_format()
1310 fourcc = V4L2_PIX_FMT_YUV24; in mxc_jpeg_get_image_format()
1313 return fourcc; in mxc_jpeg_get_image_format()
1319 if (q->fmt->fourcc == V4L2_PIX_FMT_JPEG) { in mxc_jpeg_bytesperline()
1345 if (q->fmt->fourcc == V4L2_PIX_FMT_JPEG) { in mxc_jpeg_sizeimage()
1359 if (q->fmt->fourcc == V4L2_PIX_FMT_NV12M) in mxc_jpeg_sizeimage()
1368 u32 fourcc; in mxc_jpeg_parse() local
1425 fourcc = mxc_jpeg_get_image_format(dev, &header); in mxc_jpeg_parse()
1426 if (fourcc == 0) in mxc_jpeg_parse()
1429 jpeg_src_buf->fmt = mxc_jpeg_find_format(ctx, fourcc); in mxc_jpeg_parse()
1726 f->pixelformat = q_data->fmt->fourcc; in mxc_jpeg_enum_fmt_vid_cap()
1762 pix_mp->pixelformat = fmt->fourcc; in mxc_jpeg_try_fmt()
1819 u32 fourcc = f->fmt.pix_mp.pixelformat; in mxc_jpeg_try_fmt_vid_cap() local
1829 fmt = mxc_jpeg_find_format(ctx, fourcc); in mxc_jpeg_try_fmt_vid_cap()
1832 (fourcc & 0xff), in mxc_jpeg_try_fmt_vid_cap()
1833 (fourcc >> 8) & 0xff, in mxc_jpeg_try_fmt_vid_cap()
1834 (fourcc >> 16) & 0xff, in mxc_jpeg_try_fmt_vid_cap()
1835 (fourcc >> 24) & 0xff); in mxc_jpeg_try_fmt_vid_cap()
1850 u32 fourcc = f->fmt.pix_mp.pixelformat; in mxc_jpeg_try_fmt_vid_out() local
1860 fmt = mxc_jpeg_find_format(ctx, fourcc); in mxc_jpeg_try_fmt_vid_out()
1863 (fourcc & 0xff), in mxc_jpeg_try_fmt_vid_out()
1864 (fourcc >> 8) & 0xff, in mxc_jpeg_try_fmt_vid_out()
1865 (fourcc >> 16) & 0xff, in mxc_jpeg_try_fmt_vid_out()
1866 (fourcc >> 24) & 0xff); in mxc_jpeg_try_fmt_vid_out()
1967 fc.fmt.pix_mp.pixelformat = q_data_cap->fmt->fourcc; in mxc_jpeg_s_fmt_vid_out()
1989 pix_mp->pixelformat = q_data->fmt->fourcc; in mxc_jpeg_g_fmt_vid()