Home
last modified time | relevance | path

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

12345678910>>...98

/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/v4l2apps/v4l-utils/
H A D0002-libv4l-mplane-Filter-out-multiplane-formats.patch4 Subject: [PATCH 2/6] libv4l: mplane: Filter out multiplane formats
6 The multiplane formats are not supported here, reporting them to the
25 + struct v4l2_format formats[MPLANE_MAX_FORMATS];
48 +/* Setup supported(single plane) formats */
49 +static void mplane_setup_formats(int fd, struct mplane_formats *formats,
54 + formats->num_formats = 0;
55 + formats->def_format = -1;
57 + for (n = 0; formats->num_formats < MPLANE_MAX_FORMATS; n++) {
78 + if (formats->def_format < 0)
79 + formats->def_format = formats->num_formats;
[all …]
/OK3568_Linux_fs/buildroot/package/libv4l/
H A D0002-libv4l-mplane-Filter-out-multiplane-formats.patch4 Subject: [PATCH 2/7] libv4l: mplane: Filter out multiplane formats
6 The multiplane formats are not supported here, reporting them to the
25 + struct v4l2_format formats[MPLANE_MAX_FORMATS];
48 +/* Setup supported(single plane) formats */
49 +static void mplane_setup_formats(int fd, struct mplane_formats *formats,
54 + formats->num_formats = 0;
55 + formats->def_format = -1;
57 + for (n = 0; formats->num_formats < MPLANE_MAX_FORMATS; n++) {
78 + if (formats->def_format < 0)
79 + formats->def_format = formats->num_formats;
[all …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dpixfmt-intro.rst4 Standard Image Formats
8 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
[all …]
H A Ddev-subdev.rst30 - negotiate image formats on individual pads
75 .. _pad-level-formats:
77 Pad-level Formats
82 Pad-level formats are only applicable to very complex devices that
92 Image formats are typically negotiated on video capture and output
120 configured differently. Applications need to configure the formats at
128 negotiate formats on a per-pad basis.
132 formats. The pipeline is checked for formats mismatch at
145 Acceptable formats on pads can (and usually do) depend on a number of
146 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
100 formats the height of the active video in each field is
126 - Vertical front porch in lines. For interlaced formats this refers
130 - Vertical sync length in lines. For interlaced formats this refers
134 - Vertical back porch in lines. For interlaced formats this refers
139 interlaced field formats. Must be 0 for progressive formats.
143 interlaced field formats. Must be 0 for progressive formats.
147 interlaced field formats. Must be 0 for progressive formats.
256 - CEA-861 specific: set for CEA-861 formats with a framerate that is
257 a multiple of six. These formats can be optionally played at 1 /
[all …]
H A Dpixfmt.rst6 Image Formats
13 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
H A Dvidioc-enum-fmt.rst13 VIDIOC_ENUM_FMT - Enumerate image formats
34 To enumerate image formats applications initialize the ``type``, ``mbus_code``
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
71 formats shall not depend on the active configuration of the video device
[all …]
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 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
H A Ddev-stateless-decoder.rst29 Depending on the encoded formats supported by the decoder, a single decoded
31 with multiple slices per frame). Decoders that support such formats must also
38 1. To enumerate the set of coded formats supported by the decoder, the client
41 * The driver must always return the full set of supported ``OUTPUT`` formats,
48 2. To enumerate the set of supported raw formats, the client calls
51 * The driver must return only the formats supported for the format currently
55 formats may depend on the value of some codec-dependent controls.
58 default values for these controls being used, and a returned set of formats
97 etc.) required by the ``OUTPUT`` format to enumerate the ``CAPTURE`` formats.
129 4. *[optional]* Enumerate ``CAPTURE`` formats via :c:func:`VIDIOC_ENUM_FMT` on
[all …]
/OK3568_Linux_fs/external/xserver/render/
H A Dpicture.c96 if (ps->formats[n].type == PictTypeIndexed) in PictureCloseScreen()
97 (*ps->CloseIndexed) (pScreen, &ps->formats[n]); in PictureCloseScreen()
100 free(ps->formats); in PictureCloseScreen()
117 PictFormatPtr format = ps->formats; in PictureStoreColors()
152 addFormat(FormatInitRec formats[256], int *nformat, CARD32 format, CARD8 depth) in addFormat()
157 if (formats[n].format == format && formats[n].depth == depth) in addFormat()
159 formats[*nformat].format = format; in addFormat()
160 formats[*nformat].depth = depth; in addFormat()
171 FormatInitRec formats[1024]; in PictureCreateDefaultFormats() local
183 /* formats required by protocol */ in PictureCreateDefaultFormats()
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/
H A D0059-pixel-formats-Support-NV15-YU08-YU10.patch4 Subject: [PATCH 59/79] pixel-formats: Support NV15/YU08/YU10
10 libweston/pixel-formats.c | 12 ++++++++++++
11 libweston/pixel-formats.h | 12 ++++++++++++
14 diff --git a/libweston/pixel-formats.c b/libweston/pixel-formats.c
16 --- a/libweston/pixel-formats.c
17 +++ b/libweston/pixel-formats.c
37 diff --git a/libweston/pixel-formats.h b/libweston/pixel-formats.h
39 --- a/libweston/pixel-formats.h
40 +++ b/libweston/pixel-formats.h
58 * Contains information about pixel formats, mapping format codes from
/OK3568_Linux_fs/kernel/drivers/firmware/google/
H A Dframebuffer-coreboot.c23 static const struct simplefb_format formats[] = SIMPLEFB_FORMATS; variable
39 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()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/media/hantro/
H A Dhantro_v4l2.c41 const struct hantro_fmt *formats; in hantro_get_formats() local
44 formats = ctx->dev->variant->enc_fmts; in hantro_get_formats()
47 formats = ctx->dev->variant->dec_fmts; in hantro_get_formats()
51 return formats; in hantro_get_formats()
70 const struct hantro_fmt *formats; in hantro_find_format() local
73 formats = hantro_get_formats(ctx, &num_fmts); in hantro_find_format()
75 if (formats[i].fourcc == fourcc) in hantro_find_format()
76 return &formats[i]; in hantro_find_format()
78 formats = hantro_get_postproc_formats(ctx, &num_fmts); in hantro_find_format()
80 if (formats[i].fourcc == fourcc) in hantro_find_format()
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dalsa.c34 } formats[] = { variable
57 while (formats[from].bits < *nbits_ && formats[from].bits != 0) in select_format()
59 for (to = from; formats[to].bits != 0; to++) ; /* find end of list */ in select_format()
65 if (snd_pcm_format_mask_test(mask, formats[i].alsa_fmt)) { in select_format()
66 if (formats[i].enc == *encoding_) { in select_format()
76 /* no candidate found yet; now try formats with less bits: */ in select_format()
79 bits_next = formats[from-1].bits; in select_format()
80 while (from && formats[from-1].bits == bits_next) in select_format()
89 if (*nbits_ != formats[cand].bits || *encoding_ != formats[cand].enc) { in select_format()
92 *nbits_ = formats[cand].bits; in select_format()
[all …]
/OK3568_Linux_fs/kernel/sound/firewire/oxfw/
H A Doxfw-pcm.c13 u8 **formats = rule->private; in hw_rule_rate() local
25 if (formats[i] == NULL) in hw_rule_rate()
28 err = snd_oxfw_stream_parse_format(formats[i], &formation); in hw_rule_rate()
44 u8 **formats = rule->private; in hw_rule_channels() local
55 if (formats[i] == NULL) in hw_rule_channels()
58 err = snd_oxfw_stream_parse_format(formats[i], &formation); in hw_rule_channels()
80 static void limit_channels_and_rates(struct snd_pcm_hardware *hw, u8 **formats) in limit_channels_and_rates() argument
93 if (formats[i] == NULL) in limit_channels_and_rates()
96 err = snd_oxfw_stream_parse_format(formats[i], &formation); in limit_channels_and_rates()
113 u8 **formats; in init_hw_params() local
[all …]
H A Doxfw-stream.c60 u8 **formats; in set_stream_format() local
67 formats = oxfw->tx_stream_formats; in set_stream_format()
70 formats = oxfw->rx_stream_formats; in set_stream_format()
76 err = snd_oxfw_stream_parse_format(formats[i], &formation); in set_stream_format()
91 len = 5 + formats[i][4] * 2; in set_stream_format()
93 err = avc_stream_set_format(oxfw->unit, dir, 0, formats[i], len); in set_stream_format()
196 u8 **formats; in keep_resources() local
204 formats = oxfw->rx_stream_formats; in keep_resources()
208 formats = oxfw->tx_stream_formats; in keep_resources()
219 if (formats[i] == NULL) in keep_resources()
[all …]
/OK3568_Linux_fs/kernel/sound/firewire/motu/
H A Dmotu-pcm.c14 struct snd_motu_packet_format *formats = rule->private; in motu_rate_constraint() local
29 pcm_channels = formats->pcm_chunks[mode]; in motu_rate_constraint()
43 struct snd_motu_packet_format *formats = rule->private; in motu_channels_constraint() local
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()
[all …]
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()
/OK3568_Linux_fs/buildroot/package/weston/
H A D0056-pixel-formats-Support-NV15-YU08-YU10.patch4 Subject: [PATCH 56/79] pixel-formats: Support NV15/YU08/YU10
10 libweston/pixel-formats.c | 12 ++++++++++++
14 diff --git a/libweston/pixel-formats.c b/libweston/pixel-formats.c
16 --- a/libweston/pixel-formats.c
17 +++ b/libweston/pixel-formats.c
57 /* The kernel header drm_fourcc.h defines the DRM formats below. We duplicate
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/
H A D0056-pixel-formats-Support-NV15-YU08-YU10.patch4 Subject: [PATCH 56/93] pixel-formats: Support NV15/YU08/YU10
10 libweston/pixel-formats.c | 12 ++++++++++++
14 diff --git a/libweston/pixel-formats.c b/libweston/pixel-formats.c
16 --- a/libweston/pixel-formats.c
17 +++ b/libweston/pixel-formats.c
57 /* The kernel header drm_fourcc.h defines the DRM formats below. We duplicate
/OK3568_Linux_fs/kernel/drivers/gpu/drm/arm/
H A Dmalidp_mw.c191 u32 *formats; in get_writeback_formats() local
194 formats = kcalloc(map->n_pixel_formats, sizeof(*formats), in get_writeback_formats()
196 if (!formats) in get_writeback_formats()
201 formats[n++] = map->pixel_formats[i].format; in get_writeback_formats()
206 return formats; in get_writeback_formats()
212 u32 *formats; in malidp_mw_connector_init() local
222 formats = get_writeback_formats(malidp, &n_formats); in malidp_mw_connector_init()
223 if (!formats) in malidp_mw_connector_init()
229 formats, n_formats); in malidp_mw_connector_init()
230 kfree(formats); in malidp_mw_connector_init()
/OK3568_Linux_fs/kernel/drivers/media/test-drivers/vivid/
H A Dvivid-sdr-cap.c25 /* stream formats */
32 static const struct vivid_format formats[] = { variable
444 if (f->index >= ARRAY_SIZE(formats)) in vidioc_enum_fmt_sdr_cap()
446 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()
471 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { 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()
474 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap()
478 dev->sdr_pixelformat = formats[0].pixelformat; in vidioc_s_fmt_sdr_cap()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/intel/skylake/
H A Dskl-pcm.c39 .formats = SNDRV_PCM_FMTBIT_S16_LE |
693 .formats = SNDRV_PCM_FMTBIT_S16_LE |
702 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
715 .formats = SNDRV_PCM_FMTBIT_S16_LE |
728 .formats = SNDRV_PCM_FMTBIT_S16_LE |
740 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
752 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
764 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
776 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE,
791 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE |
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/as.html/
H A DObject-Formats.html16 <title>Using as: Object Formats</title>
18 <meta name="description" content="Using as: Object Formats">
19 <meta name="keywords" content="Using as: Object Formats">
63 <a name="Object-Formats"></a>
69 <a name="Object-File-Formats"></a>
70 <h3 class="section">1.3 Object File Formats</h3>
74 object file formats. For the most part, this does not affect how you
76 are typically different in different file formats. See <a href="Symbol-Attributes.html#Symbol-Attr…

12345678910>>...98