Searched refs:pix_fmt (Results 1 - 16 of 16) sorted by relevance

/drivers/video/fbdev/mmp/fb/
H A Dmmpfb.h38 int pix_fmt; member in struct:mmpfb_info
H A Dmmpfb.c113 static void pixfmt_to_var(struct fb_var_screeninfo *var, int pix_fmt) argument
115 switch (pix_fmt) {
367 int pix_fmt; local
369 /* set pix_fmt */
370 pix_fmt = var_to_pixfmt(var);
371 if (pix_fmt < 0)
373 pixfmt_to_var(var, pix_fmt);
374 fbi->pix_fmt = pix_fmt;
388 info->fix.visual = (pix_fmt
[all...]
/drivers/staging/media/davinci_vpfe/
H A Ddm365_isif.h71 enum isif_pixfmt pix_fmt; member in struct:isif_ycbcr_config
118 enum isif_pixfmt pix_fmt; member in struct:isif_params_raw
H A Ddm365_isif.c166 isif->isif_cfg.bayer.pix_fmt = ISIF_PIXFMT_RAW;
1077 int pix_fmt; local
1100 pix_fmt = isif_get_pix_fmt(format->code);
1101 if (pix_fmt < 0) {
1102 pr_debug("Invalid pix_fmt(input mode)\n");
1121 ISIF_FRM_FMT_MASK) << ISIF_FRM_FMT_SHIFT) | ((pix_fmt &
1230 int pix_fmt; local
1243 pix_fmt = isif_get_pix_fmt(format->code);
1244 if (pix_fmt < 0) {
1245 pr_debug("Invalid pix_fmt(inpu
[all...]
/drivers/staging/imx-drm/
H A Dimx-drm.h21 u32 pix_fmt, int hsync_pin, int vsync_pin);
H A Dimx-hdmi.c956 u8 val, pix_fmt, under_scan; local
964 pix_fmt = HDMI_FC_AVICONF0_PIX_FMT_YCBCR444;
966 pix_fmt = HDMI_FC_AVICONF0_PIX_FMT_YCBCR422;
968 pix_fmt = HDMI_FC_AVICONF0_PIX_FMT_RGB;
976 val = pix_fmt | under_scan |
/drivers/video/fbdev/
H A Dpxa168fb.c97 static void set_pix_fmt(struct fb_var_screeninfo *var, int pix_fmt) argument
99 switch (pix_fmt) {
167 struct fb_videomode *mode, int pix_fmt, int ystretch)
171 set_pix_fmt(var, pix_fmt);
199 int pix_fmt; local
204 pix_fmt = determine_best_pix_fmt(var);
205 if (pix_fmt < 0)
206 return pix_fmt;
207 set_pix_fmt(var, pix_fmt);
208 fbi->pix_fmt
166 set_mode(struct pxa168fb_info *fbi, struct fb_var_screeninfo *var, struct fb_videomode *mode, int pix_fmt, int ystretch) argument
[all...]
H A Dfsl-diu-fb.c1159 ad->pix_fmt = diu_ops.get_pixel_format(data->monitor_port,
1162 ad->pix_fmt = fsl_diu_get_pixel_format(var->bits_per_pixel);
1280 __u32 pix_fmt; local
1297 if (copy_from_user(&pix_fmt, buf, sizeof(pix_fmt)))
1299 ad->pix_fmt = pix_fmt;
1306 pix_fmt = ad->pix_fmt;
1307 if (copy_to_user(buf, &pix_fmt, sizeo
[all...]
/drivers/media/platform/davinci/
H A Disif.c98 .pix_fmt = CCDC_PIXFMT_YCBCR_8BIT,
108 .pix_fmt = CCDC_PIXFMT_RAW,
588 (params->pix_fmt << ISIF_INPUT_SHIFT) |
762 isif_cfg.bayer.pix_fmt = CCDC_PIXFMT_RAW;
870 isif_cfg.ycbcr.pix_fmt = CCDC_PIXFMT_YCBCR_8BIT;
875 isif_cfg.ycbcr.pix_fmt = CCDC_PIXFMT_YCBCR_16BIT;
879 isif_cfg.bayer.pix_fmt = CCDC_PIXFMT_RAW;
900 modeset = modeset | (params->pix_fmt << ISIF_INPUT_SHIFT) |
909 if (params->pix_fmt != CCDC_PIXFMT_YCBCR_8BIT) {
910 dev_dbg(isif_cfg.dev, "Invalid pix_fmt(inpu
[all...]
H A Ddm355_ccdc.c66 .pix_fmt = CCDC_PIXFMT_RAW,
106 .pix_fmt = CCDC_PIXFMT_YCBCR_8BIT,
362 temp = (((params->pix_fmt & CCDC_INPUT_MODE_MASK) <<
650 ((params->pix_fmt & CCDC_PIX_FMT_MASK) << CCDC_PIX_FMT_SHIFT));
823 ccdc_cfg.bayer.pix_fmt = CCDC_PIXFMT_RAW;
H A Ddm644x_ccdc.c67 .pix_fmt = CCDC_PIXFMT_RAW,
78 .pix_fmt = CCDC_PIXFMT_YCBCR_8BIT,
391 syn_mode = (((params->pix_fmt & CCDC_SYN_MODE_INPMOD_MASK) <<
556 ((params->pix_fmt & CCDC_PIX_FMT_MASK) << CCDC_PIX_FMT_SHIFT) |
730 ccdc_cfg.bayer.pix_fmt = CCDC_PIXFMT_RAW;
H A Dvpbe_display.c164 if ((V4L2_FIELD_NONE == layer->pix_fmt.field) &&
221 vb2_set_plane_payload(vb, 0, layer->pix_fmt.sizeimage);
261 sizes[0] = layer->pix_fmt.sizeimage;
485 struct v4l2_pix_format *pixfmt = &layer->pix_fmt;
841 fmt->fmt.pix = layer->pix_fmt;
911 layer->pix_fmt = *pixfmt;
H A Dvpfe_capture.c956 const struct vpfe_pixel_format *pix_fmt; local
966 pix_fmt = vpfe_lookup_pix_format(pix);
967 if (NULL != pix_fmt) {
969 *fmt = pix_fmt->fmtdesc;
/drivers/video/fbdev/mmp/hw/
H A Dmmp_ctrl.c61 static u32 fmt_to_reg(struct mmp_overlay *overlay, int pix_fmt) argument
67 switch (pix_fmt) {
87 switch (pix_fmt) {
138 tmp |= fmt_to_reg(overlay, overlay->win.pix_fmt);
/drivers/media/platform/s5p-jpeg/
H A Djpeg-core.c1299 u32 pix_fmt = f->fmt.pix.pixelformat; local
1302 if (pix_fmt == V4L2_PIX_FMT_RGB32 ||
1303 pix_fmt == V4L2_PIX_FMT_NV24 ||
1304 pix_fmt == V4L2_PIX_FMT_NV42 ||
1305 pix_fmt == V4L2_PIX_FMT_NV12 ||
1306 pix_fmt == V4L2_PIX_FMT_NV21 ||
1307 pix_fmt == V4L2_PIX_FMT_YUV420)
/drivers/video/fbdev/omap2/dss/
H A Ddsi.c381 enum omap_dss_dsi_pixel_format pix_fmt; member in struct:dsi_data
3597 int bpp = dsi_get_pixel_size(dsi->pix_fmt);
3731 int bpp = dsi_get_pixel_size(dsi->pix_fmt);
3860 switch (dsi_get_pixel_size(dsi->pix_fmt)) {
3983 int bpp = dsi_get_pixel_size(dsi->pix_fmt);
4093 int bpp = dsi_get_pixel_size(dsi->pix_fmt);
4109 switch (dsi->pix_fmt) {
4202 bytespp = dsi_get_pixel_size(dsi->pix_fmt) / 8;
4338 dsi_get_pixel_size(dsi->pix_fmt) / 8;
4414 dsi_get_pixel_size(dsi->pix_fmt);
[all...]

Completed in 348 milliseconds