Searched defs:pixfmt (Results 1 - 25 of 26) sorted by relevance

12

/drivers/media/video/pwc/
H A Dpwc-ctrl.c153 static int set_video_mode_Nala(struct pwc_device *pdev, int size, int pixfmt, argument
196 if (pEntry->compressed && pixfmt == V4L2_PIX_FMT_YUV420)
200 pdev->pixfmt = pixfmt;
226 static int set_video_mode_Timon(struct pwc_device *pdev, int size, int pixfmt, argument
259 if (pChoose->bandlength > 0 && pixfmt == V4L2_PIX_FMT_YUV420)
263 pdev->pixfmt = pixfmt;
277 static int set_video_mode_Kiara(struct pwc_device *pdev, int size, int pixfmt, argument
309 if (pChoose->bandlength > 0 && pixfmt
328 pwc_set_video_mode(struct pwc_device *pdev, int width, int height, int pixfmt, int frames, int *compression, int send_to_cam) argument
[all...]
H A Dpwc-v4l.c399 int width, int height, u32 pixfmt)
405 f->fmt.pix.pixelformat = pixfmt;
500 pwc_vidioc_fill_fmt(f, pdev->width, pdev->height, pdev->pixfmt);
955 pwc_vidioc_fill_fmt(f, pdev->width, pdev->height, pdev->pixfmt);
1139 ret = pwc_set_video_mode(pdev, pdev->width, pdev->height, pdev->pixfmt,
398 pwc_vidioc_fill_fmt(struct v4l2_format *f, int width, int height, u32 pixfmt) argument
H A Dpwc.h240 int pixfmt; /* pixelformat: V4L2_PIX_FMT_YUV420 or _PWCX */ member in struct:pwc_device
369 int pixfmt, int frames, int *compression, int send_to_cam);
/drivers/video/
H A Dsh_mipi_dsi.c135 u32 pctype, datatype, pixfmt, linelength, vmctr2; local
149 pixfmt = MIPI_DCS_PIXEL_FMT_24BIT;
156 pixfmt = MIPI_DCS_PIXEL_FMT_16BIT;
163 pixfmt = MIPI_DCS_PIXEL_FMT_24BIT;
170 pixfmt = MIPI_DCS_PIXEL_FMT_18BIT;
177 pixfmt = MIPI_DCS_PIXEL_FMT_24BIT;
184 pixfmt = MIPI_DCS_PIXEL_FMT_16BIT;
191 pixfmt = MIPI_DCS_PIXEL_FMT_24BIT;
198 pixfmt = MIPI_DCS_PIXEL_FMT_18BIT;
205 pixfmt
[all...]
H A Dgxt4500.c143 int pixfmt; /* pixel format, see DFA_PIX_* values */ member in struct:gxt4500_par
291 par->pixfmt = DFA_PIX_32BIT;
293 par->pixfmt = DFA_PIX_24BIT;
296 par->pixfmt = DFA_PIX_24BIT;
300 par->pixfmt = DFA_PIX_16BIT_1555;
302 par->pixfmt = DFA_PIX_16BIT_565;
305 par->pixfmt = DFA_PIX_8BIT;
318 int pixfmt)
320 var->bits_per_pixel = pixsize[pixfmt] * 8;
326 switch (pixfmt) {
317 gxt4500_unpack_pixfmt(struct fb_var_screeninfo *var, int pixfmt) argument
372 unsigned int dfa_ctl, pixfmt, stride; local
[all...]
H A Dmx3fb.c642 uint32_t pixfmt = 0; local
645 pixfmt = IPU_PIX_FMT_BGR24;
648 pixfmt = IPU_PIX_FMT_BGR32;
651 pixfmt = IPU_PIX_FMT_RGB565;
654 return pixfmt;
/drivers/media/video/davinci/
H A Ddm355_ccdc.c823 static int ccdc_set_pixel_format(u32 pixfmt) argument
829 if (pixfmt == V4L2_PIX_FMT_SBGGR8)
831 else if (pixfmt != V4L2_PIX_FMT_SBGGR16)
834 if (pixfmt == V4L2_PIX_FMT_YUYV)
836 else if (pixfmt == V4L2_PIX_FMT_UYVY)
846 u32 pixfmt; local
850 pixfmt = V4L2_PIX_FMT_SBGGR8;
852 pixfmt = V4L2_PIX_FMT_SBGGR16;
855 pixfmt = V4L2_PIX_FMT_YUYV;
857 pixfmt
[all...]
H A Ddm644x_ccdc.c734 static int ccdc_set_pixel_format(u32 pixfmt) argument
738 if (pixfmt == V4L2_PIX_FMT_SBGGR8)
740 else if (pixfmt != V4L2_PIX_FMT_SBGGR16)
743 if (pixfmt == V4L2_PIX_FMT_YUYV)
745 else if (pixfmt == V4L2_PIX_FMT_UYVY)
756 u32 pixfmt; local
760 pixfmt = V4L2_PIX_FMT_SBGGR8;
762 pixfmt = V4L2_PIX_FMT_SBGGR16;
765 pixfmt = V4L2_PIX_FMT_YUYV;
767 pixfmt
[all...]
H A Disif.c746 static int isif_set_pixel_format(unsigned int pixfmt) argument
749 if (pixfmt == V4L2_PIX_FMT_SBGGR8) {
759 } else if (pixfmt == V4L2_PIX_FMT_SBGGR16) {
767 if (pixfmt == V4L2_PIX_FMT_YUYV)
769 else if (pixfmt == V4L2_PIX_FMT_UYVY)
780 u32 pixfmt; local
785 pixfmt = V4L2_PIX_FMT_SBGGR8;
787 pixfmt = V4L2_PIX_FMT_SBGGR16;
790 pixfmt = V4L2_PIX_FMT_YUYV;
792 pixfmt
[all...]
H A Dvpbe_osd.c98 /* define some macros for layer and pixfmt classification */
101 #define is_rgb_pixfmt(pixfmt) \
102 (((pixfmt) == PIXFMT_RGB565) || ((pixfmt) == PIXFMT_RGB888))
103 #define is_yc_pixfmt(pixfmt) \
104 (((pixfmt) == PIXFMT_YCbCrI) || ((pixfmt) == PIXFMT_YCrCbI) || \
105 ((pixfmt) == PIXFMT_NV12))
197 enum osd_pix_format pixfmt)
206 switch (pixfmt) {
193 _osd_set_palette_map(struct osd_state *sd, enum osd_win_layer osdwin, unsigned char pixel_value, unsigned char clut_index, enum osd_pix_format pixfmt) argument
310 _osd_enable_color_key(struct osd_state *sd, enum osd_win_layer osdwin, unsigned colorkey, enum osd_pix_format pixfmt) argument
835 enum osd_pix_format pixfmt; local
854 enum osd_pix_format pixfmt; local
928 _osd_set_cbcr_order(struct osd_state *sd, enum osd_pix_format pixfmt) argument
[all...]
H A Dvpbe_display.c365 if (cfg->pixfmt == PIXFMT_NV12) {
387 struct v4l2_pix_format *pixfmt = &layer->pix_fmt; local
415 cfg->xsize = pixfmt->width;
416 cfg->ysize = pixfmt->height;
422 if (pixfmt->width < expected_xsize) {
423 h_scale = vpbe_dev->current_timings.xres / pixfmt->width;
454 if (pixfmt->height < expected_ysize) {
455 v_scale = expected_ysize / pixfmt->height;
532 struct v4l2_pix_format *pixfmt, int check)
541 if ((pixfmt
531 vpbe_try_format(struct vpbe_display *disp_dev, struct v4l2_pix_format *pixfmt, int check) argument
809 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; local
881 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; local
[all...]
H A Dvpfe_capture.c802 * capabilities and update the same in pixfmt.
818 struct v4l2_pix_format *pixfmt)
825 vpfe_pix_fmt = vpfe_lookup_pix_format(pixfmt->pixelformat);
831 pixfmt->pixelformat = vpfe_dev->fmt.fmt.pix.pixelformat;
832 vpfe_pix_fmt = vpfe_lookup_pix_format(pixfmt->pixelformat);
848 pixfmt->pixelformat = vpfe_dev->fmt.fmt.pix.pixelformat;
853 vpfe_pix_fmt = vpfe_lookup_pix_format(pixfmt->pixelformat);
857 if (pixfmt->field == V4L2_FIELD_ANY) {
859 pixfmt->field = vpfe_dev->fmt.fmt.pix.field;
866 if (vpfe_dev->fmt.fmt.pix.field != pixfmt
817 vpfe_check_format(struct vpfe_device *vpfe_dev, struct v4l2_pix_format *pixfmt) argument
[all...]
H A Dvpif_capture.c578 * @pixfmt - Given pixel format
586 struct v4l2_pix_format *pixfmt,
591 enum v4l2_field field = pixfmt->field;
602 if (pixfmt->pixelformat != V4L2_PIX_FMT_SBGGR8) {
607 pixfmt->pixelformat = V4L2_PIX_FMT_SBGGR8;
610 if (pixfmt->pixelformat != V4L2_PIX_FMT_YUV422P) {
615 pixfmt->pixelformat = V4L2_PIX_FMT_YUV422P;
634 hpitch = pixfmt->bytesperline;
644 sizeimage = pixfmt->sizeimage;
670 pixfmt
585 vpif_check_format(struct channel_obj *ch, struct v4l2_pix_format *pixfmt, int update) argument
1593 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; local
1633 struct v4l2_pix_format *pixfmt; local
[all...]
H A Dvpif_display.c511 struct v4l2_pix_format *pixfmt)
514 enum v4l2_field field = pixfmt->field;
517 if (pixfmt->pixelformat != V4L2_PIX_FMT_YUV422P)
523 if (pixfmt->bytesperline <= 0)
527 sizeimage = pixfmt->sizeimage;
534 hpitch = pixfmt->bytesperline;
547 pixfmt->width = common->fmt.fmt.pix.width;
548 pixfmt->height = common->fmt.fmt.pix.height;
747 struct v4l2_pix_format *pixfmt; local
771 pixfmt
510 vpif_check_format(struct channel_obj *ch, struct v4l2_pix_format *pixfmt) argument
790 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; local
[all...]
/drivers/media/video/
H A Datmel-isi.c589 u32 pixfmt = pix->pixelformat; local
592 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt);
593 if (pixfmt && !xlate) {
594 dev_warn(icd->parent, "Format %x not found\n", pixfmt);
H A Dmx3_camera.c917 __u32 pixfmt = pix->pixelformat; local
920 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt);
921 if (pixfmt && !xlate) {
922 dev_warn(icd->parent, "Format %x not found\n", pixfmt);
991 u32 pixfmt = icd->current_fmt->host_fmt->fourcc; local
1004 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt);
1006 dev_warn(dev, "Format %x not found\n", pixfmt);
H A Dsoc_camera.c1253 __u32 pixfmt = fsize->pixel_format; local
1256 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt);
1267 fsize->pixel_format = pixfmt;
H A Domap1_camera.c1445 u32 pixfmt = icd->current_fmt->host_fmt->fourcc; local
1503 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt);
H A Dsh_mobile_ceu_camera.c1731 __u32 pixfmt = pix->pixelformat; local
1754 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt);
1756 dev_warn(dev, "Format %x not found\n", pixfmt);
1766 switch (pixfmt) {
1777 dev_geo(dev, "S_FMT(pix=0x%x, fld 0x%x, code 0x%x, %ux%u)\n", pixfmt, mf.field, mf.code,
1857 __u32 pixfmt = pix->pixelformat; local
1862 pixfmt, pix->width, pix->height);
1864 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt);
1866 dev_warn(icd->parent, "Format %x not found\n", pixfmt);
1896 switch (pixfmt) {
[all...]
H A Dmx2_camera.c1333 __u32 pixfmt = pix->pixelformat; local
1342 xlate = soc_camera_xlate_by_fourcc(icd, pixfmt);
1343 if (pixfmt && !xlate) {
1344 dev_warn(icd->parent, "Format %x not found\n", pixfmt);
/drivers/media/video/blackfin/
H A Dbfin_capture.c648 struct v4l2_pix_format *pixfmt,
659 if (pixfmt->pixelformat == fmt->pixelformat)
669 v4l2_fill_mbus_format(&mbus_fmt, pixfmt, fmt->mbus_code);
674 v4l2_fill_pix_format(pixfmt, &mbus_fmt);
675 pixfmt->bytesperline = pixfmt->width * fmt->bpp / 8;
676 pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height;
701 struct v4l2_pix_format *pixfmt local
647 bcap_try_format(struct bcap_device *bcap, struct v4l2_pix_format *pixfmt, enum v4l2_mbus_pixelcode *mbus_code, int *bpp) argument
721 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; local
[all...]
/drivers/media/video/cx18/
H A Dcx18-ioctl.c154 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; local
156 pixfmt->width = cx->cxhdl.width;
157 pixfmt->height = cx->cxhdl.height;
158 pixfmt->colorspace = V4L2_COLORSPACE_SMPTE170M;
159 pixfmt->field = V4L2_FIELD_INTERLACED;
160 pixfmt->priv = 0;
162 pixfmt->pixelformat = s->pixelformat;
163 pixfmt->sizeimage = s->vb_bytes_per_frame;
164 pixfmt->bytesperline = 720;
166 pixfmt
[all...]
/drivers/media/video/gspca/
H A Dgspca.h195 __u32 pixfmt; /* current mode parameters */ member in struct:gspca_dev
H A Dgspca.c64 static void PDEBUG_MODE(char *txt, __u32 pixfmt, int w, int h) argument
66 if ((pixfmt >> 24) >= '0' && (pixfmt >> 24) <= 'z') {
69 pixfmt & 0xff,
70 (pixfmt >> 8) & 0xff,
71 (pixfmt >> 16) & 0xff,
72 pixfmt >> 24,
77 pixfmt,
82 #define PDEBUG_MODE(txt, pixfmt, w, h)
1005 gspca_dev->pixfmt
1034 gspca_get_mode(struct gspca_dev *gspca_dev, int mode, int pixfmt) argument
[all...]
/drivers/media/video/ivtv/
H A Divtv-ioctl.c347 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; local
349 pixfmt->width = itv->cxhdl.width;
350 pixfmt->height = itv->cxhdl.height;
351 pixfmt->colorspace = V4L2_COLORSPACE_SMPTE170M;
352 pixfmt->field = V4L2_FIELD_INTERLACED;
353 pixfmt->priv = 0;
355 pixfmt->pixelformat = V4L2_PIX_FMT_HM12;
357 pixfmt->sizeimage = pixfmt->height * 720 * 3 / 2;
358 pixfmt
411 struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; local
1352 int pixfmt; local
[all...]

Completed in 316 milliseconds

12