Home
last modified time | relevance | path

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

12345678910>>...20

/third_party/mesa3d/src/mesa/main/
H A Dtexcompress.c36 #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 Dformat_fallback.py41 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 Dformats.c29 #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 Dvf_format.c36 #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...]
H A Davfiltergraph.c39 #include "formats.h"
301 if ((ret = ff_formats_check_pixel_formats(log, cfg->formats)) < 0) in filter_link_check_formats()
306 if ((ret = ff_formats_check_sample_formats(log, cfg->formats)) < 0 || in filter_link_check_formats()
319 * Check the validity of the formats / etc. lists set by query_formats().
344 AVFilterFormats *formats; in filter_query_formats() local
350 if ((ret = ctx->filter->formats.query_func(ctx)) < 0) { in filter_query_formats()
360 formats = ff_all_formats(type); in filter_query_formats()
361 if ((ret = ff_set_common_formats(ctx, formats)) < 0) in filter_query_formats()
378 if (!f->inputs[i]->outcfg.formats) in formats_declared()
386 if (!f->outputs[i]->incfg.formats) in formats_declared()
[all...]
H A Dvf_hwdownload.c27 #include "formats.h"
43 &avctx->inputs[0]->outcfg.formats)) || in hwdownload_query_formats()
45 &avctx->outputs[0]->incfg.formats))) in hwdownload_query_formats()
78 enum AVPixelFormat *formats; in hwdownload_config_output() local
86 &formats, 0); in hwdownload_config_output()
91 for (i = 0; formats[i] != AV_PIX_FMT_NONE; i++) { in hwdownload_config_output()
92 if (formats[i] == outlink->format) { in hwdownload_config_output()
97 av_freep(&formats); in hwdownload_config_output()
H A Daf_aformat.c33 #include "formats.h"
39 AVFilterFormats *formats; member
52 { "sample_fmts", "A '|'-separated list of sample formats.", OFFSET(formats_str), AV_OPT_TYPE_STRING, .flags = A|F },
53 { "f", "A '|'-separated list of sample formats.", OFFSET(formats_str), AV_OPT_TYPE_STRING, .flags = A|F },
138 PARSE_FORMATS(s->formats_str, enum AVSampleFormat, s->formats, in init()
153 ff_formats_unref(&s->formats); in uninit()
163 ret = ff_set_common_formats(ctx, s->formats ? s->formats : in query_formats()
165 s->formats = NULL; in query_formats()
195 .description = NULL_IF_CONFIG_SMALL("Convert the input audio to one of the specified formats
[all...]
H A Dvaf_spectrumsynth.c35 #include "formats.h"
102 AVFilterFormats *formats = NULL; in query_formats() local
113 formats = ff_make_format_list(sample_fmts); in query_formats()
114 if ((ret = ff_formats_ref (formats, &outlink->incfg.formats )) < 0 || in query_formats()
120 formats = ff_make_format_list(sample_rates); in query_formats()
121 if (!formats) in query_formats()
123 if ((ret = ff_formats_ref(formats, &outlink->incfg.samplerates)) < 0) in query_formats()
126 formats = ff_make_format_list(pix_fmts); in query_formats()
127 if (!formats) in query_formats()
[all...]
/third_party/python/Lib/distutils/command/
H A Dbdist.py13 """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...]
/third_party/mesa3d/src/vulkan/wsi/
H A Dwsi_common_wayland.c72 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...]
/third_party/node/test/fixtures/wpt/WebCryptoAPI/import_export/
H A Dsymmetric_importKey.https.any.js19 // 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 DFormatsTableSchema.java71 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 Du_format_table.py80 # 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...]
/third_party/pulseaudio/src/tests/
H A Dextended-test.c125 pa_format_info *formats[1]; in context_state_callback() local
127 formats[0] = pa_format_info_new(); in context_state_callback()
128 formats[0]->encoding = PA_ENCODING_PCM; in context_state_callback()
129 pa_format_info_set_sample_format(formats[0], PA_SAMPLE_FLOAT32); in context_state_callback()
130 pa_format_info_set_rate(formats[0], SAMPLE_HZ); in context_state_callback()
131 pa_format_info_set_channels(formats[0], 1); in context_state_callback()
137 streams[i] = pa_stream_new_extended(c, name, formats, 1, NULL); in context_state_callback()
142 pa_format_info_free(formats[0]); in context_state_callback()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/modifiers/
H A DvktModifiersTests.cpp228 // tcuTexture.cpp getChannelSize, that is used by intThresholdCompare does not support the following formats. in checkExportImportExtensions()
229 // TODO: Add tcuTexture.cpp support for the following formats. in checkExportImportExtensions()
266 const VkFormat* formats, in isModifierCompatibleWithImageProperties()
296 formats, in isModifierCompatibleWithImageProperties()
303 formats[0], in isModifierCompatibleWithImageProperties()
398 const std::vector<VkFormat>& formats, in createImageWithDrmFormatExplicitModifier()
428 de::sizeU32(formats), in createImageWithDrmFormatExplicitModifier()
429 de::dataOrNull(formats), in createImageWithDrmFormatExplicitModifier()
438 formats.front(), in createImageWithDrmFormatExplicitModifier()
459 const std::vector<VkFormat>& formats, in createImageWithDrmFormatModifiers()
264 isModifierCompatibleWithImageProperties(const InstanceInterface& vki, VkPhysicalDevice physicalDevice, const VkFormat* formats, const deUint32 nFormats, const VkImageType imageType, const VkImageUsageFlags imageUsages, const VkExternalMemoryHandleTypeFlags handleType, const deUint64 drmFormatModifier, VkImageFormatProperties2& imageProperties) isModifierCompatibleWithImageProperties() argument
393 createImageWithDrmFormatExplicitModifier(const DeviceInterface& vkd, const VkDevice device, const VkImageType imageType, const VkImageUsageFlags imageUsages, const VkExternalMemoryHandleTypeFlags externalMemoryHandleTypeFlags, const std::vector<VkFormat>& formats, const UVec2& size, const ExplicitModifier drmFormatModifier) createImageWithDrmFormatExplicitModifier() argument
454 createImageWithDrmFormatModifiers(const DeviceInterface& vkd, const VkDevice device, const VkImageType imageType, const VkImageUsageFlags imageUsages, const VkExternalMemoryHandleTypeFlags externalMemoryHandleTypeFlags, const std::vector<VkFormat>& formats, const UVec2& size, const std::vector<deUint64>& drmFormatModifiers) createImageWithDrmFormatModifiers() argument
996 const VkFormat formats[] = createTests() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/modifiers/
H A DvktModifiersTests.cpp223 // tcuTexture.cpp getChannelSize, that is used by intThresholdCompare does not support the following formats. in checkExportImportExtensions()
224 // TODO: Add tcuTexture.cpp support for the following formats. in checkExportImportExtensions()
261 const VkFormat* formats, in isModifierCompatibleWithImageProperties()
291 formats, in isModifierCompatibleWithImageProperties()
298 formats[0], in isModifierCompatibleWithImageProperties()
393 const std::vector<VkFormat>& formats, in createImageWithDrmFormatExplicitModifier()
423 de::sizeU32(formats), in createImageWithDrmFormatExplicitModifier()
424 de::dataOrNull(formats), in createImageWithDrmFormatExplicitModifier()
433 formats.front(), in createImageWithDrmFormatExplicitModifier()
454 const std::vector<VkFormat>& formats, in createImageWithDrmFormatModifiers()
259 isModifierCompatibleWithImageProperties(const InstanceInterface& vki, VkPhysicalDevice physicalDevice, const VkFormat* formats, const deUint32 nFormats, const VkImageType imageType, const VkImageUsageFlags imageUsages, const VkExternalMemoryHandleTypeFlags handleType, const deUint64 drmFormatModifier, VkImageFormatProperties2& imageProperties) isModifierCompatibleWithImageProperties() argument
388 createImageWithDrmFormatExplicitModifier(const DeviceInterface& vkd, const VkDevice device, const VkImageType imageType, const VkImageUsageFlags imageUsages, const VkExternalMemoryHandleTypeFlags externalMemoryHandleTypeFlags, const std::vector<VkFormat>& formats, const UVec2& size, const ExplicitModifier drmFormatModifier) createImageWithDrmFormatExplicitModifier() argument
449 createImageWithDrmFormatModifiers(const DeviceInterface& vkd, const VkDevice device, const VkImageType imageType, const VkImageUsageFlags imageUsages, const VkExternalMemoryHandleTypeFlags externalMemoryHandleTypeFlags, const std::vector<VkFormat>& formats, const UVec2& size, const std::vector<deUint64>& drmFormatModifiers) createImageWithDrmFormatModifiers() argument
963 const VkFormat formats[] = createTests() local
[all...]
/third_party/mesa3d/src/amd/common/
H A Dgfx10_format_table.py119 % for pipe_format, args in formats:
237 # Don't expose SRGB buffer formats
259 formats = []
272 formats.append((fmt.name, args))
274 return formats
285 formats = pipe_formats_to_formats(pipe_formats, mapping) variable
286 print(header_template.render(header=True, gfx='gfx10', formats=formats))
294 formats = pipe_formats_to_formats(pipe_formats, mapping) variable
295 print(header_template.render(header=False, gfx='gfx11', formats
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/
H A DesextcTextureBufferTextureBufferRange.cpp607 /* Create list of textures internal formats */ in initTest()
608 std::vector<glw::GLenum> formats; in initTest() local
610 formats.push_back(GL_R8); in initTest()
611 formats.push_back(GL_R16F); in initTest()
612 formats.push_back(GL_R32F); in initTest()
613 formats.push_back(GL_R8I); in initTest()
614 formats.push_back(GL_R16I); in initTest()
615 formats.push_back(GL_R32I); in initTest()
616 formats.push_back(GL_R8UI); in initTest()
617 formats in initTest()
[all...]
/third_party/mesa3d/src/intel/isl/
H A Dgen_format_layout.py60 % for format in formats:
66 % for format in formats:
73 % for format in formats:
196 # some formats have an empty 'order' field in the CSV (such as
240 def get_srgb_to_linear_map(formats):
241 """Compute a map from sRGB to linear formats.
247 names = {f.name for f in formats}
248 for fmt in formats:
283 formats = [Format(l) for l in reader(args.csv)]
288 formats
[all...]
/third_party/skia/src/gpu/
H A DGrYUVABackendTextures.cpp26 const GrBackendFormat formats[kMaxPlanes], in GrYUVABackendTextureInfo()
37 if (!formats[i].isValid() || formats[i].backend() != formats[0].backend()) { in GrYUVABackendTextureInfo()
44 int numActualChannels = num_channels(formats[i]); in GrYUVABackendTextureInfo()
49 fPlaneFormats[i] = formats[i]; in GrYUVABackendTextureInfo()
25 GrYUVABackendTextureInfo(const SkYUVAInfo& yuvaInfo, const GrBackendFormat formats[kMaxPlanes], GrMipmapped mipmapped, GrSurfaceOrigin origin) GrYUVABackendTextureInfo() argument
/third_party/pulseaudio/src/modules/
H A Dmodule-null-sink.c56 "formats=<semi-colon separated sink formats>"
75 pa_idxset *formats; member
87 "formats",
145 /* If sink was suspended to change sample formats, both in sink_set_state_in_io_thread_cb()
176 static bool sink_set_formats_cb(pa_sink *s, pa_idxset *formats) { in sink_set_formats_cb() argument
181 pa_idxset_free(u->formats, (pa_free_cb_t) pa_format_info_free); in sink_set_formats_cb()
182 u->formats = pa_idxset_copy(formats, (pa_copy_func_t) pa_format_info_copy); in sink_set_formats_cb()
192 return pa_idxset_copy(u->formats, (pa_copy_func_ in sink_get_formats_cb()
322 const char *formats; pa__init() local
[all...]
/third_party/skia/third_party/externals/tint/tools/src/cmd/test-runner/
H A Dmain.go79 flag.StringVar(&formatList, "format", "wgsl,spvasm,msl,hlsl", "comma separated list of formats to emit. Possible values are: all, wgsl, spvasm, msl, hlsl, glsl")
149 formats := []outputFormat{}
151 formats = []outputFormat{wgsl, spvasm, msl, hlsl, glsl}
156 formats = append(formats, wgsl)
158 formats = append(formats, spvasm)
160 formats = append(formats, msl)
162 formats
[all...]
/third_party/python/Lib/distutils/tests/
H A Dtest_bdist.py21 cmd.formats = ['tar']
23 self.assertEqual(cmd.formats, ['tar'])
25 # what formats does bdist offer?
26 formats = ['bztar', 'gztar', 'rpm', 'tar', 'xztar', 'zip', 'ztar']
28 self.assertEqual(found, formats)
/third_party/vk-gl-cts/framework/opengl/
H A DgluContextInfo.cpp182 vector<int> formats(numFormats); in operator ()()
184 gl.getIntegerv(GL_COMPRESSED_TEXTURE_FORMATS, &formats[0]); in operator ()()
189 std::copy(formats.begin(), formats.end(), std::inserter(formatSet, formatSet.begin())); in operator ()()
251 const set<int>& formats = m_compressedTextureFormats.getValue(m_context); in isCompressedTextureFormatSupported() local
252 return formats.find(format) != formats.end(); in isCompressedTextureFormatSupported()
/third_party/ffmpeg/libavfilter/tests/
H A Dfiltfmts.c32 #include "libavfilter/formats.h"
45 const AVFilterFormats *const fmts = cfg->formats; in print_formats_internal()
49 av_get_pix_fmt_name(fmts->formats[j])); in print_formats_internal()
52 const AVFilterFormats *const fmts = cfg->formats; in print_formats_internal()
58 av_get_sample_fmt_name(fmts->formats[j])); in print_formats_internal()
147 ret = filter->formats.query_func(filter_ctx); in main()

Completed in 13 milliseconds

12345678910>>...20