Searched defs:pixelformat (Results 1 - 20 of 20) sorted by relevance

/drivers/staging/media/easycap/
H A Deasycap_settings.c321 u32 width, height, pixelformat, bytesperline, sizeimage; local
530 pixelformat = V4L2_PIX_FMT_UYVY;
536 pixelformat = V4L2_PIX_FMT_YUYV;
543 pixelformat = V4L2_PIX_FMT_RGB24;
549 pixelformat = V4L2_PIX_FMT_RGB32;
555 pixelformat = V4L2_PIX_FMT_BGR24;
562 pixelformat = V4L2_PIX_FMT_BGR32;
605 fmt->fmt.pix.pixelformat = pixelformat;
H A Deasycap_ioctl.c346 * peasycap->pixelformat
362 u32 width, u32 height, u32 pixelformat, int field, bool try)
386 uc = pixelformat;
391 width, height, pc, pixelformat, field, mask);
449 peasycap_format->v4l2_format.fmt.pix.pixelformat,
455 (peasycap_format->v4l2_format.fmt.pix.pixelformat == pixelformat) &&
472 (peasycap_format->v4l2_format.fmt.pix.pixelformat == pixelformat)) {
514 peasycap->pixelformat
361 adjust_format(struct easycap *peasycap, u32 width, u32 height, u32 pixelformat, int field, bool try) argument
[all...]
H A Deasycap.h378 u32 pixelformat; member in struct:easycap
/drivers/media/video/cx18/
H A Dcx18-streams.c113 u32 pixelformat,
132 buf->vb.field != field || s->pixelformat != pixelformat ||
139 s->pixelformat = pixelformat;
143 if (s->pixelformat == V4L2_PIX_FMT_HM12)
161 s->pixelformat = pixelformat;
165 if (s->pixelformat == V4L2_PIX_FMT_HM12)
216 return cx18_prepare_buffer(q, s, buf, s->pixelformat,
110 cx18_prepare_buffer(struct videobuf_queue *q, struct cx18_stream *s, struct cx18_videobuf_buffer *buf, u32 pixelformat, unsigned int width, unsigned int height, enum v4l2_field field) argument
[all...]
H A Dcx18-driver.h409 u32 pixelformat; member in struct:cx18_stream
/drivers/media/video/omap3isp/
H A Dispvideo.h53 * @pixelformat: V4L2 pixel format FCC identifier
61 u32 pixelformat; member in struct:isp_format_info
/drivers/media/video/pwc/
H A Dpwc-v4l.c405 f->fmt.pix.pixelformat = pixfmt;
409 "width=%d, height=%d, bytesperline=%d, sizeimage=%d, pixelformat=%c%c%c%c\n",
414 (f->fmt.pix.pixelformat)&255,
415 (f->fmt.pix.pixelformat>>8)&255,
416 (f->fmt.pix.pixelformat>>16)&255,
417 (f->fmt.pix.pixelformat>>24)&255);
430 switch (f->fmt.pix.pixelformat) {
455 f->fmt.pix.pixelformat);
465 int ret, pixelformat, compression = 0; local
474 pixelformat
[all...]
/drivers/media/common/
H A Dsaa7146_hlp.c561 static void saa7146_set_position(struct saa7146_dev *dev, int w_x, int w_y, int w_height, enum v4l2_field field, u32 pixelformat) argument
564 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev, pixelformat);
655 saa7146_set_position(dev, fh->ov.win.w.left, fh->ov.win.w.top, fh->ov.win.w.height, fh->ov.win.field, vv->ov_fmt->pixelformat);
708 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat);
833 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat);
1000 struct saa7146_format *sfmt = saa7146_format_by_fourcc(dev,buf->fmt->pixelformat);
/drivers/media/video/blackfin/
H A Dbfin_capture.c52 u32 pixelformat; member in struct:bcap_format
116 .pixelformat = V4L2_PIX_FMT_UYVY,
122 .pixelformat = V4L2_PIX_FMT_YUYV,
128 .pixelformat = V4L2_PIX_FMT_RGB565,
134 .pixelformat = V4L2_PIX_FMT_RGB444,
659 if (pixfmt->pixelformat == fmt->pixelformat)
693 fmt->pixelformat = sf[fmt->index].pixelformat;
/drivers/staging/media/go7007/
H A Dgo7007-v4l2.c172 if (fmt != NULL && fmt->fmt.pix.pixelformat != V4L2_PIX_FMT_MJPEG &&
173 fmt->fmt.pix.pixelformat != V4L2_PIX_FMT_MPEG &&
174 fmt->fmt.pix.pixelformat != V4L2_PIX_FMT_MPEG4)
228 u32 pixelformat = fmt->fmt.pix.pixelformat; local
234 fmt->fmt.pix.pixelformat = pixelformat;
289 switch (fmt->fmt.pix.pixelformat) {
629 fmt->pixelformat = V4L2_PIX_FMT_MJPEG;
633 fmt->pixelformat
[all...]
/drivers/video/
H A Dsh_mobile_meram.c114 * @pixelformat: Video pixel format of the data stored in the ICB
124 unsigned int pixelformat; member in struct:sh_mobile_meram_icb
255 int pixelformat)
258 unsigned int nplanes = is_nvcolor(pixelformat) ? 2 : 1;
278 cache->planes[0].marker->pixelformat = pixelformat;
450 unsigned int pixelformat,
458 if (pixelformat != SH_MOBILE_MERAM_PF_NV &&
459 pixelformat != SH_MOBILE_MERAM_PF_NV24 &&
460 pixelformat !
253 meram_alloc(struct sh_mobile_meram_priv *priv, const struct sh_mobile_meram_cfg *cfg, int pixelformat) argument
447 sh_mobile_meram_register(struct sh_mobile_meram_info *pdata, const struct sh_mobile_meram_cfg *cfg, unsigned int xres, unsigned int yres, unsigned int pixelformat, unsigned int *pitch) argument
[all...]
H A Dsh_mobile_lcdcfb.c841 int pixelformat; local
870 pixelformat = SH_MOBILE_MERAM_PF_NV;
874 pixelformat = SH_MOBILE_MERAM_PF_NV24;
880 pixelformat = SH_MOBILE_MERAM_PF_RGB;
885 ch->pitch, ch->yres, pixelformat,
/drivers/media/video/
H A Dfsl-viu.c98 u32 pixelformat; member in struct:viu_fmt
106 .pixelformat = V4L2_PIX_FMT_RGB565,
111 .pixelformat = V4L2_PIX_FMT_RGB32,
275 if (formats[i].pixelformat == fourcc)
279 dprintk(0, "unknown pixelformat:'%4.4s'\n", (char *)&fourcc);
623 f->pixelformat = formats[index].fourcc;
635 f->fmt.pix.pixelformat = fh->fmt->pixelformat;
649 fmt = format_by_fourcc(f->fmt.pix.pixelformat);
652 f->fmt.pix.pixelformat);
[all...]
H A Dvia-camera.c149 __u32 pixelformat; member in struct:via_format
155 .pixelformat = V4L2_PIX_FMT_YUYV,
166 static struct via_format *via_find_format(u32 pixelformat) argument
171 if (via_formats[i].pixelformat == pixelformat)
532 if (cam->user_format.pixelformat == V4L2_PIX_FMT_YUYV)
900 .pixelformat = V4L2_PIX_FMT_YUYV,
915 fmt->pixelformat = via_formats[fmt->index].pixelformat;
942 struct via_format *f = via_find_format(userfmt->pixelformat);
[all...]
H A Dzr364xx.c855 f->pixelformat = formats[0].fourcc;
859 static char *decode_fourcc(__u32 pixelformat, char *buf) argument
861 buf[0] = pixelformat & 0xff;
862 buf[1] = (pixelformat >> 8) & 0xff;
863 buf[2] = (pixelformat >> 16) & 0xff;
864 buf[3] = (pixelformat >> 24) & 0xff;
878 if (f->fmt.pix.pixelformat != V4L2_PIX_FMT_JPEG) {
879 DBG("%s: unsupported pixelformat V4L2_PIX_FMT_%s\n", __func__,
880 decode_fourcc(f->fmt.pix.pixelformat, pixelformat_name));
896 decode_fourcc(f->fmt.pix.pixelformat, pixelformat_nam
[all...]
H A Dvino.c179 __u32 pixelformat; member in struct:vino_data_format
393 .pixelformat = V4L2_PIX_FMT_GREY,
398 .pixelformat = V4L2_PIX_FMT_RGB332,
403 .pixelformat = V4L2_PIX_FMT_RGB32,
408 .pixelformat = V4L2_PIX_FMT_YUYV, // XXX: swapped?
2836 static int vino_find_data_format(__u32 pixelformat) argument
2841 if (vino_data_formats[i].pixelformat == pixelformat)
3103 fd->pixelformat = vino_data_formats[fd->index].pixelformat;
[all...]
/drivers/media/video/marvell-ccic/
H A Dmcam-core.c109 __u32 pixelformat; member in struct:mcam_format_struct
115 .pixelformat = V4L2_PIX_FMT_YUYV,
121 .pixelformat = V4L2_PIX_FMT_RGB444,
127 .pixelformat = V4L2_PIX_FMT_RGB565,
133 .pixelformat = V4L2_PIX_FMT_SBGGR8,
140 static struct mcam_format_struct *mcam_find_format(u32 pixelformat) argument
145 if (mcam_formats[i].pixelformat == pixelformat)
157 .pixelformat = V4L2_PIX_FMT_YUYV,
637 switch (cam->pix_format.pixelformat) {
[all...]
/drivers/media/video/s5p-fimc/
H A Dfimc-core.c950 f->pixelformat = fmt->fourcc;
962 pixm->pixelformat = frame->fmt->fourcc;
1009 pix->pixelformat = fmt->fourcc;
1046 * @pixelformat: fourcc to match, ignored if null
1051 struct fimc_fmt *fimc_find_format(const u32 *pixelformat, const u32 *mbus_code, argument
1065 if (pixelformat && fmt->fourcc == *pixelformat)
1089 fmt = fimc_find_format(&pix->pixelformat, NULL,
1159 frame->fmt = fimc_find_format(&pix->pixelformat, NULL,
/drivers/media/video/s5p-jpeg/
H A Djpeg-core.c280 __u32 pixelformat);
519 f->pixelformat = formats[i].fourcc;
579 pix->pixelformat = q_data->fmt->fourcc;
593 u32 pixelformat)
609 if (fmt->fourcc == pixelformat)
688 fmt = s5p_jpeg_find_format(ctx->mode, f->fmt.pix.pixelformat);
692 f->fmt.pix.pixelformat);
705 fmt = s5p_jpeg_find_format(ctx->mode, f->fmt.pix.pixelformat);
709 f->fmt.pix.pixelformat);
734 q_data->fmt = s5p_jpeg_find_format(ct->mode, pix->pixelformat);
592 s5p_jpeg_find_format(unsigned int mode, u32 pixelformat) argument
[all...]
/drivers/media/video/cpia2/
H A Dcpia2.h396 __u32 pixelformat; /* Format fourcc */ member in struct:camera_data

Completed in 404 milliseconds