/drivers/media/video/omap3isp/ |
H A D | ispccp2.h | 75 struct v4l2_mbus_framefmt formats[CCP2_PADS_NUM]; member in struct:isp_ccp2_device
|
H A D | ispresizer.h | 105 struct v4l2_mbus_framefmt formats[RESZ_PADS_NUM]; member in struct:isp_res_device
|
H A D | ispccdc.h | 149 * @formats: Active video formats 175 struct v4l2_mbus_framefmt formats[CCDC_PADS_NUM]; member in struct:isp_ccdc_device
|
H A D | isppreview.h | 154 * @formats: Active formats at the subdev pad 172 struct v4l2_mbus_framefmt formats[PREV_PADS_NUM]; member in struct:isp_prev_device
|
H A D | ispcsi2.h | 134 struct v4l2_mbus_framefmt formats[CSI2_PADS_NUM]; member in struct:isp_csi2_device
|
H A D | ispvideo.c | 49 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 D | omap_plane.c | 274 static const uint32_t formats[] = { variable 313 formats, ARRAY_SIZE(formats), priv);
|
H A D | omap_fb.c | 40 static const struct format formats[] = { variable in typeref:struct:format 286 for (i = 0; i < ARRAY_SIZE(formats); i++) { 287 if (formats[i].pixel_format == mode_cmd->pixel_format) { 288 format = &formats[i];
|
/drivers/media/video/s5p-g2d/ |
H A D | g2d.c | 34 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]; 235 /* Set default formats */ 291 fmt = &formats[f->index];
|
/drivers/media/video/s5p-mfc/ |
H A D | s5p_mfc_dec.c | 35 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 D | s5p_mfc_enc.c | 34 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 D | arv.c | 504 static struct v4l2_fmtdesc formats[] = { local 515 *fmt = formats[fmt->index];
|
H A D | atmel-isi.c | 644 /* 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 D | bw-qcam.c | 816 static struct v4l2_fmtdesc formats[] = { local 831 *fmt = formats[fmt->index];
|
H A D | c-qcam.c | 686 static struct v4l2_fmtdesc formats[] = { local 697 *fmt = formats[fmt->index];
|
H A D | mem2mem_testdev.c | 83 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 D | mx3_camera.c | 248 /* 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 D | pms.c | 899 static struct v4l2_fmtdesc formats[] = { local 914 *fmt = formats[fmt->index];
|
H A D | w9966.c | 738 static struct v4l2_fmtdesc formats[] = { local 749 *fmt = formats[fmt->index];
|
/drivers/media/common/ |
H A D | saa7146_video.c | 19 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 D | cx18-ioctl.c | 554 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 D | cx23885-video.c | 82 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 D | cx88-video.c | 82 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 D | ivtv-ioctl.c | 917 static struct v4l2_fmtdesc formats[] = { local 932 *fmt = formats[fmt->index]; 941 static struct v4l2_fmtdesc formats[] = { local 959 *fmt = formats[fmt->index]; 1403 /* no local alpha for RGB565 or unknown formats */ 1407 /* 16-bit formats have inverted local alpha */ 1414 /* 16-bit formats have inverted local alpha */
|
/drivers/media/video/s5p-jpeg/ |
H A D | jpeg-core.c | 471 static int enum_fmt(struct s5p_jpeg_fmt *formats, int n, argument 477 if (formats[i].types & type) { 491 strlcpy(f->description, formats[i].name, sizeof(f->description)); 492 f->pixelformat = formats[i].fourcc; 573 struct s5p_jpeg_fmt *formats; local 577 formats = formats_enc; 580 formats = formats_dec; 585 struct s5p_jpeg_fmt *fmt = &formats[k];
|