pixfmt 237 drivers/input/rmi4/rmi_f54.c static int rmi_f54_get_pixel_fmt(enum rmi_f54_report_type reptype, u32 *pixfmt) pixfmt 243 drivers/input/rmi4/rmi_f54.c *pixfmt = V4L2_TCH_FMT_DELTA_TD08; pixfmt 247 drivers/input/rmi4/rmi_f54.c *pixfmt = V4L2_TCH_FMT_DELTA_TD16; pixfmt 254 drivers/input/rmi4/rmi_f54.c *pixfmt = V4L2_TCH_FMT_TU16; pixfmt 313 drivers/media/i2c/s5k5baf.c int pixfmt; pixfmt 916 drivers/media/i2c/s5k5baf.c u16 reg_fmt = s5k5baf_formats[state->pixfmt].reg_p_fmt; pixfmt 1020 drivers/media/i2c/s5k5baf.c state->pixfmt = 0; pixfmt 1262 drivers/media/i2c/s5k5baf.c int pixfmt; pixfmt 1269 drivers/media/i2c/s5k5baf.c pixfmt = s5k5baf_find_pixfmt(mf); pixfmt 1271 drivers/media/i2c/s5k5baf.c mf->colorspace = s5k5baf_formats[pixfmt].colorspace; pixfmt 1272 drivers/media/i2c/s5k5baf.c mf->code = s5k5baf_formats[pixfmt].code; pixfmt 1275 drivers/media/i2c/s5k5baf.c return pixfmt; pixfmt 1282 drivers/media/i2c/s5k5baf.c const struct s5k5baf_pixfmt *pixfmt; pixfmt 1298 drivers/media/i2c/s5k5baf.c pixfmt = &s5k5baf_formats[state->pixfmt]; pixfmt 1301 drivers/media/i2c/s5k5baf.c mf->code = pixfmt->code; pixfmt 1302 drivers/media/i2c/s5k5baf.c mf->colorspace = pixfmt->colorspace; pixfmt 1313 drivers/media/i2c/s5k5baf.c const struct s5k5baf_pixfmt *pixfmt; pixfmt 1335 drivers/media/i2c/s5k5baf.c state->pixfmt = s5k5baf_try_isp_format(mf); pixfmt 1336 drivers/media/i2c/s5k5baf.c pixfmt = &s5k5baf_formats[state->pixfmt]; pixfmt 1337 drivers/media/i2c/s5k5baf.c mf->code = pixfmt->code; pixfmt 1338 drivers/media/i2c/s5k5baf.c mf->colorspace = pixfmt->colorspace; pixfmt 222 drivers/media/pci/cobalt/cobalt-driver.h u32 pixfmt; pixfmt 147 drivers/media/pci/cobalt/cobalt-v4l2.c unsigned fmt = s->pixfmt != V4L2_PIX_FMT_BGR32 ? pixfmt 169 drivers/media/pci/cobalt/cobalt-v4l2.c switch (s->pixfmt) { pixfmt 223 drivers/media/pci/cobalt/cobalt-v4l2.c switch (s->pixfmt) { pixfmt 727 drivers/media/pci/cobalt/cobalt-v4l2.c pix->pixelformat = s->pixfmt; pixfmt 820 drivers/media/pci/cobalt/cobalt-v4l2.c s->pixfmt = pix->pixelformat; pixfmt 877 drivers/media/pci/cobalt/cobalt-v4l2.c pix->pixelformat = s->pixfmt; pixfmt 915 drivers/media/pci/cobalt/cobalt-v4l2.c if (vb2_is_busy(&s->q) && (pix->pixelformat != s->pixfmt || pixfmt 935 drivers/media/pci/cobalt/cobalt-v4l2.c s->pixfmt = pix->pixelformat; pixfmt 1219 drivers/media/pci/cobalt/cobalt-v4l2.c s->pixfmt = V4L2_PIX_FMT_GREY; pixfmt 1222 drivers/media/pci/cobalt/cobalt-v4l2.c s->pixfmt = V4L2_PIX_FMT_BGR32; pixfmt 1225 drivers/media/pci/cobalt/cobalt-v4l2.c s->pixfmt = V4L2_PIX_FMT_YUYV; pixfmt 140 drivers/media/pci/cx18/cx18-ioctl.c struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; pixfmt 142 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->width = cx->cxhdl.width; pixfmt 143 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->height = cx->cxhdl.height; pixfmt 144 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->colorspace = V4L2_COLORSPACE_SMPTE170M; pixfmt 145 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->field = V4L2_FIELD_INTERLACED; pixfmt 147 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->pixelformat = s->pixelformat; pixfmt 148 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->sizeimage = s->vb_bytes_per_frame; pixfmt 149 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->bytesperline = s->vb_bytes_per_line; pixfmt 151 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->pixelformat = V4L2_PIX_FMT_MPEG; pixfmt 152 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->sizeimage = 128 * 1024; pixfmt 153 drivers/media/pci/cx18/cx18-ioctl.c pixfmt->bytesperline = 0; pixfmt 340 drivers/media/pci/ivtv/ivtv-ioctl.c struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; pixfmt 342 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->width = itv->cxhdl.width; pixfmt 343 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->height = itv->cxhdl.height; pixfmt 344 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->colorspace = V4L2_COLORSPACE_SMPTE170M; pixfmt 345 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->field = V4L2_FIELD_INTERLACED; pixfmt 347 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->pixelformat = V4L2_PIX_FMT_HM12; pixfmt 349 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->sizeimage = pixfmt->height * 720 * 3 / 2; pixfmt 350 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->bytesperline = 720; pixfmt 352 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->pixelformat = V4L2_PIX_FMT_MPEG; pixfmt 353 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->sizeimage = 128 * 1024; pixfmt 354 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->bytesperline = 0; pixfmt 404 drivers/media/pci/ivtv/ivtv-ioctl.c struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; pixfmt 408 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->width = itv->main_rect.width; pixfmt 409 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->height = itv->main_rect.height; pixfmt 410 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->colorspace = V4L2_COLORSPACE_SMPTE170M; pixfmt 411 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->field = V4L2_FIELD_INTERLACED; pixfmt 415 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->field = (itv->yuv_info.lace_mode & IVTV_YUV_SYNC_MASK) ? pixfmt 419 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->field = V4L2_FIELD_NONE; pixfmt 422 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->field = V4L2_FIELD_ANY; pixfmt 425 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->pixelformat = V4L2_PIX_FMT_HM12; pixfmt 426 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->bytesperline = 720; pixfmt 427 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->width = itv->yuv_info.v4l2_src_w; pixfmt 428 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->height = itv->yuv_info.v4l2_src_h; pixfmt 430 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->sizeimage = pixfmt 431 drivers/media/pci/ivtv/ivtv-ioctl.c 1080 * ((pixfmt->height + 31) & ~31); pixfmt 433 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->pixelformat = V4L2_PIX_FMT_MPEG; pixfmt 434 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->sizeimage = 128 * 1024; pixfmt 435 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt->bytesperline = 0; pixfmt 1369 drivers/media/pci/ivtv/ivtv-ioctl.c int pixfmt; pixfmt 1399 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt = (data[0] >> 3) & 0xf; pixfmt 1401 drivers/media/pci/ivtv/ivtv-ioctl.c fb->fmt.pixelformat = pixel_format[pixfmt]; pixfmt 1426 drivers/media/pci/ivtv/ivtv-ioctl.c pixfmt &= 7; pixfmt 1429 drivers/media/pci/ivtv/ivtv-ioctl.c if (pixfmt == 1 || pixfmt > 4) pixfmt 1433 drivers/media/pci/ivtv/ivtv-ioctl.c if (pixfmt == 2 || pixfmt == 3) pixfmt 1440 drivers/media/pci/ivtv/ivtv-ioctl.c if (pixfmt == 2 || pixfmt == 3) pixfmt 840 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static inline int solo_valid_pixfmt(u32 pixfmt, int dev_type) pixfmt 842 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c return (pixfmt == V4L2_PIX_FMT_H264 && dev_type == SOLO_DEV_6110) pixfmt 843 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c || (pixfmt == V4L2_PIX_FMT_MPEG4 && dev_type == SOLO_DEV_6010) pixfmt 844 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c || pixfmt == V4L2_PIX_FMT_MJPEG ? 0 : -EINVAL; pixfmt 750 drivers/media/platform/am437x/am437x-vpfe.c static int vpfe_ccdc_set_pixel_format(struct vpfe_ccdc *ccdc, u32 pixfmt) pixfmt 755 drivers/media/platform/am437x/am437x-vpfe.c ccdc->ccdc_cfg.if_type, print_fourcc(pixfmt)); pixfmt 765 drivers/media/platform/am437x/am437x-vpfe.c switch (pixfmt) { pixfmt 782 drivers/media/platform/am437x/am437x-vpfe.c switch (pixfmt) { pixfmt 801 drivers/media/platform/am437x/am437x-vpfe.c u32 pixfmt; pixfmt 804 drivers/media/platform/am437x/am437x-vpfe.c pixfmt = V4L2_PIX_FMT_YUYV; pixfmt 807 drivers/media/platform/am437x/am437x-vpfe.c pixfmt = V4L2_PIX_FMT_YUYV; pixfmt 809 drivers/media/platform/am437x/am437x-vpfe.c pixfmt = V4L2_PIX_FMT_UYVY; pixfmt 812 drivers/media/platform/am437x/am437x-vpfe.c return pixfmt; pixfmt 1195 drivers/media/platform/atmel/atmel-isc-base.c struct v4l2_pix_format *pixfmt = &f->fmt.pix; pixfmt 1217 drivers/media/platform/atmel/atmel-isc-base.c direct_fmt = find_format_by_fourcc(isc, pixfmt->pixelformat); pixfmt 1243 drivers/media/platform/atmel/atmel-isc-base.c (char *)&pixfmt->pixelformat, (char *)&sd_fmt->fourcc); pixfmt 1260 drivers/media/platform/atmel/atmel-isc-base.c if (pixfmt->width > ISC_MAX_SUPPORT_WIDTH) pixfmt 1261 drivers/media/platform/atmel/atmel-isc-base.c pixfmt->width = ISC_MAX_SUPPORT_WIDTH; pixfmt 1262 drivers/media/platform/atmel/atmel-isc-base.c if (pixfmt->height > ISC_MAX_SUPPORT_HEIGHT) pixfmt 1263 drivers/media/platform/atmel/atmel-isc-base.c pixfmt->height = ISC_MAX_SUPPORT_HEIGHT; pixfmt 1275 drivers/media/platform/atmel/atmel-isc-base.c isc->try_config.fourcc = pixfmt->pixelformat; pixfmt 1278 drivers/media/platform/atmel/atmel-isc-base.c pixfmt->pixelformat = isc->try_config.fourcc = sd_fmt->fourcc; pixfmt 1293 drivers/media/platform/atmel/atmel-isc-base.c v4l2_fill_mbus_format(&format.format, pixfmt, mbus_code); pixfmt 1299 drivers/media/platform/atmel/atmel-isc-base.c v4l2_fill_pix_format(pixfmt, &format.format); pixfmt 1301 drivers/media/platform/atmel/atmel-isc-base.c pixfmt->field = V4L2_FIELD_NONE; pixfmt 1302 drivers/media/platform/atmel/atmel-isc-base.c pixfmt->bytesperline = (pixfmt->width * isc->try_config.bpp) >> 3; pixfmt 1303 drivers/media/platform/atmel/atmel-isc-base.c pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height; pixfmt 561 drivers/media/platform/atmel/atmel-isi.c struct v4l2_pix_format *pixfmt = &f->fmt.pix; pixfmt 568 drivers/media/platform/atmel/atmel-isi.c isi_fmt = find_format_by_fourcc(isi, pixfmt->pixelformat); pixfmt 571 drivers/media/platform/atmel/atmel-isi.c pixfmt->pixelformat = isi_fmt->fourcc; pixfmt 575 drivers/media/platform/atmel/atmel-isi.c pixfmt->width = clamp(pixfmt->width, 0U, MAX_SUPPORT_WIDTH); pixfmt 576 drivers/media/platform/atmel/atmel-isi.c pixfmt->height = clamp(pixfmt->height, 0U, MAX_SUPPORT_HEIGHT); pixfmt 578 drivers/media/platform/atmel/atmel-isi.c v4l2_fill_mbus_format(&format.format, pixfmt, isi_fmt->mbus_code); pixfmt 584 drivers/media/platform/atmel/atmel-isi.c v4l2_fill_pix_format(pixfmt, &format.format); pixfmt 586 drivers/media/platform/atmel/atmel-isi.c pixfmt->field = V4L2_FIELD_NONE; pixfmt 587 drivers/media/platform/atmel/atmel-isi.c pixfmt->bytesperline = pixfmt->width * isi_fmt->bpp; pixfmt 588 drivers/media/platform/atmel/atmel-isi.c pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height; pixfmt 52 drivers/media/platform/davinci/ccdc_hw_device.h int (*set_pixel_format) (u32 pixfmt); pixfmt 716 drivers/media/platform/davinci/dm355_ccdc.c static int ccdc_set_pixel_format(u32 pixfmt) pixfmt 722 drivers/media/platform/davinci/dm355_ccdc.c if (pixfmt == V4L2_PIX_FMT_SBGGR8) pixfmt 724 drivers/media/platform/davinci/dm355_ccdc.c else if (pixfmt != V4L2_PIX_FMT_SBGGR16) pixfmt 727 drivers/media/platform/davinci/dm355_ccdc.c if (pixfmt == V4L2_PIX_FMT_YUYV) pixfmt 729 drivers/media/platform/davinci/dm355_ccdc.c else if (pixfmt == V4L2_PIX_FMT_UYVY) pixfmt 739 drivers/media/platform/davinci/dm355_ccdc.c u32 pixfmt; pixfmt 743 drivers/media/platform/davinci/dm355_ccdc.c pixfmt = V4L2_PIX_FMT_SBGGR8; pixfmt 745 drivers/media/platform/davinci/dm355_ccdc.c pixfmt = V4L2_PIX_FMT_SBGGR16; pixfmt 748 drivers/media/platform/davinci/dm355_ccdc.c pixfmt = V4L2_PIX_FMT_YUYV; pixfmt 750 drivers/media/platform/davinci/dm355_ccdc.c pixfmt = V4L2_PIX_FMT_UYVY; pixfmt 752 drivers/media/platform/davinci/dm355_ccdc.c return pixfmt; pixfmt 570 drivers/media/platform/davinci/dm644x_ccdc.c static int ccdc_set_pixel_format(u32 pixfmt) pixfmt 574 drivers/media/platform/davinci/dm644x_ccdc.c if (pixfmt == V4L2_PIX_FMT_SBGGR8) pixfmt 576 drivers/media/platform/davinci/dm644x_ccdc.c else if (pixfmt != V4L2_PIX_FMT_SBGGR16) pixfmt 579 drivers/media/platform/davinci/dm644x_ccdc.c if (pixfmt == V4L2_PIX_FMT_YUYV) pixfmt 581 drivers/media/platform/davinci/dm644x_ccdc.c else if (pixfmt == V4L2_PIX_FMT_UYVY) pixfmt 592 drivers/media/platform/davinci/dm644x_ccdc.c u32 pixfmt; pixfmt 596 drivers/media/platform/davinci/dm644x_ccdc.c pixfmt = V4L2_PIX_FMT_SBGGR8; pixfmt 598 drivers/media/platform/davinci/dm644x_ccdc.c pixfmt = V4L2_PIX_FMT_SBGGR16; pixfmt 601 drivers/media/platform/davinci/dm644x_ccdc.c pixfmt = V4L2_PIX_FMT_YUYV; pixfmt 603 drivers/media/platform/davinci/dm644x_ccdc.c pixfmt = V4L2_PIX_FMT_UYVY; pixfmt 605 drivers/media/platform/davinci/dm644x_ccdc.c return pixfmt; pixfmt 728 drivers/media/platform/davinci/isif.c static int isif_set_pixel_format(unsigned int pixfmt) pixfmt 731 drivers/media/platform/davinci/isif.c if (pixfmt == V4L2_PIX_FMT_SBGGR8) { pixfmt 741 drivers/media/platform/davinci/isif.c } else if (pixfmt == V4L2_PIX_FMT_SBGGR16) { pixfmt 749 drivers/media/platform/davinci/isif.c if (pixfmt == V4L2_PIX_FMT_YUYV) pixfmt 751 drivers/media/platform/davinci/isif.c else if (pixfmt == V4L2_PIX_FMT_UYVY) pixfmt 762 drivers/media/platform/davinci/isif.c u32 pixfmt; pixfmt 767 drivers/media/platform/davinci/isif.c pixfmt = V4L2_PIX_FMT_SBGGR8; pixfmt 769 drivers/media/platform/davinci/isif.c pixfmt = V4L2_PIX_FMT_SBGGR16; pixfmt 772 drivers/media/platform/davinci/isif.c pixfmt = V4L2_PIX_FMT_YUYV; pixfmt 774 drivers/media/platform/davinci/isif.c pixfmt = V4L2_PIX_FMT_UYVY; pixfmt 776 drivers/media/platform/davinci/isif.c return pixfmt; pixfmt 398 drivers/media/platform/davinci/vpbe_display.c if (cfg->pixfmt == PIXFMT_NV12) { pixfmt 420 drivers/media/platform/davinci/vpbe_display.c struct v4l2_pix_format *pixfmt = &layer->pix_fmt; pixfmt 448 drivers/media/platform/davinci/vpbe_display.c cfg->xsize = pixfmt->width; pixfmt 449 drivers/media/platform/davinci/vpbe_display.c cfg->ysize = pixfmt->height; pixfmt 455 drivers/media/platform/davinci/vpbe_display.c if (pixfmt->width < expected_xsize) { pixfmt 456 drivers/media/platform/davinci/vpbe_display.c h_scale = vpbe_dev->current_timings.xres / pixfmt->width; pixfmt 487 drivers/media/platform/davinci/vpbe_display.c if (pixfmt->height < expected_ysize) { pixfmt 488 drivers/media/platform/davinci/vpbe_display.c v_scale = expected_ysize / pixfmt->height; pixfmt 565 drivers/media/platform/davinci/vpbe_display.c struct v4l2_pix_format *pixfmt, int check) pixfmt 574 drivers/media/platform/davinci/vpbe_display.c if ((pixfmt->pixelformat != V4L2_PIX_FMT_UYVY) && pixfmt 575 drivers/media/platform/davinci/vpbe_display.c (pixfmt->pixelformat != V4L2_PIX_FMT_NV12)) pixfmt 577 drivers/media/platform/davinci/vpbe_display.c pixfmt->pixelformat = V4L2_PIX_FMT_UYVY; pixfmt 580 drivers/media/platform/davinci/vpbe_display.c if ((pixfmt->field != V4L2_FIELD_INTERLACED) && pixfmt 581 drivers/media/platform/davinci/vpbe_display.c (pixfmt->field != V4L2_FIELD_NONE)) { pixfmt 583 drivers/media/platform/davinci/vpbe_display.c pixfmt->field = V4L2_FIELD_INTERLACED; pixfmt 585 drivers/media/platform/davinci/vpbe_display.c pixfmt->field = V4L2_FIELD_NONE; pixfmt 588 drivers/media/platform/davinci/vpbe_display.c if (pixfmt->field == V4L2_FIELD_INTERLACED) pixfmt 591 drivers/media/platform/davinci/vpbe_display.c if (pixfmt->pixelformat == V4L2_PIX_FMT_NV12) pixfmt 601 drivers/media/platform/davinci/vpbe_display.c if (!pixfmt->width || (pixfmt->width < min_width) || pixfmt 602 drivers/media/platform/davinci/vpbe_display.c (pixfmt->width > max_width)) { pixfmt 603 drivers/media/platform/davinci/vpbe_display.c pixfmt->width = vpbe_dev->current_timings.xres; pixfmt 606 drivers/media/platform/davinci/vpbe_display.c if (!pixfmt->height || (pixfmt->height < min_height) || pixfmt 607 drivers/media/platform/davinci/vpbe_display.c (pixfmt->height > max_height)) { pixfmt 608 drivers/media/platform/davinci/vpbe_display.c pixfmt->height = vpbe_dev->current_timings.yres; pixfmt 611 drivers/media/platform/davinci/vpbe_display.c if (pixfmt->bytesperline < (pixfmt->width * bpp)) pixfmt 612 drivers/media/platform/davinci/vpbe_display.c pixfmt->bytesperline = pixfmt->width * bpp; pixfmt 615 drivers/media/platform/davinci/vpbe_display.c pixfmt->bytesperline = ((pixfmt->width * bpp + 31) & ~31); pixfmt 617 drivers/media/platform/davinci/vpbe_display.c if (pixfmt->pixelformat == V4L2_PIX_FMT_NV12) pixfmt 618 drivers/media/platform/davinci/vpbe_display.c pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height + pixfmt 619 drivers/media/platform/davinci/vpbe_display.c (pixfmt->bytesperline * pixfmt->height >> 1); pixfmt 621 drivers/media/platform/davinci/vpbe_display.c pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height; pixfmt 814 drivers/media/platform/davinci/vpbe_display.c struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; pixfmt 830 drivers/media/platform/davinci/vpbe_display.c ret = vpbe_try_format(disp_dev, pixfmt, 1); pixfmt 837 drivers/media/platform/davinci/vpbe_display.c layer->pix_fmt = *pixfmt; pixfmt 838 drivers/media/platform/davinci/vpbe_display.c if (pixfmt->pixelformat == V4L2_PIX_FMT_NV12) { pixfmt 858 drivers/media/platform/davinci/vpbe_display.c cfg->xsize = pixfmt->width; pixfmt 859 drivers/media/platform/davinci/vpbe_display.c cfg->ysize = pixfmt->height; pixfmt 860 drivers/media/platform/davinci/vpbe_display.c cfg->line_length = pixfmt->bytesperline; pixfmt 865 drivers/media/platform/davinci/vpbe_display.c if (V4L2_PIX_FMT_UYVY == pixfmt->pixelformat) pixfmt 866 drivers/media/platform/davinci/vpbe_display.c cfg->pixfmt = PIXFMT_YCBCRI; pixfmt 869 drivers/media/platform/davinci/vpbe_display.c if (V4L2_PIX_FMT_NV12 == pixfmt->pixelformat) { pixfmt 871 drivers/media/platform/davinci/vpbe_display.c cfg->pixfmt = PIXFMT_NV12; pixfmt 874 drivers/media/platform/davinci/vpbe_display.c otherlayer->layer_info.config.pixfmt = PIXFMT_NV12; pixfmt 899 drivers/media/platform/davinci/vpbe_display.c struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; pixfmt 909 drivers/media/platform/davinci/vpbe_display.c return vpbe_try_format(disp_dev, pixfmt, 0); pixfmt 1202 drivers/media/platform/davinci/vpbe_display.c if (cfg->pixfmt == PIXFMT_NV12) { pixfmt 104 drivers/media/platform/davinci/vpbe_osd.c #define is_rgb_pixfmt(pixfmt) \ pixfmt 105 drivers/media/platform/davinci/vpbe_osd.c (((pixfmt) == PIXFMT_RGB565) || ((pixfmt) == PIXFMT_RGB888)) pixfmt 106 drivers/media/platform/davinci/vpbe_osd.c #define is_yc_pixfmt(pixfmt) \ pixfmt 107 drivers/media/platform/davinci/vpbe_osd.c (((pixfmt) == PIXFMT_YCBCRI) || ((pixfmt) == PIXFMT_YCRCBI) || \ pixfmt 108 drivers/media/platform/davinci/vpbe_osd.c ((pixfmt) == PIXFMT_NV12)) pixfmt 200 drivers/media/platform/davinci/vpbe_osd.c enum osd_pix_format pixfmt) pixfmt 209 drivers/media/platform/davinci/vpbe_osd.c switch (pixfmt) { pixfmt 316 drivers/media/platform/davinci/vpbe_osd.c enum osd_pix_format pixfmt) pixfmt 318 drivers/media/platform/davinci/vpbe_osd.c switch (pixfmt) { pixfmt 537 drivers/media/platform/davinci/vpbe_osd.c if (cfg->pixfmt != PIXFMT_OSD_ATTR) pixfmt 632 drivers/media/platform/davinci/vpbe_osd.c if (win->lconfig.pixfmt == PIXFMT_NV12) { pixfmt 685 drivers/media/platform/davinci/vpbe_osd.c if (win->lconfig.pixfmt != PIXFMT_NV12) { pixfmt 715 drivers/media/platform/davinci/vpbe_osd.c if (win->lconfig.pixfmt != PIXFMT_NV12) { pixfmt 792 drivers/media/platform/davinci/vpbe_osd.c switch (lconfig->pixfmt) { pixfmt 837 drivers/media/platform/davinci/vpbe_osd.c is_osd_win(layer) && is_rgb_pixfmt(lconfig->pixfmt)) { pixfmt 838 drivers/media/platform/davinci/vpbe_osd.c enum osd_pix_format pixfmt; pixfmt 841 drivers/media/platform/davinci/vpbe_osd.c pixfmt = osd->win[WIN_OSD1].lconfig.pixfmt; pixfmt 843 drivers/media/platform/davinci/vpbe_osd.c pixfmt = osd->win[WIN_OSD0].lconfig.pixfmt; pixfmt 845 drivers/media/platform/davinci/vpbe_osd.c if (is_rgb_pixfmt(pixfmt)) { pixfmt 857 drivers/media/platform/davinci/vpbe_osd.c lconfig->pixfmt == PIXFMT_RGB888) { pixfmt 858 drivers/media/platform/davinci/vpbe_osd.c enum osd_pix_format pixfmt; pixfmt 861 drivers/media/platform/davinci/vpbe_osd.c pixfmt = osd->win[WIN_VID1].lconfig.pixfmt; pixfmt 863 drivers/media/platform/davinci/vpbe_osd.c pixfmt = osd->win[WIN_VID0].lconfig.pixfmt; pixfmt 865 drivers/media/platform/davinci/vpbe_osd.c if (pixfmt == PIXFMT_RGB888) { pixfmt 933 drivers/media/platform/davinci/vpbe_osd.c enum osd_pix_format pixfmt) pixfmt 939 drivers/media/platform/davinci/vpbe_osd.c if (pixfmt == PIXFMT_YCBCRI) pixfmt 941 drivers/media/platform/davinci/vpbe_osd.c else if (pixfmt == PIXFMT_YCRCBI) pixfmt 950 drivers/media/platform/davinci/vpbe_osd.c _osd_set_cbcr_order(sd, lconfig->pixfmt); pixfmt 956 drivers/media/platform/davinci/vpbe_osd.c if (lconfig->pixfmt == PIXFMT_RGB565) pixfmt 961 drivers/media/platform/davinci/vpbe_osd.c switch (lconfig->pixfmt) { pixfmt 981 drivers/media/platform/davinci/vpbe_osd.c switch (lconfig->pixfmt) { pixfmt 1028 drivers/media/platform/davinci/vpbe_osd.c (lconfig->pixfmt == PIXFMT_NV12)) { pixfmt 1057 drivers/media/platform/davinci/vpbe_osd.c (lconfig->pixfmt != PIXFMT_NV12)) { pixfmt 1066 drivers/media/platform/davinci/vpbe_osd.c lconfig->pixfmt == PIXFMT_NV12) { pixfmt 1076 drivers/media/platform/davinci/vpbe_osd.c lconfig->pixfmt == PIXFMT_NV12) { pixfmt 1088 drivers/media/platform/davinci/vpbe_osd.c if (lconfig->pixfmt == PIXFMT_OSD_ATTR) { pixfmt 1101 drivers/media/platform/davinci/vpbe_osd.c if (lconfig->pixfmt == PIXFMT_RGB565) pixfmt 1106 drivers/media/platform/davinci/vpbe_osd.c switch (lconfig->pixfmt) { pixfmt 1128 drivers/media/platform/davinci/vpbe_osd.c switch (lconfig->pixfmt) { pixfmt 1177 drivers/media/platform/davinci/vpbe_osd.c if (lconfig->pixfmt == PIXFMT_NV12) { pixfmt 1201 drivers/media/platform/davinci/vpbe_osd.c lconfig->pixfmt == PIXFMT_NV12) { pixfmt 1211 drivers/media/platform/davinci/vpbe_osd.c lconfig->pixfmt == PIXFMT_NV12) { pixfmt 1238 drivers/media/platform/davinci/vpbe_osd.c if (is_yc_pixfmt(lconfig->pixfmt)) pixfmt 1239 drivers/media/platform/davinci/vpbe_osd.c osd->yc_pixfmt = lconfig->pixfmt; pixfmt 1246 drivers/media/platform/davinci/vpbe_osd.c if (((lconfig->pixfmt == PIXFMT_OSD_ATTR) && pixfmt 1247 drivers/media/platform/davinci/vpbe_osd.c (cfg->pixfmt != PIXFMT_OSD_ATTR)) || pixfmt 1248 drivers/media/platform/davinci/vpbe_osd.c ((lconfig->pixfmt != PIXFMT_OSD_ATTR) && pixfmt 1249 drivers/media/platform/davinci/vpbe_osd.c (cfg->pixfmt == PIXFMT_OSD_ATTR))) { pixfmt 1261 drivers/media/platform/davinci/vpbe_osd.c if ((lconfig->pixfmt != PIXFMT_OSD_ATTR) && pixfmt 1262 drivers/media/platform/davinci/vpbe_osd.c (cfg->pixfmt == PIXFMT_OSD_ATTR)) { pixfmt 1278 drivers/media/platform/davinci/vpbe_osd.c lconfig->pixfmt); pixfmt 1284 drivers/media/platform/davinci/vpbe_osd.c } else if ((lconfig->pixfmt == PIXFMT_OSD_ATTR) && pixfmt 1285 drivers/media/platform/davinci/vpbe_osd.c (cfg->pixfmt != PIXFMT_OSD_ATTR)) { pixfmt 1300 drivers/media/platform/davinci/vpbe_osd.c if ((lconfig->pixfmt != cfg->pixfmt) && pixfmt 1301 drivers/media/platform/davinci/vpbe_osd.c ((lconfig->pixfmt == PIXFMT_1BPP) || pixfmt 1302 drivers/media/platform/davinci/vpbe_osd.c (lconfig->pixfmt == PIXFMT_2BPP) || pixfmt 1303 drivers/media/platform/davinci/vpbe_osd.c (lconfig->pixfmt == PIXFMT_4BPP))) { pixfmt 1311 drivers/media/platform/davinci/vpbe_osd.c switch (lconfig->pixfmt) { pixfmt 1334 drivers/media/platform/davinci/vpbe_osd.c lconfig->pixfmt); pixfmt 1341 drivers/media/platform/davinci/vpbe_osd.c if (osd->win[WIN_VID0].lconfig.pixfmt == PIXFMT_RGB888) pixfmt 1343 drivers/media/platform/davinci/vpbe_osd.c else if (osd->win[WIN_VID1].lconfig.pixfmt == PIXFMT_RGB888) pixfmt 1397 drivers/media/platform/davinci/vpbe_osd.c cfg->pixfmt = PIXFMT_8BPP; pixfmt 1416 drivers/media/platform/davinci/vpbe_osd.c cfg->pixfmt = osd->yc_pixfmt; pixfmt 734 drivers/media/platform/davinci/vpfe_capture.c struct v4l2_pix_format *pixfmt) pixfmt 741 drivers/media/platform/davinci/vpfe_capture.c vpfe_pix_fmt = vpfe_lookup_pix_format(pixfmt->pixelformat); pixfmt 747 drivers/media/platform/davinci/vpfe_capture.c pixfmt->pixelformat = vpfe_dev->fmt.fmt.pix.pixelformat; pixfmt 748 drivers/media/platform/davinci/vpfe_capture.c vpfe_pix_fmt = vpfe_lookup_pix_format(pixfmt->pixelformat); pixfmt 764 drivers/media/platform/davinci/vpfe_capture.c pixfmt->pixelformat = vpfe_dev->fmt.fmt.pix.pixelformat; pixfmt 769 drivers/media/platform/davinci/vpfe_capture.c vpfe_pix_fmt = vpfe_lookup_pix_format(pixfmt->pixelformat); pixfmt 773 drivers/media/platform/davinci/vpfe_capture.c if (pixfmt->field == V4L2_FIELD_ANY) { pixfmt 775 drivers/media/platform/davinci/vpfe_capture.c pixfmt->field = vpfe_dev->fmt.fmt.pix.field; pixfmt 782 drivers/media/platform/davinci/vpfe_capture.c if (vpfe_dev->fmt.fmt.pix.field != pixfmt->field) { pixfmt 787 drivers/media/platform/davinci/vpfe_capture.c switch (pixfmt->field) { pixfmt 792 drivers/media/platform/davinci/vpfe_capture.c pixfmt->field = V4L2_FIELD_NONE; pixfmt 796 drivers/media/platform/davinci/vpfe_capture.c pixfmt->field = V4L2_FIELD_INTERLACED; pixfmt 801 drivers/media/platform/davinci/vpfe_capture.c pixfmt->field = vpfe_dev->fmt.fmt.pix.field; pixfmt 807 drivers/media/platform/davinci/vpfe_capture.c if (pixfmt->field == V4L2_FIELD_INTERLACED || pixfmt 808 drivers/media/platform/davinci/vpfe_capture.c pixfmt->field == V4L2_FIELD_SEQ_TB) pixfmt 816 drivers/media/platform/davinci/vpfe_capture.c pixfmt->width, pixfmt->height, vpfe_pix_fmt->bpp); pixfmt 818 drivers/media/platform/davinci/vpfe_capture.c pixfmt->width = clamp((pixfmt->width), min_width, max_width); pixfmt 819 drivers/media/platform/davinci/vpfe_capture.c pixfmt->height = clamp((pixfmt->height), min_height, max_height); pixfmt 822 drivers/media/platform/davinci/vpfe_capture.c if (pixfmt->field == V4L2_FIELD_INTERLACED) pixfmt 823 drivers/media/platform/davinci/vpfe_capture.c pixfmt->height &= (~1); pixfmt 828 drivers/media/platform/davinci/vpfe_capture.c pixfmt->bytesperline = (((pixfmt->width * vpfe_pix_fmt->bpp) + 31) pixfmt 830 drivers/media/platform/davinci/vpfe_capture.c if (pixfmt->pixelformat == V4L2_PIX_FMT_NV12) pixfmt 831 drivers/media/platform/davinci/vpfe_capture.c pixfmt->sizeimage = pixfmt 832 drivers/media/platform/davinci/vpfe_capture.c pixfmt->bytesperline * pixfmt->height + pixfmt 833 drivers/media/platform/davinci/vpfe_capture.c ((pixfmt->bytesperline * pixfmt->height) >> 1); pixfmt 835 drivers/media/platform/davinci/vpfe_capture.c pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height; pixfmt 838 drivers/media/platform/davinci/vpfe_capture.c pixfmt->width, pixfmt->height, vpfe_pix_fmt->bpp, pixfmt 839 drivers/media/platform/davinci/vpfe_capture.c pixfmt->bytesperline, pixfmt->sizeimage); pixfmt 467 drivers/media/platform/davinci/vpif_capture.c struct v4l2_pix_format *pixfmt = &common->fmt.fmt.pix; pixfmt 475 drivers/media/platform/davinci/vpif_capture.c if (pixfmt->width && pixfmt->height) { pixfmt 476 drivers/media/platform/davinci/vpif_capture.c if (pixfmt->field == V4L2_FIELD_ANY || pixfmt 477 drivers/media/platform/davinci/vpif_capture.c pixfmt->field == V4L2_FIELD_NONE) pixfmt 478 drivers/media/platform/davinci/vpif_capture.c pixfmt->field = V4L2_FIELD_NONE; pixfmt 481 drivers/media/platform/davinci/vpif_capture.c if (pixfmt->pixelformat == V4L2_PIX_FMT_SGRBG10 || pixfmt 482 drivers/media/platform/davinci/vpif_capture.c pixfmt->pixelformat == V4L2_PIX_FMT_SBGGR8) pixfmt 485 drivers/media/platform/davinci/vpif_capture.c if (pixfmt->pixelformat == V4L2_PIX_FMT_SGRBG10) pixfmt 959 drivers/media/platform/davinci/vpif_capture.c struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; pixfmt 965 drivers/media/platform/davinci/vpif_capture.c pixfmt->field = common->fmt.fmt.pix.field; pixfmt 966 drivers/media/platform/davinci/vpif_capture.c pixfmt->colorspace = common->fmt.fmt.pix.colorspace; pixfmt 967 drivers/media/platform/davinci/vpif_capture.c pixfmt->bytesperline = common->fmt.fmt.pix.width; pixfmt 968 drivers/media/platform/davinci/vpif_capture.c pixfmt->width = common->fmt.fmt.pix.width; pixfmt 969 drivers/media/platform/davinci/vpif_capture.c pixfmt->height = common->fmt.fmt.pix.height; pixfmt 970 drivers/media/platform/davinci/vpif_capture.c pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height * 2; pixfmt 971 drivers/media/platform/davinci/vpif_capture.c if (pixfmt->pixelformat == V4L2_PIX_FMT_SGRBG10) { pixfmt 972 drivers/media/platform/davinci/vpif_capture.c pixfmt->bytesperline = common->fmt.fmt.pix.width * 2; pixfmt 973 drivers/media/platform/davinci/vpif_capture.c pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height; pixfmt 977 drivers/media/platform/davinci/vpif_capture.c pixfmt->width, pixfmt->height, pixfmt 978 drivers/media/platform/davinci/vpif_capture.c pixfmt->bytesperline, pixfmt->pixelformat, pixfmt 979 drivers/media/platform/davinci/vpif_capture.c pixfmt->field, pixfmt->sizeimage); pixfmt 629 drivers/media/platform/davinci/vpif_display.c struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; pixfmt 635 drivers/media/platform/davinci/vpif_display.c if (pixfmt->pixelformat != V4L2_PIX_FMT_YUV422P) pixfmt 636 drivers/media/platform/davinci/vpif_display.c pixfmt->pixelformat = common->fmt.fmt.pix.pixelformat; pixfmt 641 drivers/media/platform/davinci/vpif_display.c pixfmt->colorspace = common->fmt.fmt.pix.colorspace; pixfmt 642 drivers/media/platform/davinci/vpif_display.c pixfmt->field = common->fmt.fmt.pix.field; pixfmt 643 drivers/media/platform/davinci/vpif_display.c pixfmt->bytesperline = common->fmt.fmt.pix.width; pixfmt 644 drivers/media/platform/davinci/vpif_display.c pixfmt->width = common->fmt.fmt.pix.width; pixfmt 645 drivers/media/platform/davinci/vpif_display.c pixfmt->height = common->fmt.fmt.pix.height; pixfmt 646 drivers/media/platform/davinci/vpif_display.c pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height * 2; pixfmt 657 drivers/media/platform/davinci/vpif_display.c struct v4l2_pix_format *pixfmt = &fmt->fmt.pix; pixfmt 668 drivers/media/platform/davinci/vpif_display.c common->fmt.fmt.pix = *pixfmt; pixfmt 43 drivers/media/platform/exynos4-is/fimc-isp-video.c struct v4l2_pix_format_mplane *vid_fmt = &isp->video_capture.pixfmt; pixfmt 161 drivers/media/platform/exynos4-is/fimc-isp-video.c unsigned long size = video->pixfmt.plane_fmt[i].sizeimage; pixfmt 375 drivers/media/platform/exynos4-is/fimc-isp-video.c f->fmt.pix_mp = isp->video_capture.pixfmt; pixfmt 437 drivers/media/platform/exynos4-is/fimc-isp-video.c isp->video_capture.pixfmt = *pixm; pixfmt 582 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->pixfmt.width = IS_DEFAULT_WIDTH; pixfmt 583 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->pixfmt.height = IS_DEFAULT_HEIGHT; pixfmt 584 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->pixfmt.pixelformat = iv->format->fourcc; pixfmt 585 drivers/media/platform/exynos4-is/fimc-isp-video.c iv->pixfmt.colorspace = V4L2_COLORSPACE_SRGB; pixfmt 138 drivers/media/platform/exynos4-is/fimc-isp.h struct v4l2_pix_format_mplane pixfmt; pixfmt 1260 drivers/media/platform/pxa_camera.c unsigned long flags, __u32 pixfmt) pixfmt 1309 drivers/media/platform/pxa_camera.c switch (pixfmt) { pixfmt 1602 drivers/media/platform/pxa_camera.c u32 pixfmt = pcdev->current_fmt->host_fmt->fourcc; pixfmt 1664 drivers/media/platform/pxa_camera.c pxa_camera_setup_cicr(pcdev, common_flags, pixfmt); pixfmt 1887 drivers/media/platform/pxa_camera.c __u32 pixfmt = pix->pixelformat; pixfmt 1890 drivers/media/platform/pxa_camera.c xlate = pxa_mbus_xlate_by_fourcc(pcdev->user_formats, pixfmt); pixfmt 1892 drivers/media/platform/pxa_camera.c dev_warn(pcdev_to_dev(pcdev), "Format %x not found\n", pixfmt); pixfmt 1904 drivers/media/platform/pxa_camera.c pixfmt == V4L2_PIX_FMT_YUV422P ? 4 : 0); pixfmt 46 drivers/media/platform/qcom/venus/core.h u32 pixfmt; pixfmt 867 drivers/media/platform/qcom/venus/helpers.c int venus_helper_set_color_format(struct venus_inst *inst, u32 pixfmt) pixfmt 878 drivers/media/platform/qcom/venus/helpers.c hfi_format = to_hfi_raw_fmt(pixfmt); pixfmt 20 drivers/media/platform/qcom/venus/hfi.c static u32 to_codec_type(u32 pixfmt) pixfmt 22 drivers/media/platform/qcom/venus/hfi.c switch (pixfmt) { pixfmt 195 drivers/media/platform/qcom/venus/hfi.c int hfi_session_init(struct venus_inst *inst, u32 pixfmt) pixfmt 204 drivers/media/platform/qcom/venus/hfi.c inst->hfi_codec = to_codec_type(pixfmt); pixfmt 156 drivers/media/platform/qcom/venus/hfi.h int hfi_session_init(struct venus_inst *inst, u32 pixfmt); pixfmt 33 drivers/media/platform/qcom/venus/vdec.c .pixfmt = V4L2_PIX_FMT_NV12, pixfmt 37 drivers/media/platform/qcom/venus/vdec.c .pixfmt = V4L2_PIX_FMT_MPEG4, pixfmt 42 drivers/media/platform/qcom/venus/vdec.c .pixfmt = V4L2_PIX_FMT_MPEG2, pixfmt 47 drivers/media/platform/qcom/venus/vdec.c .pixfmt = V4L2_PIX_FMT_H263, pixfmt 52 drivers/media/platform/qcom/venus/vdec.c .pixfmt = V4L2_PIX_FMT_VC1_ANNEX_G, pixfmt 57 drivers/media/platform/qcom/venus/vdec.c .pixfmt = V4L2_PIX_FMT_VC1_ANNEX_L, pixfmt 62 drivers/media/platform/qcom/venus/vdec.c .pixfmt = V4L2_PIX_FMT_H264, pixfmt 67 drivers/media/platform/qcom/venus/vdec.c .pixfmt = V4L2_PIX_FMT_VP8, pixfmt 72 drivers/media/platform/qcom/venus/vdec.c .pixfmt = V4L2_PIX_FMT_VP9, pixfmt 77 drivers/media/platform/qcom/venus/vdec.c .pixfmt = V4L2_PIX_FMT_XVID, pixfmt 82 drivers/media/platform/qcom/venus/vdec.c .pixfmt = V4L2_PIX_FMT_HEVC, pixfmt 90 drivers/media/platform/qcom/venus/vdec.c find_format(struct venus_inst *inst, u32 pixfmt, u32 type) pixfmt 97 drivers/media/platform/qcom/venus/vdec.c if (fmt[i].pixfmt == pixfmt) pixfmt 105 drivers/media/platform/qcom/venus/vdec.c !venus_helper_check_codec(inst, fmt[i].pixfmt)) pixfmt 127 drivers/media/platform/qcom/venus/vdec.c venus_helper_check_codec(inst, fmt[i].pixfmt); pixfmt 251 drivers/media/platform/qcom/venus/vdec.c pixmp->pixelformat = fmt->pixfmt; pixfmt 285 drivers/media/platform/qcom/venus/vdec.c pixfmt_cap = inst->fmt_cap->pixfmt; pixfmt 288 drivers/media/platform/qcom/venus/vdec.c pixfmt_out = inst->fmt_out->pixfmt; pixfmt 391 drivers/media/platform/qcom/venus/vdec.c f->pixelformat = fmt->pixfmt; pixfmt 600 drivers/media/platform/qcom/venus/vdec.c ret = venus_helper_get_out_fmts(inst, inst->fmt_cap->pixfmt, &out_fmt, pixfmt 677 drivers/media/platform/qcom/venus/vdec.c ret = hfi_session_init(inst, inst->fmt_out->pixfmt); pixfmt 759 drivers/media/platform/qcom/venus/vdec.c sizes[0] = venus_helper_get_framesz(inst->fmt_out->pixfmt, pixfmt 770 drivers/media/platform/qcom/venus/vdec.c sizes[0] = venus_helper_get_framesz(inst->fmt_cap->pixfmt, pixfmt 1178 drivers/media/platform/qcom/venus/vdec.c format.fmt.pix_mp.pixelformat = inst->fmt_cap->pixfmt; pixfmt 35 drivers/media/platform/qcom/venus/venc.c .pixfmt = V4L2_PIX_FMT_NV12, pixfmt 39 drivers/media/platform/qcom/venus/venc.c .pixfmt = V4L2_PIX_FMT_MPEG4, pixfmt 43 drivers/media/platform/qcom/venus/venc.c .pixfmt = V4L2_PIX_FMT_H263, pixfmt 47 drivers/media/platform/qcom/venus/venc.c .pixfmt = V4L2_PIX_FMT_H264, pixfmt 51 drivers/media/platform/qcom/venus/venc.c .pixfmt = V4L2_PIX_FMT_VP8, pixfmt 55 drivers/media/platform/qcom/venus/venc.c .pixfmt = V4L2_PIX_FMT_HEVC, pixfmt 62 drivers/media/platform/qcom/venus/venc.c find_format(struct venus_inst *inst, u32 pixfmt, u32 type) pixfmt 69 drivers/media/platform/qcom/venus/venc.c if (fmt[i].pixfmt == pixfmt) pixfmt 77 drivers/media/platform/qcom/venus/venc.c !venus_helper_check_codec(inst, fmt[i].pixfmt)) pixfmt 99 drivers/media/platform/qcom/venus/venc.c venus_helper_check_codec(inst, fmt[i].pixfmt); pixfmt 286 drivers/media/platform/qcom/venus/venc.c f->pixelformat = fmt->pixfmt; pixfmt 368 drivers/media/platform/qcom/venus/venc.c pixfmt_cap = inst->fmt_cap->pixfmt; pixfmt 371 drivers/media/platform/qcom/venus/venc.c pixfmt_out = inst->fmt_out->pixfmt; pixfmt 425 drivers/media/platform/qcom/venus/venc.c pixmp->pixelformat = fmt->pixfmt; pixfmt 670 drivers/media/platform/qcom/venus/venc.c if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264) { pixfmt 787 drivers/media/platform/qcom/venus/venc.c if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H264) { pixfmt 792 drivers/media/platform/qcom/venus/venc.c } else if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_VP8) { pixfmt 796 drivers/media/platform/qcom/venus/venc.c } else if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_MPEG4) { pixfmt 801 drivers/media/platform/qcom/venus/venc.c } else if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_H263) { pixfmt 804 drivers/media/platform/qcom/venus/venc.c } else if (inst->fmt_cap->pixfmt == V4L2_PIX_FMT_HEVC) { pixfmt 826 drivers/media/platform/qcom/venus/venc.c ret = hfi_session_init(inst, inst->fmt_cap->pixfmt); pixfmt 841 drivers/media/platform/qcom/venus/venc.c ret = venus_helper_set_color_format(inst, inst->fmt_out->pixfmt); pixfmt 913 drivers/media/platform/qcom/venus/venc.c sizes[0] = venus_helper_get_framesz(inst->fmt_out->pixfmt, pixfmt 922 drivers/media/platform/qcom/venus/venc.c sizes[0] = venus_helper_get_framesz(inst->fmt_cap->pixfmt, pixfmt 353 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c struct v4l2_pix_format *pixfmt = &f->fmt.pix; pixfmt 356 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c if (!is_pixformat_valid(pixfmt->pixelformat)) pixfmt 357 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c pixfmt->pixelformat = supported_pixformats[0]; pixfmt 359 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c v4l_bound_align_image(&pixfmt->width, MIN_WIDTH, MAX_WIDTH, 1, pixfmt 360 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c &pixfmt->height, MIN_HEIGHT, MAX_WIDTH, 1, 1); pixfmt 362 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c bpp = sun6i_csi_get_bpp(pixfmt->pixelformat); pixfmt 363 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c pixfmt->bytesperline = (pixfmt->width * bpp) >> 3; pixfmt 364 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c pixfmt->sizeimage = pixfmt->bytesperline * pixfmt->height; pixfmt 366 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c if (pixfmt->field == V4L2_FIELD_ANY) pixfmt 367 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c pixfmt->field = V4L2_FIELD_NONE; pixfmt 369 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c pixfmt->colorspace = V4L2_COLORSPACE_RAW; pixfmt 370 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c pixfmt->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; pixfmt 371 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c pixfmt->quantization = V4L2_QUANTIZATION_DEFAULT; pixfmt 372 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c pixfmt->xfer_func = V4L2_XFER_FUNC_DEFAULT; pixfmt 774 drivers/media/usb/gspca/conex.c jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, pixfmt 775 drivers/media/usb/gspca/conex.c gspca_dev->pixfmt.width, pixfmt 1554 drivers/media/usb/gspca/cpia1.c (gspca_dev->pixfmt.width >> 3); pixfmt 1556 drivers/media/usb/gspca/cpia1.c (gspca_dev->pixfmt.height >> 2); pixfmt 54 drivers/media/usb/gspca/gspca.c __u32 pixfmt, int w, int h) pixfmt 56 drivers/media/usb/gspca/gspca.c if ((pixfmt >> 24) >= '0' && (pixfmt >> 24) <= 'z') { pixfmt 59 drivers/media/usb/gspca/gspca.c pixfmt & 0xff, pixfmt 60 drivers/media/usb/gspca/gspca.c (pixfmt >> 8) & 0xff, pixfmt 61 drivers/media/usb/gspca/gspca.c (pixfmt >> 16) & 0xff, pixfmt 62 drivers/media/usb/gspca/gspca.c pixfmt >> 24, pixfmt 67 drivers/media/usb/gspca/gspca.c pixfmt, pixfmt 424 drivers/media/usb/gspca/gspca.c if (gspca_dev->image_len + len > PAGE_ALIGN(gspca_dev->pixfmt.sizeimage)) { pixfmt 427 drivers/media/usb/gspca/gspca.c PAGE_ALIGN(gspca_dev->pixfmt.sizeimage)); pixfmt 534 drivers/media/usb/gspca/gspca.c bandwidth = gspca_dev->pixfmt.sizeimage; pixfmt 538 drivers/media/usb/gspca/gspca.c bandwidth < gspca_dev->pixfmt.width * pixfmt 539 drivers/media/usb/gspca/gspca.c gspca_dev->pixfmt.height) pixfmt 553 drivers/media/usb/gspca/gspca.c if (gspca_dev->pixfmt.width >= 640 pixfmt 903 drivers/media/usb/gspca/gspca.c gspca_dev->pixfmt = gspca_dev->cam.cam_mode[i]; pixfmt 947 drivers/media/usb/gspca/gspca.c int pixfmt) pixfmt 955 drivers/media/usb/gspca/gspca.c == pixfmt) pixfmt 960 drivers/media/usb/gspca/gspca.c == pixfmt) pixfmt 1036 drivers/media/usb/gspca/gspca.c fmt->fmt.pix = gspca_dev->pixfmt; pixfmt 1106 drivers/media/usb/gspca/gspca.c gspca_dev->pixfmt = fmt->fmt.pix; pixfmt 1108 drivers/media/usb/gspca/gspca.c gspca_dev->pixfmt = gspca_dev->cam.cam_mode[mode]; pixfmt 1292 drivers/media/usb/gspca/gspca.c unsigned int size = PAGE_ALIGN(gspca_dev->pixfmt.sizeimage); pixfmt 1304 drivers/media/usb/gspca/gspca.c unsigned long size = PAGE_ALIGN(gspca_dev->pixfmt.sizeimage); pixfmt 191 drivers/media/usb/gspca/gspca.h struct v4l2_pix_format pixfmt; /* current mode parameters */ pixfmt 369 drivers/media/usb/gspca/jeilinj.c jpeg_define(dev->jpeg_hdr, gspca_dev->pixfmt.height, pixfmt 370 drivers/media/usb/gspca/jeilinj.c gspca_dev->pixfmt.width, pixfmt 374 drivers/media/usb/gspca/jeilinj.c gspca_dev->pixfmt.height, gspca_dev->pixfmt.width); pixfmt 444 drivers/media/usb/gspca/jl2005bcd.c switch (gspca_dev->pixfmt.width) { pixfmt 341 drivers/media/usb/gspca/m5602/m5602_core.c if (cur_frame_len + len <= gspca_dev->pixfmt.sizeimage) { pixfmt 350 drivers/media/usb/gspca/m5602/m5602_core.c gspca_dev->pixfmt.sizeimage - cur_frame_len); pixfmt 412 drivers/media/usb/gspca/m5602/m5602_mt9m111.c if (gspca_dev->pixfmt.width == 640) { pixfmt 244 drivers/media/usb/gspca/mars.c jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, pixfmt 245 drivers/media/usb/gspca/mars.c gspca_dev->pixfmt.width, pixfmt 261 drivers/media/usb/gspca/mars.c data[3] = gspca_dev->pixfmt.width / 8; /* h_size , reg 2 */ pixfmt 262 drivers/media/usb/gspca/mars.c data[4] = gspca_dev->pixfmt.height / 8; /* v_size , reg 3 */ pixfmt 511 drivers/media/usb/gspca/mr97310a.c switch (gspca_dev->pixfmt.width) { pixfmt 608 drivers/media/usb/gspca/mr97310a.c switch (gspca_dev->pixfmt.width) { pixfmt 837 drivers/media/usb/gspca/mr97310a.c if (clockdiv < min_clockdiv && gspca_dev->pixfmt.width >= 320) pixfmt 1704 drivers/media/usb/gspca/nw80x.c sd->ae_res = gspca_dev->pixfmt.width * gspca_dev->pixfmt.height; pixfmt 1713 drivers/media/usb/gspca/nw80x.c sd->ae_res = gspca_dev->pixfmt.width * pixfmt 1714 drivers/media/usb/gspca/nw80x.c gspca_dev->pixfmt.height; pixfmt 1854 drivers/media/usb/gspca/nw80x.c if (gspca_dev->pixfmt.width == 320) pixfmt 1861 drivers/media/usb/gspca/nw80x.c if (gspca_dev->pixfmt.width == 320) pixfmt 1868 drivers/media/usb/gspca/nw80x.c if (gspca_dev->pixfmt.width == 320) pixfmt 3451 drivers/media/usb/gspca/ov519.c if (gspca_dev->pixfmt.width != 800) pixfmt 3495 drivers/media/usb/gspca/ov519.c hsegs = (sd->gspca_dev.pixfmt.width >> 3) - 1; pixfmt 3496 drivers/media/usb/gspca/ov519.c vsegs = (sd->gspca_dev.pixfmt.height >> 3) - 1; pixfmt 3529 drivers/media/usb/gspca/ov519.c if (sd->gspca_dev.pixfmt.width == 320) pixfmt 3539 drivers/media/usb/gspca/ov519.c if (sd->gspca_dev.pixfmt.width != 640) { pixfmt 3573 drivers/media/usb/gspca/ov519.c needed = fps * sd->gspca_dev.pixfmt.width * pixfmt 3574 drivers/media/usb/gspca/ov519.c sd->gspca_dev.pixfmt.height * 3 / 2; pixfmt 3641 drivers/media/usb/gspca/ov519.c hsegs = sd->gspca_dev.pixfmt.width / 16; pixfmt 3642 drivers/media/usb/gspca/ov519.c vsegs = sd->gspca_dev.pixfmt.height / 4; pixfmt 3682 drivers/media/usb/gspca/ov519.c sd->gspca_dev.pixfmt.width == 640) { pixfmt 3808 drivers/media/usb/gspca/ov519.c reg_w(sd, OV519_R10_H_SIZE, sd->gspca_dev.pixfmt.width >> 4); pixfmt 3809 drivers/media/usb/gspca/ov519.c reg_w(sd, OV519_R11_V_SIZE, sd->gspca_dev.pixfmt.height >> 3); pixfmt 3943 drivers/media/usb/gspca/ov519.c xstart = (1040 - gspca_dev->pixfmt.width) / 2 + pixfmt 3945 drivers/media/usb/gspca/ov519.c ystart = (776 - gspca_dev->pixfmt.height) / 2; pixfmt 3947 drivers/media/usb/gspca/ov519.c xstart = (2076 - gspca_dev->pixfmt.width) / 2 + pixfmt 3949 drivers/media/usb/gspca/ov519.c ystart = (1544 - gspca_dev->pixfmt.height) / 2; pixfmt 3951 drivers/media/usb/gspca/ov519.c xend = xstart + gspca_dev->pixfmt.width; pixfmt 3952 drivers/media/usb/gspca/ov519.c yend = ystart + gspca_dev->pixfmt.height; pixfmt 4227 drivers/media/usb/gspca/ov519.c sd->sensor_width = sd->gspca_dev.pixfmt.width; pixfmt 4228 drivers/media/usb/gspca/ov519.c sd->sensor_height = sd->gspca_dev.pixfmt.height; pixfmt 4343 drivers/media/usb/gspca/ov519.c if ((in[9] + 1) * 8 != gspca_dev->pixfmt.width || pixfmt 4344 drivers/media/usb/gspca/ov519.c (in[10] + 1) * 8 != gspca_dev->pixfmt.height) { pixfmt 4347 drivers/media/usb/gspca/ov519.c gspca_dev->pixfmt.width, pixfmt 4348 drivers/media/usb/gspca/ov519.c gspca_dev->pixfmt.height); pixfmt 4468 drivers/media/usb/gspca/ov519.c sd->gspca_dev.pixfmt.width * pixfmt 4469 drivers/media/usb/gspca/ov519.c sd->gspca_dev.pixfmt.height) pixfmt 1506 drivers/media/usb/gspca/ov534.c if (gspca_dev->pixfmt.pixelformat != V4L2_PIX_FMT_JPEG pixfmt 1508 drivers/media/usb/gspca/ov534.c gspca_dev->pixfmt.sizeimage) { pixfmt 288 drivers/media/usb/gspca/pac207.c if (gspca_dev->pixfmt.width == 176) pixfmt 306 drivers/media/usb/gspca/pac207.c if (gspca_dev->pixfmt.width == 176) { /* 176x144 */ pixfmt 316 drivers/media/usb/gspca/pac7311.c if (gspca_dev->pixfmt.width != 640 && val <= 3) pixfmt 327 drivers/media/usb/gspca/pac7311.c if (gspca_dev->pixfmt.width == 640 && val == 2) pixfmt 605 drivers/media/usb/gspca/pac7311.c gspca_dev->pixfmt.height, gspca_dev->pixfmt.width); pixfmt 348 drivers/media/usb/gspca/se401.c gspca_dev->pixfmt.width * mult, 0); pixfmt 350 drivers/media/usb/gspca/se401.c gspca_dev->pixfmt.height * mult, 0); pixfmt 474 drivers/media/usb/gspca/se401.c int imagesize = gspca_dev->pixfmt.width * gspca_dev->pixfmt.height; pixfmt 1955 drivers/media/usb/gspca/sn9c20x.c switch (gspca_dev->pixfmt.width) { pixfmt 1985 drivers/media/usb/gspca/sn9c20x.c int width = gspca_dev->pixfmt.width; pixfmt 1986 drivers/media/usb/gspca/sn9c20x.c int height = gspca_dev->pixfmt.height; pixfmt 745 drivers/media/usb/gspca/sonixb.c if (gspca_dev->pixfmt.width == 640 && reg11 < 4) pixfmt 2200 drivers/media/usb/gspca/sonixj.c jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, pixfmt 2201 drivers/media/usb/gspca/sonixj.c gspca_dev->pixfmt.width, pixfmt 251 drivers/media/usb/gspca/spca1528.c jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, pixfmt 252 drivers/media/usb/gspca/spca1528.c gspca_dev->pixfmt.width, pixfmt 599 drivers/media/usb/gspca/spca500.c jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, pixfmt 600 drivers/media/usb/gspca/spca500.c gspca_dev->pixfmt.width, pixfmt 260 drivers/media/usb/gspca/sq905c.c switch (gspca_dev->pixfmt.width) { pixfmt 902 drivers/media/usb/gspca/sq930x.c gspca_dev->cam.bulk_size = gspca_dev->pixfmt.width * pixfmt 903 drivers/media/usb/gspca/sq930x.c gspca_dev->pixfmt.height + 8; pixfmt 240 drivers/media/usb/gspca/stk014.c jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, pixfmt 241 drivers/media/usb/gspca/stk014.c gspca_dev->pixfmt.width, pixfmt 252 drivers/media/usb/gspca/stk014.c if (gspca_dev->pixfmt.width > 320) pixfmt 307 drivers/media/usb/gspca/stk1135.c width = gspca_dev->pixfmt.width; pixfmt 308 drivers/media/usb/gspca/stk1135.c height = gspca_dev->pixfmt.height; pixfmt 447 drivers/media/usb/gspca/stk1135.c width = gspca_dev->pixfmt.width; pixfmt 448 drivers/media/usb/gspca/stk1135.c height = gspca_dev->pixfmt.height; pixfmt 461 drivers/media/usb/gspca/stv06xx/stv06xx.c sd->to_skip = gspca_dev->pixfmt.width * 4; pixfmt 419 drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c totalpixels = gspca_dev->pixfmt.width * gspca_dev->pixfmt.height; pixfmt 711 drivers/media/usb/gspca/sunplus.c jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, pixfmt 712 drivers/media/usb/gspca/sunplus.c gspca_dev->pixfmt.width, pixfmt 3850 drivers/media/usb/gspca/topro.c if (gspca_dev->pixfmt.width == 640) pixfmt 3874 drivers/media/usb/gspca/topro.c if (gspca_dev->pixfmt.width == 320) { pixfmt 3918 drivers/media/usb/gspca/topro.c && gspca_dev->pixfmt.width == 640) pixfmt 3929 drivers/media/usb/gspca/topro.c && gspca_dev->pixfmt.width == 640) pixfmt 4548 drivers/media/usb/gspca/topro.c jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, pixfmt 4549 drivers/media/usb/gspca/topro.c gspca_dev->pixfmt.width); pixfmt 4740 drivers/media/usb/gspca/topro.c if (gspca_dev->pixfmt.width == 640) pixfmt 239 drivers/media/usb/gspca/touptek.c unsigned int w = gspca_dev->pixfmt.width; pixfmt 328 drivers/media/usb/gspca/touptek.c unsigned int w = gspca_dev->pixfmt.width; pixfmt 374 drivers/media/usb/gspca/touptek.c reg_w(gspca_dev, gspca_dev->pixfmt.height, REG_Y_OUTPUT_SIZE); pixfmt 420 drivers/media/usb/gspca/touptek.c gspca_dev->pixfmt.width); pixfmt 560 drivers/media/usb/gspca/touptek.c if (sd->this_f + len == gspca_dev->pixfmt.sizeimage) { pixfmt 563 drivers/media/usb/gspca/touptek.c sd->this_f, gspca_dev->pixfmt.sizeimage, len); pixfmt 568 drivers/media/usb/gspca/touptek.c sd->this_f, gspca_dev->pixfmt.sizeimage, len); pixfmt 257 drivers/media/usb/gspca/tv8532.c sd->packet = gspca_dev->pixfmt.height / 2; pixfmt 273 drivers/media/usb/gspca/tv8532.c data + 2, gspca_dev->pixfmt.width); pixfmt 275 drivers/media/usb/gspca/tv8532.c data + gspca_dev->pixfmt.width + 5, pixfmt 276 drivers/media/usb/gspca/tv8532.c gspca_dev->pixfmt.width); pixfmt 3641 drivers/media/usb/gspca/vc032x.c size = gspca_dev->pixfmt.sizeimage; pixfmt 110 drivers/media/usb/gspca/vicam.c if (gspca_dev->pixfmt.width == 256) pixfmt 112 drivers/media/usb/gspca/vicam.c if (gspca_dev->pixfmt.height <= 122) { pixfmt 114 drivers/media/usb/gspca/vicam.c unscaled_height = gspca_dev->pixfmt.height * 2; pixfmt 116 drivers/media/usb/gspca/vicam.c unscaled_height = gspca_dev->pixfmt.height; pixfmt 433 drivers/media/usb/gspca/w996Xcf.c fw = SC(sd->gspca_dev.pixfmt.width) / max_width; pixfmt 434 drivers/media/usb/gspca/w996Xcf.c fh = SC(sd->gspca_dev.pixfmt.height) / max_height; pixfmt 436 drivers/media/usb/gspca/w996Xcf.c cw = (fw >= fh) ? max_width : SC(sd->gspca_dev.pixfmt.width) / fh; pixfmt 437 drivers/media/usb/gspca/w996Xcf.c ch = (fw >= fh) ? SC(sd->gspca_dev.pixfmt.height) / fw : max_height; pixfmt 457 drivers/media/usb/gspca/w996Xcf.c reg_w(sd, 0x14, sd->gspca_dev.pixfmt.width); pixfmt 458 drivers/media/usb/gspca/w996Xcf.c reg_w(sd, 0x15, sd->gspca_dev.pixfmt.height); pixfmt 461 drivers/media/usb/gspca/w996Xcf.c reg_w(sd, 0x30, sd->gspca_dev.pixfmt.width); pixfmt 462 drivers/media/usb/gspca/w996Xcf.c reg_w(sd, 0x31, sd->gspca_dev.pixfmt.height); pixfmt 467 drivers/media/usb/gspca/w996Xcf.c reg_w(sd, 0x2c, sd->gspca_dev.pixfmt.width / 2); pixfmt 468 drivers/media/usb/gspca/w996Xcf.c reg_w(sd, 0x2d, sd->gspca_dev.pixfmt.width / 4); pixfmt 470 drivers/media/usb/gspca/w996Xcf.c reg_w(sd, 0x2c, sd->gspca_dev.pixfmt.width); pixfmt 476 drivers/media/usb/gspca/w996Xcf.c val = sd->gspca_dev.pixfmt.width * sd->gspca_dev.pixfmt.height; pixfmt 483 drivers/media/usb/gspca/w996Xcf.c jpeg_define(sd->jpeg_hdr, sd->gspca_dev.pixfmt.height, pixfmt 484 drivers/media/usb/gspca/w996Xcf.c sd->gspca_dev.pixfmt.width, 0x22); /* JPEG 420 */ pixfmt 1464 drivers/media/usb/gspca/xirlink_cit.c gspca_dev->pixfmt.width * gspca_dev->pixfmt.height * pixfmt 1471 drivers/media/usb/gspca/xirlink_cit.c gspca_dev->pixfmt.width, gspca_dev->pixfmt.height, pixfmt 1496 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 1637 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 1694 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 1747 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 1788 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 1836 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 1897 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 2023 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 2134 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 2211 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 2531 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 2636 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 2669 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 2793 drivers/media/usb/gspca/xirlink_cit.c switch (gspca_dev->pixfmt.width) { pixfmt 6715 drivers/media/usb/gspca/zc3xx.c jpeg_define(sd->jpeg_hdr, gspca_dev->pixfmt.height, pixfmt 6716 drivers/media/usb/gspca/zc3xx.c gspca_dev->pixfmt.width, pixfmt 141 drivers/media/usb/pwc/pwc-ctrl.c static int set_video_mode_Nala(struct pwc_device *pdev, int size, int pixfmt, pixfmt 186 drivers/media/usb/pwc/pwc-ctrl.c if (pEntry->compressed && pixfmt == V4L2_PIX_FMT_YUV420) pixfmt 190 drivers/media/usb/pwc/pwc-ctrl.c pdev->pixfmt = pixfmt; pixfmt 216 drivers/media/usb/pwc/pwc-ctrl.c static int set_video_mode_Timon(struct pwc_device *pdev, int size, int pixfmt, pixfmt 249 drivers/media/usb/pwc/pwc-ctrl.c if (pChoose->bandlength > 0 && pixfmt == V4L2_PIX_FMT_YUV420) pixfmt 253 drivers/media/usb/pwc/pwc-ctrl.c pdev->pixfmt = pixfmt; pixfmt 267 drivers/media/usb/pwc/pwc-ctrl.c static int set_video_mode_Kiara(struct pwc_device *pdev, int size, int pixfmt, pixfmt 300 drivers/media/usb/pwc/pwc-ctrl.c if (pChoose->bandlength > 0 && pixfmt == V4L2_PIX_FMT_YUV420) pixfmt 304 drivers/media/usb/pwc/pwc-ctrl.c pdev->pixfmt = pixfmt; pixfmt 320 drivers/media/usb/pwc/pwc-ctrl.c int pixfmt, int frames, int *compression, int send_to_cam) pixfmt 325 drivers/media/usb/pwc/pwc-ctrl.c width, height, frames, pixfmt); pixfmt 330 drivers/media/usb/pwc/pwc-ctrl.c ret = set_video_mode_Nala(pdev, size, pixfmt, frames, pixfmt 333 drivers/media/usb/pwc/pwc-ctrl.c ret = set_video_mode_Kiara(pdev, size, pixfmt, frames, pixfmt 336 drivers/media/usb/pwc/pwc-ctrl.c ret = set_video_mode_Timon(pdev, size, pixfmt, frames, pixfmt 407 drivers/media/usb/pwc/pwc-if.c ret = pwc_set_video_mode(pdev, pdev->width, pdev->height, pdev->pixfmt, pixfmt 36 drivers/media/usb/pwc/pwc-uncompress.c if (pdev->pixfmt != V4L2_PIX_FMT_YUV420) pixfmt 387 drivers/media/usb/pwc/pwc-v4l.c int width, int height, u32 pixfmt) pixfmt 393 drivers/media/usb/pwc/pwc-v4l.c f->fmt.pix.pixelformat = pixfmt; pixfmt 475 drivers/media/usb/pwc/pwc-v4l.c pwc_vidioc_fill_fmt(f, pdev->width, pdev->height, pdev->pixfmt); pixfmt 895 drivers/media/usb/pwc/pwc-v4l.c pwc_vidioc_fill_fmt(f, pdev->width, pdev->height, pdev->pixfmt); pixfmt 1003 drivers/media/usb/pwc/pwc-v4l.c ret = pwc_set_video_mode(pdev, pdev->width, pdev->height, pdev->pixfmt, pixfmt 236 drivers/media/usb/pwc/pwc.h int pixfmt; /* pixelformat: V4L2_PIX_FMT_YUV420 or _PWCX */ pixfmt 357 drivers/media/usb/pwc/pwc.h int pixfmt, int frames, int *compression, int send_to_cam); pixfmt 351 drivers/media/v4l2-core/v4l2-common.c int v4l2_fill_pixfmt_mp(struct v4l2_pix_format_mplane *pixfmt, pixfmt 362 drivers/media/v4l2-core/v4l2-common.c pixfmt->width = width; pixfmt 363 drivers/media/v4l2-core/v4l2-common.c pixfmt->height = height; pixfmt 364 drivers/media/v4l2-core/v4l2-common.c pixfmt->pixelformat = pixelformat; pixfmt 365 drivers/media/v4l2-core/v4l2-common.c pixfmt->num_planes = info->mem_planes; pixfmt 368 drivers/media/v4l2-core/v4l2-common.c plane = &pixfmt->plane_fmt[0]; pixfmt 395 drivers/media/v4l2-core/v4l2-common.c plane = &pixfmt->plane_fmt[i]; pixfmt 406 drivers/media/v4l2-core/v4l2-common.c int v4l2_fill_pixfmt(struct v4l2_pix_format *pixfmt, u32 pixelformat, pixfmt 420 drivers/media/v4l2-core/v4l2-common.c pixfmt->width = width; pixfmt 421 drivers/media/v4l2-core/v4l2-common.c pixfmt->height = height; pixfmt 422 drivers/media/v4l2-core/v4l2-common.c pixfmt->pixelformat = pixelformat; pixfmt 423 drivers/media/v4l2-core/v4l2-common.c pixfmt->bytesperline = ALIGN(width, v4l2_format_block_width(info, 0)) * info->bpp[0]; pixfmt 424 drivers/media/v4l2-core/v4l2-common.c pixfmt->sizeimage = 0; pixfmt 435 drivers/media/v4l2-core/v4l2-common.c pixfmt->sizeimage += info->bpp[i] * pixfmt 541 drivers/staging/media/hantro/hantro_v4l2.c struct v4l2_pix_format_mplane *pixfmt; pixfmt 546 drivers/staging/media/hantro/hantro_v4l2.c pixfmt = &ctx->dst_fmt; pixfmt 549 drivers/staging/media/hantro/hantro_v4l2.c pixfmt = &ctx->src_fmt; pixfmt 557 drivers/staging/media/hantro/hantro_v4l2.c if (*num_planes != pixfmt->num_planes) pixfmt 559 drivers/staging/media/hantro/hantro_v4l2.c for (i = 0; i < pixfmt->num_planes; ++i) pixfmt 560 drivers/staging/media/hantro/hantro_v4l2.c if (sizes[i] < pixfmt->plane_fmt[i].sizeimage) pixfmt 565 drivers/staging/media/hantro/hantro_v4l2.c *num_planes = pixfmt->num_planes; pixfmt 566 drivers/staging/media/hantro/hantro_v4l2.c for (i = 0; i < pixfmt->num_planes; ++i) pixfmt 567 drivers/staging/media/hantro/hantro_v4l2.c sizes[i] = pixfmt->plane_fmt[i].sizeimage; pixfmt 573 drivers/staging/media/hantro/hantro_v4l2.c struct v4l2_pix_format_mplane *pixfmt) pixfmt 578 drivers/staging/media/hantro/hantro_v4l2.c for (i = 0; i < pixfmt->num_planes; ++i) { pixfmt 579 drivers/staging/media/hantro/hantro_v4l2.c sz = pixfmt->plane_fmt[i].sizeimage; pixfmt 448 drivers/staging/media/meson/vdec/vdec.c find_format(const struct amvdec_format *fmts, u32 size, u32 pixfmt) pixfmt 453 drivers/staging/media/meson/vdec/vdec.c if (fmts[i].pixfmt == pixfmt) pixfmt 556 drivers/staging/media/meson/vdec/vdec.c pixmp->pixelformat = sess->fmt_out->pixfmt; pixfmt 595 drivers/staging/media/meson/vdec/vdec.c pixfmt_out = sess->fmt_out->pixfmt; pixfmt 648 drivers/staging/media/meson/vdec/vdec.c f->pixelformat = fmt_out->pixfmt; pixfmt 151 drivers/staging/media/meson/vdec/vdec.h u32 pixfmt; pixfmt 156 drivers/staging/media/meson/vdec/vdec_helpers.c u32 pixfmt = sess->pixfmt_cap; pixfmt 171 drivers/staging/media/meson/vdec/vdec_helpers.c switch (pixfmt) { pixfmt 186 drivers/staging/media/meson/vdec/vdec_helpers.c pixfmt); pixfmt 15 drivers/staging/media/meson/vdec/vdec_platform.c .pixfmt = V4L2_PIX_FMT_MPEG1, pixfmt 25 drivers/staging/media/meson/vdec/vdec_platform.c .pixfmt = V4L2_PIX_FMT_MPEG2, pixfmt 39 drivers/staging/media/meson/vdec/vdec_platform.c .pixfmt = V4L2_PIX_FMT_MPEG1, pixfmt 49 drivers/staging/media/meson/vdec/vdec_platform.c .pixfmt = V4L2_PIX_FMT_MPEG2, pixfmt 63 drivers/staging/media/meson/vdec/vdec_platform.c .pixfmt = V4L2_PIX_FMT_MPEG1, pixfmt 73 drivers/staging/media/meson/vdec/vdec_platform.c .pixfmt = V4L2_PIX_FMT_MPEG2, pixfmt 275 drivers/staging/media/omap4iss/iss_video.c struct v4l2_pix_format pixfmt; pixfmt 282 drivers/staging/media/omap4iss/iss_video.c pixfmt.bytesperline = 0; pixfmt 283 drivers/staging/media/omap4iss/iss_video.c ret = iss_video_mbus_to_pix(video, &format, &pixfmt); pixfmt 285 drivers/staging/media/omap4iss/iss_video.c if (vfh->format.fmt.pix.pixelformat != pixfmt.pixelformat || pixfmt 286 drivers/staging/media/omap4iss/iss_video.c vfh->format.fmt.pix.height != pixfmt.height || pixfmt 287 drivers/staging/media/omap4iss/iss_video.c vfh->format.fmt.pix.width != pixfmt.width || pixfmt 288 drivers/staging/media/omap4iss/iss_video.c vfh->format.fmt.pix.bytesperline != pixfmt.bytesperline || pixfmt 289 drivers/staging/media/omap4iss/iss_video.c vfh->format.fmt.pix.sizeimage != pixfmt.sizeimage) pixfmt 147 drivers/video/fbdev/gxt4500.c int pixfmt; /* pixel format, see DFA_PIX_* values */ pixfmt 299 drivers/video/fbdev/gxt4500.c par->pixfmt = DFA_PIX_32BIT; pixfmt 301 drivers/video/fbdev/gxt4500.c par->pixfmt = DFA_PIX_24BIT; pixfmt 304 drivers/video/fbdev/gxt4500.c par->pixfmt = DFA_PIX_24BIT; pixfmt 308 drivers/video/fbdev/gxt4500.c par->pixfmt = DFA_PIX_16BIT_1555; pixfmt 310 drivers/video/fbdev/gxt4500.c par->pixfmt = DFA_PIX_16BIT_565; pixfmt 313 drivers/video/fbdev/gxt4500.c par->pixfmt = DFA_PIX_8BIT; pixfmt 326 drivers/video/fbdev/gxt4500.c int pixfmt) pixfmt 328 drivers/video/fbdev/gxt4500.c var->bits_per_pixel = pixsize[pixfmt] * 8; pixfmt 334 drivers/video/fbdev/gxt4500.c switch (pixfmt) { pixfmt 350 drivers/video/fbdev/gxt4500.c if (pixfmt != DFA_PIX_8BIT) { pixfmt 370 drivers/video/fbdev/gxt4500.c gxt4500_unpack_pixfmt(var, par.pixfmt); pixfmt 381 drivers/video/fbdev/gxt4500.c unsigned int dfa_ctl, pixfmt, stride; pixfmt 477 drivers/video/fbdev/gxt4500.c pixfmt = par->pixfmt; pixfmt 478 drivers/video/fbdev/gxt4500.c dfa_ctl |= DFA_FB_ENABLE | pixfmt; pixfmt 487 drivers/video/fbdev/gxt4500.c writereg(par, WAT_FMT + (i << 4), watfmt[pixfmt]); pixfmt 505 drivers/video/fbdev/gxt4500.c info->fix.line_length = stride * pixsize[pixfmt]; pixfmt 506 drivers/video/fbdev/gxt4500.c info->fix.visual = (pixfmt == DFA_PIX_8BIT)? FB_VISUAL_PSEUDOCOLOR: pixfmt 525 drivers/video/fbdev/gxt4500.c if (reg < 16 && par->pixfmt != DFA_PIX_8BIT) { pixfmt 528 drivers/video/fbdev/gxt4500.c switch (par->pixfmt) { pixfmt 713 drivers/video/fbdev/mx3fb.c uint32_t pixfmt = 0; pixfmt 716 drivers/video/fbdev/mx3fb.c pixfmt = IPU_PIX_FMT_BGR24; pixfmt 719 drivers/video/fbdev/mx3fb.c pixfmt = IPU_PIX_FMT_BGR32; pixfmt 722 drivers/video/fbdev/mx3fb.c pixfmt = IPU_PIX_FMT_RGB565; pixfmt 725 drivers/video/fbdev/mx3fb.c return pixfmt; pixfmt 278 include/media/davinci/vpbe_osd.h enum osd_pix_format pixfmt; pixfmt 485 include/media/v4l2-common.h int v4l2_fill_pixfmt(struct v4l2_pix_format *pixfmt, u32 pixelformat, pixfmt 487 include/media/v4l2-common.h int v4l2_fill_pixfmt_mp(struct v4l2_pix_format_mplane *pixfmt, u32 pixelformat,