Home
last modified time | relevance | path

Searched refs:formats (Results 1 – 25 of 1040) sorted by relevance

12345678910>>...42

/linux/sound/soc/qcom/qdsp6/
A Dq6dsp-lpass-ports.c16 .formats = SNDRV_PCM_FMTBIT_S16_LE | \
34 .formats = SNDRV_PCM_FMTBIT_S16_LE | \
90 .formats = SNDRV_PCM_FMTBIT_S16_LE |
107 .formats = SNDRV_PCM_FMTBIT_S16_LE |
122 .formats = SNDRV_PCM_FMTBIT_S16_LE |
135 .formats = SNDRV_PCM_FMTBIT_S16_LE |
152 .formats = SNDRV_PCM_FMTBIT_S16_LE |
165 .formats = SNDRV_PCM_FMTBIT_S16_LE |
183 .formats = SNDRV_PCM_FMTBIT_S16_LE |
196 .formats = SNDRV_PCM_FMTBIT_S16_LE |
[all …]
/linux/drivers/firmware/google/
A Dframebuffer-coreboot.c39 for (i = 0; i < ARRAY_SIZE(formats); ++i) { in framebuffer_probe()
40 if (fb->bits_per_pixel == formats[i].bits_per_pixel && in framebuffer_probe()
41 fb->red_mask_pos == formats[i].red.offset && in framebuffer_probe()
42 fb->red_mask_size == formats[i].red.length && in framebuffer_probe()
43 fb->green_mask_pos == formats[i].green.offset && in framebuffer_probe()
44 fb->green_mask_size == formats[i].green.length && in framebuffer_probe()
45 fb->blue_mask_pos == formats[i].blue.offset && in framebuffer_probe()
46 fb->blue_mask_size == formats[i].blue.length && in framebuffer_probe()
47 fb->reserved_mask_pos == formats[i].transp.offset && in framebuffer_probe()
48 fb->reserved_mask_size == formats[i].transp.length) in framebuffer_probe()
[all …]
/linux/Documentation/userspace-api/media/v4l/
A Dpixfmt.rst13 version (see :ref:`planar-apis`). Image formats are negotiated with
15 focus on video capturing and output, for overlay frame buffer formats
28 yuv-formats
29 hsv-formats
30 depth-formats
32 sdr-formats
33 tch-formats
34 meta-formats
A Dpixfmt-intro.rst8 necessary to have standard image data formats which both sides will
9 interpret the same way. V4L2 includes several such formats, and this
11 image data formats in V4L2.
13 V4L2 drivers are not limited to these formats, however. Driver-specific
14 formats are possible. In that case the application may depend on a codec
15 to convert images to one of the standard formats when needed. But the
22 Even so, ultimately, some standard formats are needed, so the V4L2
24 formats.
26 The V4L2 standard formats are mainly uncompressed formats. The pixels
44 For some formats, data is stored in separate, discontiguous memory
[all …]
A Dvidioc-g-dv-timings.rst60 the formats in the :ref:`cea861` and :ref:`vesadmt` standards. If
102 formats the height of the active video in each field is
141 interlaced field formats. Must be 0 for progressive formats.
145 interlaced field formats. Must be 0 for progressive formats.
149 interlaced field formats. Must be 0 for progressive formats.
263 a multiple of six. These formats can be optionally played at 1 /
274 formats the flag will be cleared by the driver.
292 Such formats differ from other formats (commonly called IT
293 formats) in that if R'G'B' encoding is used then by default the
296 640x480p59.94 format are CE formats.
[all …]
A Dplanar-apis.rst13 of such formats see :ref:`pixfmt`.
28 Multi-planar formats
31 Multi-planar API introduces new multi-planar formats. Those formats use
34 can handle all single-planar formats as well (as long as they are passed
36 handle multi-planar formats.
45 single- and multi-planar formats.
48 New structures for describing multi-planar formats are added: struct
51 Drivers may define new multi-planar formats, which have distinct
A Dvidioc-enum-fmt.rst13 VIDIOC_ENUM_FMT - Enumerate image formats
38 formats are enumerable by beginning at index zero and incrementing by
40 formats in preference order, where preferred formats are returned before
41 (that is, with lower ``index`` value) less-preferred formats.
51 Drivers shall enumerate all image formats.
56 formats may be different.
60 If the ``mbus_code`` field is zero, then all image formats
65 shall restrict enumeration to only the image formats that can produce
121 Several image formats are already defined by this specification in
130 - Media bus code restricting the enumerated formats, set by the
[all …]
A Ddev-subdev.rst30 - negotiate image formats on individual pads
75 .. _pad-level-formats:
92 Image formats are typically negotiated on video capture and output
128 negotiate formats on a per-pad basis.
132 formats. The pipeline is checked for formats mismatch at
156 a set of formats parameters that are not connected to the hardware
196 source pads formats should be reset to the sink pads formats.
201 explicitly with compatible formats. Identical formats on the two ends of
203 different formats matching device requirements as being compatible.
326 formats by setting the ``which`` argument to
[all …]
/linux/sound/firewire/oxfw/
A Doxfw-stream.c60 u8 **formats; in set_stream_format() local
67 formats = oxfw->tx_stream_formats; in set_stream_format()
91 len = 5 + formats[i][4] * 2; in set_stream_format()
202 u8 **formats; in keep_resources() local
225 if (formats[i] == NULL) in keep_resources()
597 u8 **formats) in assume_stream_formats() argument
621 if (!formats[eid]) { in assume_stream_formats()
640 if (formats[eid] == NULL) { in assume_stream_formats()
657 u8 *buf, **formats; in fill_stream_formats() local
678 formats); in fill_stream_formats()
[all …]
A Doxfw-pcm.c13 u8 **formats = rule->private; in hw_rule_rate() local
25 if (formats[i] == NULL) in hw_rule_rate()
44 u8 **formats = rule->private; in hw_rule_channels() local
55 if (formats[i] == NULL) in hw_rule_channels()
93 if (formats[i] == NULL) in limit_channels_and_rates()
113 u8 **formats; in init_hw_params() local
118 runtime->hw.formats = AM824_IN_PCM_FORMAT_BITS; in init_hw_params()
120 formats = oxfw->tx_stream_formats; in init_hw_params()
124 formats = oxfw->rx_stream_formats; in init_hw_params()
130 hw_rule_channels, formats, in init_hw_params()
[all …]
/linux/sound/firewire/motu/
A Dmotu-proc.c48 struct snd_motu_packet_format *formats; in proc_read_format() local
58 formats = &motu->tx_packet_formats; in proc_read_format()
62 formats->msg_chunks, in proc_read_format()
64 formats->pcm_chunks[mode]); in proc_read_format()
71 formats = &motu->rx_packet_formats; in proc_read_format()
75 formats->msg_chunks, in proc_read_format()
77 formats->pcm_chunks[mode]); in proc_read_format()
A Dmotu-pcm.c29 pcm_channels = formats->pcm_chunks[mode]; in motu_rate_constraint()
61 pcm_channels = formats->pcm_chunks[mode]; in motu_channels_constraint()
71 struct snd_motu_packet_format *formats) in limit_channels_and_rates() argument
83 pcm_channels = formats->pcm_chunks[mode]; in limit_channels_and_rates()
101 struct snd_motu_packet_format *formats; in init_hw_info() local
105 hw->formats = SNDRV_PCM_FMTBIT_S32; in init_hw_info()
107 formats = &motu->tx_packet_formats; in init_hw_info()
109 hw->formats = SNDRV_PCM_FMTBIT_S32; in init_hw_info()
111 formats = &motu->rx_packet_formats; in init_hw_info()
117 motu_rate_constraint, formats, in init_hw_info()
[all …]
/linux/sound/usb/
A Dquirks-table.h56 .formats = SNDRV_PCM_FMTBIT_S16_LE,
100 .formats = SNDRV_PCM_FMTBIT_S16_LE,
459 .formats = SNDRV_PCM_FMTBIT_S16_LE,
476 .formats = SNDRV_PCM_FMTBIT_S16_LE,
947 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
964 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1568 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1586 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1635 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1653 .formats = SNDRV_PCM_FMTBIT_S32_LE,
[all …]
/linux/drivers/gpu/drm/arm/
A Dmalidp_mw.c188 u32 *formats; in get_writeback_formats() local
191 formats = kcalloc(map->n_pixel_formats, sizeof(*formats), in get_writeback_formats()
193 if (!formats) in get_writeback_formats()
198 formats[n++] = map->pixel_formats[i].format; in get_writeback_formats()
203 return formats; in get_writeback_formats()
209 u32 *formats; in malidp_mw_connector_init() local
219 formats = get_writeback_formats(malidp, &n_formats); in malidp_mw_connector_init()
220 if (!formats) in malidp_mw_connector_init()
226 formats, n_formats); in malidp_mw_connector_init()
227 kfree(formats); in malidp_mw_connector_init()
/linux/drivers/media/test-drivers/vivid/
A Dvivid-sdr-cap.c32 static const struct vivid_format formats[] = { variable
446 if (f->index >= ARRAY_SIZE(formats)) in vidioc_enum_fmt_sdr_cap()
448 f->pixelformat = formats[f->index].pixelformat; in vidioc_enum_fmt_sdr_cap()
470 for (i = 0; i < ARRAY_SIZE(formats); i++) { in vidioc_s_fmt_sdr_cap()
472 dev->sdr_pixelformat = formats[i].pixelformat; in vidioc_s_fmt_sdr_cap()
473 dev->sdr_buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap()
478 dev->sdr_pixelformat = formats[0].pixelformat; in vidioc_s_fmt_sdr_cap()
479 dev->sdr_buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap()
481 f->fmt.sdr.buffersize = formats[0].buffersize; in vidioc_s_fmt_sdr_cap()
489 for (i = 0; i < ARRAY_SIZE(formats); i++) { in vidioc_try_fmt_sdr_cap()
[all …]
/linux/drivers/staging/media/hantro/
A Dhantro_v4l2.c41 const struct hantro_fmt *formats; in hantro_get_formats() local
51 return formats; in hantro_get_formats()
72 const struct hantro_fmt *formats; in hantro_find_format() local
77 if (formats[i].fourcc == fourcc) in hantro_find_format()
78 return &formats[i]; in hantro_find_format()
82 if (formats[i].fourcc == fourcc) in hantro_find_format()
83 return &formats[i]; in hantro_find_format()
90 const struct hantro_fmt *formats; in hantro_get_default_fmt() local
97 return &formats[i]; in hantro_get_default_fmt()
172 fmt = &formats[i]; in vidioc_enum_fmt()
[all …]
/linux/drivers/gpu/drm/atmel-hlcdc/
A Datmel_hlcdc_dc.c35 .formats = &atmel_hlcdc_plane_rgb_formats,
65 .formats = &atmel_hlcdc_plane_rgb_formats,
81 .formats = &atmel_hlcdc_plane_rgb_formats,
122 .formats = &atmel_hlcdc_plane_rgb_formats,
158 .formats = &atmel_hlcdc_plane_rgb_formats,
174 .formats = &atmel_hlcdc_plane_rgb_formats,
193 .formats = &atmel_hlcdc_plane_rgb_formats,
238 .formats = &atmel_hlcdc_plane_rgb_formats,
276 .formats = &atmel_hlcdc_plane_rgb_formats,
292 .formats = &atmel_hlcdc_plane_rgb_formats,
[all …]
/linux/sound/soc/uniphier/
A Daio-ld11.c223 .formats = SNDRV_PCM_FMTBIT_S32_LE,
230 .formats = SNDRV_PCM_FMTBIT_S32_LE,
245 .formats = SNDRV_PCM_FMTBIT_S32_LE,
258 .formats = SNDRV_PCM_FMTBIT_S32_LE,
265 .formats = SNDRV_PCM_FMTBIT_S32_LE,
278 .formats = SNDRV_PCM_FMTBIT_S32_LE,
291 .formats = SNDRV_PCM_FMTBIT_S32_LE,
304 .formats = SNDRV_PCM_FMTBIT_S32_LE,
317 .formats = SNDRV_PCM_FMTBIT_S32_LE,
332 .formats = SNDRV_PCM_FMTBIT_S32_LE,
A Daio-pxs2.c176 .formats = SNDRV_PCM_FMTBIT_S32_LE,
189 .formats = SNDRV_PCM_FMTBIT_S32_LE,
196 .formats = SNDRV_PCM_FMTBIT_S32_LE,
209 .formats = SNDRV_PCM_FMTBIT_S32_LE,
216 .formats = SNDRV_PCM_FMTBIT_S32_LE,
229 .formats = SNDRV_PCM_FMTBIT_S32_LE,
242 .formats = SNDRV_PCM_FMTBIT_S32_LE,
/linux/sound/soc/fsl/
A Dfsl_rpmsg.c122 .formats = FSL_RPMSG_FORMATS,
129 .formats = FSL_RPMSG_FORMATS,
144 .formats = SNDRV_PCM_FMTBIT_S16_LE,
149 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE |
159 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE |
168 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE |
196 fsl_rpmsg_dai.playback.formats = rpmsg->soc_data->formats; in fsl_rpmsg_probe()
197 fsl_rpmsg_dai.capture.formats = rpmsg->soc_data->formats; in fsl_rpmsg_probe()
/linux/sound/soc/intel/skylake/
A Dskl-pcm.c39 .formats = SNDRV_PCM_FMTBIT_S16_LE |
839 .formats = SNDRV_PCM_FMTBIT_S16_LE,
846 .formats = SNDRV_PCM_FMTBIT_S16_LE,
857 .formats = SNDRV_PCM_FMTBIT_S16_LE,
864 .formats = SNDRV_PCM_FMTBIT_S16_LE,
875 .formats = SNDRV_PCM_FMTBIT_S16_LE,
882 .formats = SNDRV_PCM_FMTBIT_S16_LE,
893 .formats = SNDRV_PCM_FMTBIT_S16_LE,
900 .formats = SNDRV_PCM_FMTBIT_S16_LE,
911 .formats = SNDRV_PCM_FMTBIT_S16_LE,
[all …]
/linux/drivers/gpu/drm/omapdrm/
A Domap_plane.c252 const u32 *formats = dispc_ovl_get_color_modes(priv->dispc, omap_plane->id); in omap_plane_supports_yuv() local
255 for (i = 0; formats[i]; i++) in omap_plane_supports_yuv()
256 if (formats[i] == DRM_FORMAT_YUYV || in omap_plane_supports_yuv()
257 formats[i] == DRM_FORMAT_UYVY || in omap_plane_supports_yuv()
258 formats[i] == DRM_FORMAT_NV12) in omap_plane_supports_yuv()
290 const u32 *formats; in omap_plane_init() local
303 formats = dispc_ovl_get_color_modes(priv->dispc, id); in omap_plane_init()
304 for (nformats = 0; formats[nformats]; ++nformats) in omap_plane_init()
312 &omap_plane_funcs, formats, in omap_plane_init()
/linux/drivers/media/platform/qcom/camss/
A Dcamss-video.c274 if (formats[i].code == code && in video_find_format()
280 if (formats[i].code == code) in video_find_format()
361 video->formats, video->nformats); in video_get_subdev_format()
619 if (video->formats[i].pixelformat == in video_enum_fmt()
620 video->formats[j].pixelformat) in video_enum_fmt()
713 fi = &video->formats[j]; in __video_try_fmt()
997 video->formats = formats_pix_8x16; in msm_video_register()
1000 video->formats = formats_rdi_8x16; in msm_video_register()
1006 video->formats = formats_pix_8x96; in msm_video_register()
1009 video->formats = formats_rdi_8x96; in msm_video_register()
[all …]
/linux/sound/soc/mediatek/mt6797/
A Dmt6797-dai-hostless.c69 .formats = MTK_HOSTLESS_FORMATS,
76 .formats = MTK_HOSTLESS_FORMATS,
88 .formats = MTK_HOSTLESS_FORMATS,
95 .formats = MTK_HOSTLESS_FORMATS,
/linux/sound/soc/mediatek/mt8183/
A Dmt8183-dai-hostless.c69 .formats = MTK_HOSTLESS_FORMATS,
76 .formats = MTK_HOSTLESS_FORMATS,
88 .formats = MTK_HOSTLESS_FORMATS,
95 .formats = MTK_HOSTLESS_FORMATS,

Completed in 687 milliseconds

12345678910>>...42