Searched defs:formats (Results 1 - 25 of 39) sorted by relevance

12

/drivers/gpu/drm/exynos/
H A Dexynos_drm_plane.c25 static const uint32_t formats[] = { variable
127 &exynos_plane_funcs, formats, ARRAY_SIZE(formats),
/drivers/media/video/omap3isp/
H A Dispccp2.h75 struct v4l2_mbus_framefmt formats[CCP2_PADS_NUM]; member in struct:isp_ccp2_device
H A Dispresizer.h105 struct v4l2_mbus_framefmt formats[RESZ_PADS_NUM]; member in struct:isp_res_device
H A Dispccdc.h149 * @formats: Active video formats
175 struct v4l2_mbus_framefmt formats[CCDC_PADS_NUM]; member in struct:isp_ccdc_device
H A Disppreview.h154 * @formats: Active formats at the subdev pad
172 struct v4l2_mbus_framefmt formats[PREV_PADS_NUM]; member in struct:isp_prev_device
H A Dispcsi2.h134 struct v4l2_mbus_framefmt formats[CSI2_PADS_NUM]; member in struct:isp_csi2_device
H A Dispvideo.c49 static struct isp_format_info formats[] = { variable in typeref:struct:isp_format_info
111 for (i = 0; i < ARRAY_SIZE(formats); ++i) {
112 if (formats[i].code == code)
113 return &formats[i];
174 for (i = 0; i < ARRAY_SIZE(formats); ++i) {
175 if (formats[i].code == mbus->code)
179 if (WARN_ON(i == ARRAY_SIZE(formats)))
182 min_bpl = pix->width * ALIGN(formats[i].bpp, 8) / 8;
196 pix->pixelformat = formats[i].pixelformat;
217 for (i = 0; i < ARRAY_SIZE(formats)
[all...]
/drivers/staging/omapdrm/
H A Domap_plane.c55 uint32_t formats[32]; member in struct:omap_plane
450 omap_plane->formats, ARRAY_SIZE(omap_plane->formats),
456 omap_plane->formats, omap_plane->nformats, priv);
H A Domap_fb.c40 static const struct format formats[] = { variable in typeref:struct:format
62 /* convert from overlay's pixel formats bitmask to an array of fourcc's */
69 for (i = 0; i < ARRAY_SIZE(formats) && nformats < max_formats; i++)
70 if (formats[i].dss_format & supported_modes)
71 pixel_formats[nformats++] = formats[i].pixel_format;
332 for (i = 0; i < ARRAY_SIZE(formats); i++) {
333 if (formats[i].pixel_format == mode_cmd->pixel_format) {
334 format = &formats[i];
/drivers/media/video/s5p-g2d/
H A Dg2d.c34 static struct g2d_fmt formats[] = { variable in typeref:struct:g2d_fmt
66 #define NUM_FORMATS ARRAY_SIZE(formats)
75 .fmt = &formats[0],
84 if (formats[i].fourcc == f->fmt.pix.pixelformat)
85 return &formats[i];
247 /* Set default formats */
303 fmt = &formats[f->index];
/drivers/media/video/s5p-mfc/
H A Ds5p_mfc_dec.c35 static struct s5p_mfc_fmt formats[] = { variable in typeref:struct:s5p_mfc_fmt
108 #define NUM_FORMATS ARRAY_SIZE(formats)
116 if (formats[i].fourcc == f->fmt.pix_mp.pixelformat &&
117 formats[i].type == t)
118 return &formats[i];
234 for (i = 0; i < ARRAY_SIZE(formats); ++i) {
235 if (mplane && formats[i].num_planes == 1)
237 else if (!mplane && formats[i].num_planes > 1)
239 if (out && formats[i].type != MFC_FMT_DEC)
241 else if (!out && formats[
[all...]
H A Ds5p_mfc_enc.c34 static struct s5p_mfc_fmt formats[] = { variable in typeref:struct:s5p_mfc_fmt
72 #define NUM_FORMATS ARRAY_SIZE(formats)
78 if (formats[i].fourcc == f->fmt.pix_mp.pixelformat &&
79 formats[i].type == t)
80 return &formats[i];
799 for (i = 0; i < ARRAY_SIZE(formats); ++i) {
800 if (mplane && formats[i].num_planes == 1)
802 else if (!mplane && formats[i].num_planes > 1)
804 if (out && formats[i].type != MFC_FMT_RAW)
806 else if (!out && formats[
[all...]
/drivers/media/video/
H A Darv.c504 static struct v4l2_fmtdesc formats[] = { local
515 *fmt = formats[fmt->index];
H A Datmel-isi.c644 /* This will be corrected as we get more formats */
698 int formats = 0, ret; local
706 /* No more formats */
729 formats++;
748 formats++;
755 return formats;
H A Dbw-qcam.c816 static struct v4l2_fmtdesc formats[] = { local
831 *fmt = formats[fmt->index];
H A Dc-qcam.c686 static struct v4l2_fmtdesc formats[] = { local
697 *fmt = formats[fmt->index];
H A Dmem2mem_testdev.c83 static struct m2mtest_fmt formats[] = { variable in typeref:struct:m2mtest_fmt
154 #define NUM_FORMATS ARRAY_SIZE(formats)
162 fmt = &formats[k];
170 return &formats[k];
396 if (formats[i].types & type) {
408 fmt = &formats[i];
985 q_data[V4L2_M2M_SRC].fmt = &formats[0];
986 q_data[V4L2_M2M_DST].fmt = &formats[0];
H A Dmx3_camera.c248 /* Add more formats as need arises and test possibilities appear... */
322 * For IPU known formats the pixel unit will be managed
654 /* This will be corrected as we get more formats */
669 int formats = 0, ret; local
675 /* No more formats */
692 formats++;
702 formats++;
717 formats++;
729 return formats;
1092 /* TODO: Support RGB and YUV formats */
[all...]
H A Dpms.c899 static struct v4l2_fmtdesc formats[] = { local
914 *fmt = formats[fmt->index];
H A Dw9966.c738 static struct v4l2_fmtdesc formats[] = { local
749 *fmt = formats[fmt->index];
/drivers/media/common/
H A Dsaa7146_video.c19 static struct saa7146_format formats[] = { variable in typeref:struct:saa7146_format
85 due to this, it's impossible to provide additional *packed* formats, which are simply byte swapped
88 static int NUM_FORMATS = sizeof(formats)/sizeof(struct saa7146_format);
95 if (formats[i].pixelformat == fourcc) {
96 return formats+i;
548 /* planar formats are not allowed for overlay video, clipping and video dma would clash */
576 strlcpy((char *)f->description, formats[f->index].name,
578 f->pixelformat = formats[f->index].pixelformat;
/drivers/media/video/cx18/
H A Dcx18-ioctl.c554 static const struct v4l2_fmtdesc formats[] = { local
566 if (fmt->index > ARRAY_SIZE(formats) - 1)
568 *fmt = formats[fmt->index];
/drivers/media/video/cx23885/
H A Dcx23885-video.c82 static struct cx23885_fmt formats[] = {
136 static struct cx23885_fmt formats[] = { variable in typeref:struct:cx23885_fmt
157 for (i = 0; i < ARRAY_SIZE(formats); i++)
158 if (formats[i].fourcc == fourcc)
159 return formats+i;
713 /* All other formats are top field first */
1161 if (unlikely(f->index >= ARRAY_SIZE(formats)))
1164 strlcpy(f->description, formats[f->index].name,
1166 f->pixelformat = formats[f->index].fourcc;
/drivers/media/video/cx88/
H A Dcx88-video.c82 static const struct cx8800_fmt formats[] = { variable in typeref:struct:cx8800_fmt
150 for (i = 0; i < ARRAY_SIZE(formats); i++)
151 if (formats[i].fourcc == fourcc)
152 return formats+i;
1220 if (unlikely(f->index >= ARRAY_SIZE(formats)))
1223 strlcpy(f->description,formats[f->index].name,sizeof(f->description));
1224 f->pixelformat = formats[f->index].fourcc;
/drivers/media/video/ivtv/
H A Divtv-ioctl.c926 static struct v4l2_fmtdesc formats[] = { local
941 *fmt = formats[fmt->index];
950 static struct v4l2_fmtdesc formats[] = { local
968 *fmt = formats[fmt->index];
1412 /* no local alpha for RGB565 or unknown formats */
1416 /* 16-bit formats have inverted local alpha */
1423 /* 16-bit formats have inverted local alpha */

Completed in 959 milliseconds

12