/third_party/mesa3d/src/mesa/main/ |
H A D | texcompress.c | 36 #include "formats.h" 165 * formats that are supported. 167 * Some formats are \b not returned by this function. The 168 * \c GL_COMPRESSED_TEXTURE_FORMATS query only returns formats that are 175 * GL_COMPRESSED_TEXTURE_FORMATS queries return the RGTC formats? 181 * corresponding to formats suitable for general-purpose usage. 182 * The renderer will not enumerate formats with restrictions that 189 * Applications that seek to use the RGTC formats should do so 200 * "22) Should the new COMPRESSED_SRGB_* formats be listed in an 203 * RESOLVED: No. Section 3.8.1 says formats liste 267 _mesa_get_compressed_formats(struct gl_context *ctx, GLint *formats) _mesa_get_compressed_formats() argument [all...] |
H A D | format_fallback.py | 41 def get_unorm_to_srgb_map(formats): 42 names = set(fmt.name for fmt in formats) 44 for fmt in formats: 69 def get_intensity_to_red_map(formats): 70 names = set(fmt.name for fmt in formats) 72 for fmt in formats: 84 #include "formats.h" 89 * For non-sRGB formats, return the format as-is. 106 * formats, return the format as-is. 125 formats [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | formats.c | 29 #include "formats.h" 55 * Add all formats common to a and b to a, add b's refs to a and destroy b. 57 * the formats are compatible. 107 It happens if both lists have formats with chroma (resp. alpha), but in merge_formats_internal() 108 the only formats in common do not have it (e.g. YUV+gray vs. in merge_formats_internal() 111 To avoid that, pretend that there are no common formats to force the in merge_formats_internal() 115 const AVPixFmtDescriptor *const adesc = av_pix_fmt_desc_get(a->formats[i]); in merge_formats_internal() 117 const AVPixFmtDescriptor *bdesc = av_pix_fmt_desc_get(b->formats[j]); in merge_formats_internal() 120 if (a->formats[i] == b->formats[ in merge_formats_internal() 502 AVFilterFormats *formats = NULL; ff_formats_pixdesc_filter() local 750 ff_set_common_formats(AVFilterContext *ctx, AVFilterFormats *formats) ff_set_common_formats() argument 764 AVFilterFormats *formats; ff_default_query_formats() local [all...] |
H A D | vf_format.c | 36 #include "formats.h" 48 enum AVPixelFormat *formats; member 54 av_freep(&s->formats); in uninit() 70 /* count the formats */ in init() 78 s->formats = av_malloc_array(nb_formats + 1, sizeof(*s->formats)); in init() 79 if (!s->formats) in init() 82 /* parse the list of formats */ in init() 89 if ((ret = ff_parse_pixel_format(&s->formats[i], cur, ctx)) < 0) in init() 94 s->formats[nb_format in init() [all...] |
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8186/ |
H A D | mt8186-dai-hostless.c | 119 .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 [all...] |
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
H A D | q6dsp-lpass-ports.c | 16 .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 | \ 106 .formats = SNDRV_PCM_FMTBIT_S16_LE | 123 .formats = SNDRV_PCM_FMTBIT_S16_LE | 138 .formats = SNDRV_PCM_FMTBIT_S16_LE | 151 .formats = SNDRV_PCM_FMTBIT_S16_LE | 168 .formats [all...] |
/third_party/python/Lib/distutils/command/ |
H A D | bdist.py | 13 """Print list of available formats (arguments to "--format" option). 16 formats = [] 18 formats.append(("formats=" + format, None, 20 pretty_printer = FancyGetopt(formats) 21 pretty_printer.print_help("List of available distribution formats:") 33 ('formats=', None, 34 "formats for distribution (comma-separated list)"), 51 ('help-formats', None, 52 "lists available distribution formats", show_format [all...] |
/kernel/linux/linux-5.10/drivers/firmware/google/ |
H A D | framebuffer-coreboot.c | 23 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 pdata.format = formats[ in framebuffer_probe() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/google/ |
H A D | framebuffer-coreboot.c | 23 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 pdata.format = formats[ in framebuffer_probe() [all...] |
/third_party/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common_wayland.c | 72 struct u_vector formats; member 95 find_format(struct u_vector *formats, VkFormat format) in find_format() argument 99 u_vector_foreach(f, formats) in find_format() 108 struct u_vector *formats, in wsi_wl_display_add_vk_format() 114 struct wsi_wl_format *f = find_format(formats, format); in wsi_wl_display_add_vk_format() 120 /* Don't add formats that aren't renderable. */ in wsi_wl_display_add_vk_format() 132 f = u_vector_add(formats); in wsi_wl_display_add_vk_format() 164 struct u_vector *formats, in wsi_wl_display_add_vk_format_modifier() 170 format = wsi_wl_display_add_vk_format(display, formats, vk_format, flags); in wsi_wl_display_add_vk_format_modifier() 177 struct u_vector *formats, in wsi_wl_display_add_drm_format_modifier() 107 wsi_wl_display_add_vk_format(struct wsi_wl_display *display, struct u_vector *formats, VkFormat format, uint32_t flags) wsi_wl_display_add_vk_format() argument 163 wsi_wl_display_add_vk_format_modifier(struct wsi_wl_display *display, struct u_vector *formats, VkFormat vk_format, uint32_t flags, uint64_t modifier) wsi_wl_display_add_vk_format_modifier() argument 176 wsi_wl_display_add_drm_format_modifier(struct wsi_wl_display *display, struct u_vector *formats, uint32_t drm_format, uint64_t modifier) wsi_wl_display_add_drm_format_modifier() argument 369 wsi_wl_display_add_wl_shm_format(struct wsi_wl_display *display, struct u_vector *formats, enum wl_shm_format shm_format) wsi_wl_display_add_wl_shm_format() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/sof/amd/ |
H A D | rembrandt.c | 34 .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 D | vangogh.c | 34 .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 | 128 .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S8 |
|
H A D | renoir.c | 33 .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 |
|
/kernel/linux/linux-5.10/sound/firewire/motu/ |
H A D | motu-proc.c | 48 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()
|
H A D | motu-pcm.c | 14 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() 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 in init_hw_info() 69 limit_channels_and_rates(struct snd_motu *motu, struct snd_pcm_runtime *runtime, struct snd_motu_packet_format *formats) limit_channels_and_rates() argument [all...] |
/kernel/linux/linux-6.6/sound/firewire/motu/ |
H A D | motu-proc.c | 48 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()
|
H A D | motu-pcm.c | 14 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() 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 in init_hw_info() 69 limit_channels_and_rates(struct snd_motu *motu, struct snd_pcm_runtime *runtime, struct snd_motu_packet_format *formats) limit_channels_and_rates() argument [all...] |
/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/ |
H A D | symmetric_importKey.https.any.js | 19 // combinations of algorithms, usages, parameters, and formats to test 21 {name: "AES-CTR", legalUsages: ["encrypt", "decrypt"], extractable: [true, false], formats: ["raw", "jwk"]}, 22 {name: "AES-CBC", legalUsages: ["encrypt", "decrypt"], extractable: [true, false], formats: ["raw", "jwk"]}, 23 {name: "AES-GCM", legalUsages: ["encrypt", "decrypt"], extractable: [true, false], formats: ["raw", "jwk"]}, 24 {name: "AES-KW", legalUsages: ["wrapKey", "unwrapKey"], extractable: [true, false], formats: ["raw", "jwk"]}, 25 {name: "HMAC", hash: "SHA-1", legalUsages: ["sign", "verify"], extractable: [false], formats: ["raw", "jwk"]}, 26 {name: "HMAC", hash: "SHA-256", legalUsages: ["sign", "verify"], extractable: [false], formats: ["raw", "jwk"]}, 27 {name: "HMAC", hash: "SHA-384", legalUsages: ["sign", "verify"], extractable: [false], formats: ["raw", "jwk"]}, 28 {name: "HMAC", hash: "SHA-512", legalUsages: ["sign", "verify"], extractable: [false], formats: ["raw", "jwk"]}, 29 {name: "HKDF", legalUsages: ["deriveBits", "deriveKey"], extractable: [false], formats [all...] |
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
H A D | FormatsTableSchema.java | 71 public static ImmutableMap<String, FormatSpec> toFormatSpecs(CsvTable<String> formats) { in toFormatSpecs() argument 73 for (String id : formats.getKeys()) { in toFormatSpecs() 77 formats.getOrDefault(id, NATIONAL), in toFormatSpecs() 78 toOptional(formats.getOrDefault(id, CARRIER)), in toFormatSpecs() 79 toOptional(formats.getOrDefault(id, INTERNATIONAL)), in toFormatSpecs() 80 toOptional(formats.getOrDefault(id, LOCAL)), in toFormatSpecs() 81 formats.getOrDefault(id, NATIONAL_PREFIX_OPTIONAL), in toFormatSpecs() 82 toComment(formats.getOrDefault(id, COMMENT)))); in toFormatSpecs()
|
/third_party/mesa3d/src/util/format/ |
H A D | u_format_table.py | 80 # We don't generate code for YUV formats, and many of the new ones lack 132 def write_format_table(formats): 144 u_format_pack.generate(formats) 198 for format in formats: 224 for format in formats: 253 for format in formats: 293 for format in formats: 307 formats = [] 317 formats.extend(parse(arg)) 319 write_format_table(formats) [all...] |
/kernel/linux/linux-5.10/sound/firewire/oxfw/ |
H A D | oxfw-stream.c | 60 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[ in keep_resources() 580 assume_stream_formats(struct snd_oxfw *oxfw, enum avc_general_plug_dir dir, unsigned int pid, u8 *buf, unsigned int *len, u8 **formats) assume_stream_formats() argument 642 u8 *buf, **formats; fill_stream_formats() local [all...] |
H A D | oxfw-pcm.c | 13 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...] |
/kernel/linux/linux-6.6/sound/firewire/oxfw/ |
H A D | oxfw-stream.c | 60 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() 202 u8 **formats; in keep_resources() local 210 formats = oxfw->rx_stream_formats; in keep_resources() 214 formats = oxfw->tx_stream_formats; in keep_resources() 225 if (formats[ in keep_resources() 595 assume_stream_formats(struct snd_oxfw *oxfw, enum avc_general_plug_dir dir, unsigned int pid, u8 *buf, unsigned int *len, u8 **formats) assume_stream_formats() argument 657 u8 *buf, **formats; fill_stream_formats() local [all...] |
/kernel/linux/linux-6.6/sound/soc/uniphier/ |
H A D | aio-ld11.c | 196 .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 [all...] |
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
H A D | vivid-sdr-cap.c | 25 /* 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[ in vidioc_s_fmt_sdr_cap() [all...] |