Searched refs:formats (Results 1 - 25 of 105) sorted by relevance

12345

/drivers/gpu/drm/msm/mdp/
H A Dmdp_format.c37 static const struct mdp_format formats[] = { variable in typeref:struct:mdp_format
50 for (i = 0; i < ARRAY_SIZE(formats); i++) {
51 const struct mdp_format *f = &formats[i];
65 for (i = 0; i < ARRAY_SIZE(formats); i++) {
66 const struct mdp_format *f = &formats[i];
H A Dmdp_kms.h94 uint32_t mdp_get_formats(uint32_t *formats, uint32_t max_formats);
/drivers/staging/media/omap4iss/
H A Diss_ipipe.h36 * @formats: Active video formats
47 struct v4l2_mbus_framefmt formats[IPIPE_PADS_NUM]; member in struct:iss_ipipe_device
H A Diss_ipipeif.h39 * @formats: Active video formats
66 struct v4l2_mbus_framefmt formats[IPIPEIF_PADS_NUM]; member in struct:iss_ipipeif_device
H A Diss_resizer.h37 * @formats: Active video formats
49 struct v4l2_mbus_framefmt formats[RESIZER_PADS_NUM]; member in struct:iss_resizer_device
H A Diss_video.c36 static struct iss_format_info formats[] = { variable in typeref:struct:iss_format_info
101 for (i = 0; i < ARRAY_SIZE(formats); ++i) {
102 if (formats[i].code == code)
103 return &formats[i];
136 for (i = 0; i < ARRAY_SIZE(formats) - 1; ++i) {
137 if (formats[i].code == mbus->code)
141 min_bpl = pix->width * ALIGN(formats[i].bpp, 8) / 8;
155 pix->pixelformat = formats[i].pixelformat;
177 for (i = 0; i < ARRAY_SIZE(formats); ++i) {
178 if (formats[
[all...]
/drivers/gpu/drm/
H A Ddrm_plane_helper.c35 * This is the minimal list of formats that seem to be safe for modeset use
37 * formats than this and drivers may specify a more accurate list when
311 * @formats: pixel formats supported, or NULL for a default safe list
312 * @num_formats: size of @formats; ignored if @formats is NULL
320 const uint32_t *formats,
332 if (formats == NULL) {
333 formats = safe_modeset_formats;
340 formats, num_format
319 drm_primary_helper_create_plane(struct drm_device *dev, const uint32_t *formats, int num_formats) argument
[all...]
/drivers/staging/line6/
H A Dpodhd.c40 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
60 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
/drivers/media/usb/airspy/
H A Dairspy.c80 /* stream formats */
88 static struct airspy_format formats[] = { variable in typeref:struct:airspy_format
96 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats);
636 strlcpy(f->description, formats[f->index].name, sizeof(f->description));
637 f->pixelformat = formats[f->index].pixelformat;
666 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) {
667 s->pixelformat = formats[i].pixelformat;
668 s->buffersize = formats[i].buffersize;
669 f->fmt.sdr.buffersize = formats[i].buffersize;
674 s->pixelformat = formats[
[all...]
/drivers/media/usb/hackrf/
H A Dhackrf.c68 /* stream formats */
76 static struct hackrf_format formats[] = { variable in typeref:struct:hackrf_format
84 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats);
615 if (f->fmt.sdr.pixelformat == formats[i].pixelformat) {
616 dev->pixelformat = formats[i].pixelformat;
617 dev->buffersize = formats[i].buffersize;
618 f->fmt.sdr.buffersize = formats[i].buffersize;
623 dev->pixelformat = formats[0].pixelformat;
624 dev->buffersize = formats[0].buffersize;
625 f->fmt.sdr.pixelformat = formats[
[all...]
/drivers/staging/media/davinci_vpfe/
H A Ddm365_resizer.h194 struct v4l2_mbus_framefmt formats[RESIZER_CROP_PADS_NUM]; member in struct:dm365_crop_resizer_device
219 struct v4l2_mbus_framefmt formats[RESIZER_PADS_NUM]; member in struct:dm365_resizer_device
H A Ddm365_ipipeif.c108 informat = &ipipeif->formats[IPIPEIF_PAD_SINK];
122 informat = &ipipeif->formats[IPIPEIF_PAD_SINK];
142 informat = &ipipeif->formats[IPIPEIF_PAD_SINK];
206 informat = &ipipeif->formats[IPIPEIF_PAD_SINK];
207 outformat = &ipipeif->formats[IPIPEIF_PAD_SOURCE];
590 fmt->format = ipipeif->formats[fmt->pad];
691 return &ipipeif->formats[pad];
720 ipipeif->formats[fmt->pad] = fmt->format;
723 ipipeif->formats[fmt->pad] = fmt->format;
756 * ipipeif_init_formats() - Initialize formats o
[all...]
H A Ddm365_resizer.c183 outformat = &resizer->resizer_a.formats[RESIZER_PAD_SOURCE];
185 outformat = &resizer->resizer_b.formats[RESIZER_PAD_SOURCE];
228 informat = &resizer->crop_resizer.formats[RESIZER_CROP_PAD_SINK];
231 outformat = &resizer->resizer_a.formats[RESIZER_PAD_SOURCE];
233 outformat = &resizer->resizer_b.formats[RESIZER_PAD_SOURCE];
275 outformat = &resizer->resizer_a.formats[RESIZER_PAD_SOURCE];
277 outformat = &resizer->resizer_b.formats[RESIZER_PAD_SOURCE];
322 outformat = &resizer->resizer_a.formats[RESIZER_PAD_SOURCE];
426 informat = &resizer->crop_resizer.formats[RESIZER_CROP_PAD_SINK];
513 outformat2 = &resizer->resizer_b.formats[RESIZER_PAD_SOURC
[all...]
/drivers/gpu/drm/msm/mdp/mdp4/
H A Dmdp4_plane.c28 uint32_t formats[32]; member in struct:mdp4_plane
238 mdp4_plane->nformats = mdp4_get_formats(pipe_id, mdp4_plane->formats,
239 ARRAY_SIZE(mdp4_plane->formats));
243 mdp4_plane->formats, mdp4_plane->nformats,
/drivers/media/platform/omap3isp/
H A Dispccp2.h65 struct v4l2_mbus_framefmt formats[CCP2_PADS_NUM]; member in struct:isp_ccp2_device
H A Dispresizer.h90 * @lock: Protects formats and crop rectangles between set_selection and IRQ
97 struct v4l2_mbus_framefmt formats[RESZ_PADS_NUM]; member in struct:isp_res_device
H A Dispccdc.h105 * @formats: Active video formats
133 struct v4l2_mbus_framefmt formats[CCDC_PADS_NUM]; member in struct:isp_ccdc_device
H A Disppreview.h109 * @formats: Active formats at the subdev pad
126 struct v4l2_mbus_framefmt formats[PREV_PADS_NUM]; member in struct:isp_prev_device
/drivers/media/platform/vsp1/
H A Dvsp1_entity.c73 return &entity->formats[pad];
80 * vsp1_entity_init_formats - Initialize formats on all pads
84 * Initialize all pad formats with default values. If fh is not NULL, try
85 * formats are initialized on the file handle. Otherwise active formats are
201 /* Allocate formats and pads. */
202 entity->formats = devm_kzalloc(vsp1->dev,
203 num_pads * sizeof(*entity->formats),
205 if (entity->formats == NULL)
H A Dvsp1_entity.h72 struct v4l2_mbus_framefmt *formats; member in struct:vsp1_entity
/drivers/gpu/drm/omapdrm/
H A Domap_fb.c41 static const struct format formats[] = { variable in typeref:struct:format
63 /* convert from overlay's pixel formats bitmask to an array of fourcc's */
70 for (i = 0; i < ARRAY_SIZE(formats) && nformats < max_formats; i++)
71 if (formats[i].dss_format & supported_modes)
72 pixel_formats[nformats++] = formats[i].pixel_format;
419 for (i = 0; i < ARRAY_SIZE(formats); i++) {
420 if (formats[i].pixel_format == mode_cmd->pixel_format) {
421 format = &formats[i];
/drivers/media/usb/msi2500/
H A Dmsi2500.c39 MODULE_PARM_DESC(emulated_formats, "enable emulated formats (disappears in future)");
59 * TODO: These formats should be moved to V4L2 API. Formats are currently
60 * disabled from formats[] table, not visible to userspace.
78 /* stream formats */
86 static struct msi2500_format formats[] = { variable in typeref:struct:msi2500_format
114 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats);
898 strlcpy(f->description, formats[f->index].name, sizeof(f->description));
899 f->pixelformat = formats[f->index].pixelformat;
934 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) {
935 s->pixelformat = formats[
[all...]
/drivers/gpu/drm/exynos/
H A Dexynos_drm_plane.c29 static const uint32_t formats[] = { variable
268 &exynos_plane_funcs, formats,
269 ARRAY_SIZE(formats), type);
/drivers/gpu/drm/shmobile/
H A Dshmob_drm_plane.c234 static const uint32_t formats[] = { variable
259 &shmob_drm_plane_funcs, formats,
260 ARRAY_SIZE(formats), false);
/drivers/media/dvb-frontends/
H A Drtl2832_sdr.c40 MODULE_PARM_DESC(emulated_formats, "enable emulated formats (disappears in future)");
83 /* stream formats */
90 static struct rtl2832_sdr_format formats[] = { variable in typeref:struct:rtl2832_sdr_format
102 static const unsigned int NUM_FORMATS = ARRAY_SIZE(formats);
1219 strlcpy(f->description, formats[f->index].name, sizeof(f->description));
1220 f->pixelformat = formats[f->index].pixelformat;
1255 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) {
1256 s->pixelformat = formats[i].pixelformat;
1257 s->buffersize = formats[i].buffersize;
1258 f->fmt.sdr.buffersize = formats[
[all...]

Completed in 292 milliseconds

12345