Home
last modified time | relevance | path

Searched full:formats (Results 1 – 25 of 1131) sorted by relevance

12345678910>>...46

/linux/drivers/media/platform/qcom/camss/
H A Dcamss-format.c17 * @formats: supported media bus formats array
18 * @nformats: size of @formats array
23 u8 camss_format_get_bpp(const struct camss_format_info *formats, unsigned int nformats, u32 code) in camss_format_get_bpp() argument
28 if (code == formats[i].code) in camss_format_get_bpp()
29 return formats[i].mbus_bpp; in camss_format_get_bpp()
33 return formats[0].mbus_bpp; in camss_format_get_bpp()
69 * @formats: a pointer to formats array
70 * @nformats: size of @formats array
74 int camss_format_find_format(u32 code, u32 pixelformat, const struct camss_format_info *formats, in camss_format_find_format() argument
80 if (formats[i].code == code && in camss_format_find_format()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-intro.rst5 Standard Image Formats
9 necessary to have standard image data formats which both sides will
10 interpret the same way. V4L2 includes several such formats, and this
12 image data formats in V4L2.
14 V4L2 drivers are not limited to these formats, however. Driver-specific
15 formats are possible. In that case the application may depend on a codec
16 to convert images to one of the standard formats when needed. But the
23 Even so, ultimately, some standard formats are needed, so the V4L2
25 formats.
27 The V4L2 standard formats are mainly uncompressed formats. The pixels
[all …]
H A Ddev-subdev.rst31 - negotiate image formats on individual pads
78 .. _pad-level-formats:
80 Pad-level Formats
85 Pad-level formats are only applicable to very complex devices that
95 Image formats are typically negotiated on video capture and output
123 configured differently. Applications need to configure the formats at
131 negotiate formats on a per-pad basis.
135 formats. The pipeline is checked for formats mismatch at
148 Acceptable formats on pads can (and usually do) depend on a number of
149 external parameters, such as formats on other pads, active links, or
[all …]
H 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
128 - Vertical front porch in lines. For interlaced formats this refers
132 - Vertical sync length in lines. For interlaced formats this refers
136 - Vertical back porch in lines. For interlaced formats this refers
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.
262 - CEA-861 specific: set for CEA-861 formats with a framerate that is
263 a multiple of six. These formats can be optionally played at 1 /
[all …]
H A Dpixfmt.rst7 Image Formats
14 version (see :ref:`planar-apis`). Image formats are negotiated with
16 focus on video capturing and output, for overlay frame buffer formats
29 yuv-formats
30 hsv-formats
31 depth-formats
33 sdr-formats
34 tch-formats
35 meta-formats
H A Dplanar-apis.rst14 of such formats see :ref:`pixfmt`.
29 Multi-planar formats
32 Multi-planar API introduces new multi-planar formats. Those formats use
35 can handle all single-planar formats as well (as long as they are passed
37 handle multi-planar formats.
46 single- and multi-planar formats.
49 New structures for describing multi-planar formats are added: struct
52 Drivers may define new multi-planar formats, which have distinct
H A Dformat.rst7 Data Formats
15 within one kind many different formats are possible, in particular there is an
16 abundance of image formats. Although drivers must provide a default and
24 A single mechanism exists to negotiate all data formats using the
30 format. The data formats supported by the V4L2 API are covered in the
32 image formats see :ref:`pixfmt`.
74 enumerate all image formats supported by video capture, overlay or
82 Drivers are not supposed to convert image formats in kernel space.
83 They must enumerate only formats directly supported by the hardware.
88 Enumerating formats an application has no a-priori knowledge of
H A Dpixfmt-packed-yuv.rst7 Packed YUV formats
10 Similarly to the packed RGB formats, the packed YUV formats store the Y, Cb and
26 These formats do not subsample the chroma components and store each pixels as a
29 The next table lists the packed YUV 4:4:4 formats with less than 8 bits per
45 .. flat-table:: Packed YUV 4:4:4 Image Formats (less than 8bpc)
151 For the YUV444 and YUV555 formats, the value of alpha bits is undefined
157 The next table lists the packed YUV 4:4:4 formats with 8 bits per component.
163 .. flat-table:: Packed YUV Image Formats (8bpc)
261 The next table lists the packed YUV 4:4:4 formats with 12 bits per component.
265 .. flat-table:: Packed YUV 4:4:4 Image Formats (12bpc)
[all …]
H A Ddev-stateless-decoder.rst30 Depending on the encoded formats supported by the decoder, a single decoded
32 with multiple slices per frame). Decoders that support such formats must also
39 1. To enumerate the set of coded formats supported by the decoder, the client
42 * The driver must always return the full set of supported ``OUTPUT`` formats,
49 2. To enumerate the set of supported raw formats, the client calls
52 * The driver must return only the formats supported for the format currently
56 formats may depend on the value of some codec-dependent controls.
59 default values for these controls being used, and a returned set of formats
98 etc.) required by the ``OUTPUT`` format to enumerate the ``CAPTURE`` formats.
130 4. *[optional]* Enumerate ``CAPTURE`` formats via :c:func:`VIDIOC_ENUM_FMT` on
[all …]
H A Dpixfmt-yuv-luma.rst7 Luma-Only Formats
10 This family of formats only store the luma component of a Y'CbCr image. They
11 are often referred to as greyscale formats.
16 - Formats are described with the minimum number of pixels needed to create a
29 .. flat-table:: Luma-Only Image Formats
205 For the Y16 and Y16_BE formats, the actual sampling precision may be lower
210 For Y012 and Y12 formats, Y012 places its data in the 12 high bits, with
214 The 'P' variations of the Y10, Y12 and Y14 formats are packed according to
/linux/sound/soc/qcom/qdsp6/
H A Dq6dsp-lpass-ports.c16 .formats = SNDRV_PCM_FMTBIT_S16_LE | \
34 .formats = SNDRV_PCM_FMTBIT_S16_LE | \
52 .formats = SNDRV_PCM_FMTBIT_S16_LE | \
70 .formats = SNDRV_PCM_FMTBIT_S16_LE | \
88 .formats = SNDRV_PCM_FMTBIT_S16_LE | \
108 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S16_BE |
126 .formats = SNDRV_PCM_FMTBIT_S16_LE |
143 .formats = SNDRV_PCM_FMTBIT_S16_LE |
158 .formats = SNDRV_PCM_FMTBIT_S16_LE |
171 .formats = SNDRV_PCM_FMTBIT_S16_LE |
[all …]
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-hostless.c119 .formats = MTK_HOSTLESS_FORMATS,
126 .formats = MTK_HOSTLESS_FORMATS,
138 .formats = MTK_HOSTLESS_FORMATS,
145 .formats = MTK_HOSTLESS_FORMATS,
157 .formats = MTK_HOSTLESS_FORMATS,
164 .formats = MTK_HOSTLESS_FORMATS,
176 .formats = MTK_HOSTLESS_FORMATS,
183 .formats = MTK_HOSTLESS_FORMATS,
196 .formats = MTK_HOSTLESS_FORMATS,
208 .formats = MTK_HOSTLESS_FORMATS,
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_writeback.c65 * Immutable blob property to store the supported pixel formats table. The
67 * Userspace can use this blob to find out what pixel formats are supported
155 * @formats: Array of supported pixel formats for the writeback engine
156 * @n_formats: Length of the formats array
175 const u32 *formats, int n_formats, in drm_writeback_connector_init() argument
191 con_funcs, formats, n_formats); in drm_writeback_connector_init()
223 * @formats: Array of supported pixel formats for the writeback engine
224 * @n_formats: Length of the formats array
242 struct drm_encoder *enc, const u32 *formats, in __drm_writeback_connector_init() argument
259 blob = drm_property_create_blob(dev, n_formats * sizeof(*formats), in __drm_writeback_connector_init()
[all …]
/linux/sound/soc/sof/amd/
H A Dvangogh.c31 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
40 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
55 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
64 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
79 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
88 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
103 .formats = SNDRV_PCM_FMTBIT_S32_LE,
116 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
125 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
H A Dacp70.c34 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
43 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
58 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
67 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
82 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
91 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
106 .formats = SNDRV_PCM_FMTBIT_S32_LE,
119 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
H A Dacp63.c34 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
43 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
58 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
67 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
82 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
91 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
106 .formats = SNDRV_PCM_FMTBIT_S32_LE,
119 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
H A Drembrandt.c34 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
43 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
58 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
67 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
82 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
91 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
106 .formats = SNDRV_PCM_FMTBIT_S32_LE,
119 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
H A Drenoir.c33 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
42 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
57 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
66 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
81 .formats = SNDRV_PCM_FMTBIT_S32_LE,
94 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
/linux/drivers/gpu/drm/xlnx/
H A Dzynqmp_disp.c83 * @swap: Flag to swap R & B for RGB formats, and U & V for YUV formats
108 * @formats: Array of supported formats
109 * @num_formats: Number of formats in @formats array
113 const struct zynqmp_disp_format *formats; member
198 /* List of video layer formats */
303 /* List of graphics layer formats */
368 /* List of live video layer formats */
888 if (layer->info->formats[i].drm_fmt == drm_fmt) in zynqmp_disp_layer_find_format()
889 return &layer->info->formats[i]; in zynqmp_disp_layer_find_format()
914 if (layer->info->formats[i].bus_fmt == media_bus_format) in zynqmp_disp_layer_find_live_format()
[all …]
/linux/sound/usb/
H A Dquirks-table.h85 * e.g. QUIRK_DATA_AUDIOFORMAT(n) { .formats = xxx, ... }
131 .formats = SNDRV_PCM_FMTBIT_S16_LE,
159 * The device advertises 8 formats, but only a rate of 48kHz is honored by the
170 .formats = SNDRV_PCM_FMTBIT_S16_LE,
453 .formats = SNDRV_PCM_FMTBIT_S16_LE,
468 .formats = SNDRV_PCM_FMTBIT_S16_LE,
778 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
793 .formats = SNDRV_PCM_FMTBIT_S24_3LE,
1224 .formats = SNDRV_PCM_FMTBIT_S32_LE,
1240 .formats = SNDRV_PCM_FMTBIT_S32_LE,
[all …]
/linux/sound/soc/fsl/
H A Dfsl_rpmsg.c119 .formats = FSL_RPMSG_FORMATS,
126 .formats = FSL_RPMSG_FORMATS,
141 .formats = SNDRV_PCM_FMTBIT_S16_LE,
146 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE |
156 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE |
165 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE |
172 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE |
180 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE |
218 dai_drv->playback.formats = rpmsg->soc_data->formats; in fsl_rpmsg_probe()
219 dai_drv->capture.formats = rpmsg->soc_data->formats; in fsl_rpmsg_probe()
[all …]
/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.c54 .formats = logicvc_layer_formats_rgb16,
59 .formats = logicvc_layer_formats_rgb24,
65 .formats = logicvc_layer_formats_rgb24_alpha,
266 /* All the supported formats have a single data plane. */ in logicvc_layer_buffer_find_setup()
360 while (logicvc_layer_formats[i].formats) { in logicvc_layer_formats_lookup()
372 static unsigned int logicvc_layer_formats_count(struct logicvc_layer_formats *formats) in logicvc_layer_formats_count() argument
376 while (formats->formats[count] != DRM_FORMAT_INVALID) in logicvc_layer_formats_count()
467 struct logicvc_layer_formats *formats; in logicvc_layer_init() local
489 formats = logicvc_layer_formats_lookup(layer); in logicvc_layer_init()
490 if (!formats) { in logicvc_layer_init()
[all …]
/linux/sound/firewire/motu/
H 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()
/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_dc.c38 .formats = &atmel_hlcdc_plane_rgb_formats,
69 .formats = &atmel_hlcdc_plane_rgb_formats,
85 .formats = &atmel_hlcdc_plane_rgb_formats,
104 .formats = &atmel_hlcdc_plane_rgb_and_yuv_formats,
126 .formats = &atmel_hlcdc_plane_rgb_formats,
163 .formats = &atmel_hlcdc_plane_rgb_formats,
179 .formats = &atmel_hlcdc_plane_rgb_formats,
198 .formats = &atmel_hlcdc_plane_rgb_formats,
217 .formats = &atmel_hlcdc_plane_rgb_and_yuv_formats,
243 .formats = &atmel_hlcdc_plane_rgb_formats,
[all …]
/linux/sound/soc/uniphier/
H A Daio-ld11.c196 .formats = SNDRV_PCM_FMTBIT_S32_LE,
203 .formats = SNDRV_PCM_FMTBIT_S32_LE,
216 .formats = SNDRV_PCM_FMTBIT_S32_LE,
227 .formats = SNDRV_PCM_FMTBIT_S32_LE,
234 .formats = SNDRV_PCM_FMTBIT_S32_LE,
245 .formats = SNDRV_PCM_FMTBIT_S32_LE,
256 .formats = SNDRV_PCM_FMTBIT_S32_LE,
267 .formats = SNDRV_PCM_FMTBIT_S32_LE,
278 .formats = SNDRV_PCM_FMTBIT_S32_LE,
291 .formats = SNDRV_PCM_FMTBIT_S32_LE,

12345678910>>...46