/third_party/gstreamer/gstplugins_bad/sys/kms/ |
D | gstkmsutils.c | 39 } format_map[] = { variable 94 for (i = 0; i < G_N_ELEMENTS (format_map); i++) { in gst_video_format_from_drm() 95 if (format_map[i].fourcc == drmfmt) in gst_video_format_from_drm() 96 return format_map[i].format; in gst_video_format_from_drm() 107 for (i = 0; i < G_N_ELEMENTS (format_map); i++) { in gst_drm_format_from_video() 108 if (format_map[i].format == fmt) in gst_drm_format_from_video() 109 return format_map[i].fourcc; in gst_drm_format_from_video() 205 for (i = 0; i < G_N_ELEMENTS (format_map); i++) { in gst_kms_sink_caps_template_fill() 206 template = gst_video_format_to_structure (format_map[i].format); in gst_kms_sink_caps_template_fill()
|
/third_party/libsnd/programs/ |
D | common.c | 311 static OUTPUT_FORMAT_MAP format_map [] = variable 367 for (k = 0 ; k < (int) (sizeof (format_map) / sizeof (format_map [0])) ; k++) in sfe_file_type_of_ext() 368 { if ((format_map [k].len > 0 && strncmp (buffer, format_map [k].ext, format_map [k].len) == 0) || in sfe_file_type_of_ext() 369 (strcmp (buffer, format_map [k].ext) == 0)) in sfe_file_type_of_ext() 370 { if (format_map [k].format & SF_FORMAT_SUBMASK) in sfe_file_type_of_ext() 371 return format_map [k].format ; in sfe_file_type_of_ext() 373 return format_map [k].format | format ; in sfe_file_type_of_ext() 386 for (k = 0 ; k < ARRAY_LEN (format_map) ; k++) in sfe_dump_format_map() 387 { info.format = format_map [k].format ; in sfe_dump_format_map() 389 printf (" %-10s : %s", format_map [k].ext, info.name == NULL ? "????" : info.name) ; in sfe_dump_format_map() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | gen_copy_conversion_table.py | 90 format_map = {} 94 if texture_format not in format_map: 95 format_map[texture_format] = [] 96 format_map[texture_format] += [framebuffer_format] 100 for texture_format, framebuffer_formats in sorted(format_map.items()):
|
D | gen_format_map.py | 145 format_map = angle_format.load_json(input_script) 149 for format, type_map in sorted(format_map.items()):
|
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/ |
D | gstv4l2format.c | 34 static struct FormatEntry format_map[] = { variable 48 for (i = 0; format_map[i].v4l2_pix_fmt; i++) { in lookup_v4l2_fmt() 49 if (format_map[i].v4l2_pix_fmt == v4l2_pix_fmt) { in lookup_v4l2_fmt() 50 ret = format_map + i; in lookup_v4l2_fmt() 64 for (i = 0; format_map[i].v4l2_pix_fmt; i++) { in lookup_gst_fmt() 65 if (format_map[i].gst_fmt == gst_fmt) { in lookup_gst_fmt() 66 ret = format_map + i; in lookup_gst_fmt()
|
/third_party/gstreamer/gstplugins_bad/sys/va/ |
D | gstvavideoformat.c | 37 } format_map[] = { variable 169 for (i = 0; i < G_N_ELEMENTS (format_map); i++) { in get_format_map_from_va_fourcc() 170 if (format_map[i].va_format.fourcc == va_fourcc) in get_format_map_from_va_fourcc() 171 return &format_map[i]; in get_format_map_from_va_fourcc() 182 for (i = 0; i < G_N_ELEMENTS (format_map); i++) { in get_format_map_from_video_format() 183 if (format_map[i].format == format) in get_format_map_from_video_format() 184 return &format_map[i]; in get_format_map_from_video_format() 222 for (i = 0; i < G_N_ELEMENTS (format_map); i++) { in get_format_map_from_va_image_format() 223 if (va_format_is_same (&format_map[i].va_format, va_format)) in get_format_map_from_va_image_format() 224 return &format_map[i]; in get_format_map_from_va_image_format()
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstnvenc.c | 329 GstNvEncFormat format_map[] = { in gst_nvenc_get_supported_input_formats() local 382 if (!format_map[i].supported) { in gst_nvenc_get_supported_input_formats() 383 format_map[i].supported = TRUE; in gst_nvenc_get_supported_input_formats() 389 if (support_yuv444 && !format_map[i].supported) { in gst_nvenc_get_supported_input_formats() 390 format_map[i].supported = TRUE; in gst_nvenc_get_supported_input_formats() 395 if (support_10bit && !format_map[i].supported) { in gst_nvenc_get_supported_input_formats() 396 format_map[i].supported = TRUE; in gst_nvenc_get_supported_input_formats() 401 if (support_yuv444 && support_10bit && !format_map[i].supported) { in gst_nvenc_get_supported_input_formats() 402 format_map[i].supported = TRUE; in gst_nvenc_get_supported_input_formats() 409 if (support_10bit && !format_map[i].supported) { in gst_nvenc_get_supported_input_formats() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/codecalpha/ |
D | gstalphacombine.c | 59 } format_map[] = { variable 200 for (i = 0; i < G_N_ELEMENTS (format_map); i++) { in gst_alpha_combine_negotiate() 201 if (format_map[i].sink == sink_format in gst_alpha_combine_negotiate() 202 && format_map[i].alpha == alpha_format) { in gst_alpha_combine_negotiate() 203 src_format = format_map[i].src; in gst_alpha_combine_negotiate() 406 for (i = 0; i < G_N_ELEMENTS (format_map); i++) { in gst_alpha_combine_set_sink_format() 407 if (format_map[i].sink == sink_format) { in gst_alpha_combine_set_sink_format() 408 src_format = format_map[i].src; in gst_alpha_combine_set_sink_format()
|
/third_party/node/deps/v8/src/codegen/arm64/ |
D | instructions-arm64.cc | 388 const NEONFormatMap* format_map) { in GetVectorFormat() argument 393 DCHECK_LT(GetNEONFormat(format_map), arraysize(vform)); in GetVectorFormat() 394 return vform[GetNEONFormat(format_map)]; in GetVectorFormat() 405 NEONFormat NEONFormatDecoder::GetNEONFormat(const NEONFormatMap* format_map) { in GetNEONFormat() argument 406 return format_map->map[PickBits(format_map->bits)]; in GetNEONFormat()
|
D | instructions-arm64.h | 629 VectorFormat GetVectorFormat(const NEONFormatMap* format_map); 729 NEONFormat GetNEONFormat(const NEONFormatMap* format_map);
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_tracker.c | 195 memset(xa->format_map, 0, sizeof(xa->format_map)); in xa_tracker_create() 210 if (xa->format_map[stype][0] == 0) in xa_tracker_create() 211 xa->format_map[stype][0] = num_formats; in xa_tracker_create() 212 xa->format_map[stype][1] = num_formats; in xa_tracker_create() 278 for (i = xa->format_map[stype][0]; i <= xa->format_map[stype][1]; ++i) { in xa_get_format_stype_depth()
|
D | xa_priv.h | 76 unsigned int format_map[XA_LAST_SURFACE_TYPE][2]; member
|
/third_party/python/Lib/test/ |
D | test_unicode.py | 1298 self.assertEqual(''.format_map({}), '') 1299 self.assertEqual('a'.format_map({}), 'a') 1300 self.assertEqual('ab'.format_map({}), 'ab') 1301 self.assertEqual('a{{'.format_map({}), 'a{') 1302 self.assertEqual('a}}'.format_map({}), 'a}') 1303 self.assertEqual('{{b'.format_map({}), '{b') 1304 self.assertEqual('}}b'.format_map({}), '}b') 1305 self.assertEqual('a{{b'.format_map({}), 'a{b') 1311 self.assertEqual('{hello}'.format_map(Mapping()), 'hello') 1312 self.assertEqual('{a} {world}'.format_map(Mapping(a='hello')), 'hello world') [all …]
|
/third_party/alsa-utils/axfer/ |
D | container-au.c | 33 struct format_map { struct 38 static const struct format_map format_maps[] = { argument
|
D | container-riff-wave.c | 42 struct format_map { struct 47 static const struct format_map format_maps[] = { argument 351 const struct format_map *map; in wave_parser_pre_process()
|
D | container-voc.c | 48 struct format_map { struct 54 static const struct format_map format_maps[] = { argument
|
/third_party/vixl/src/aarch64/ |
D | instructions-aarch64.h | 848 VectorFormat GetVectorFormat(const NEONFormatMap* format_map) { in GetVectorFormat() argument 862 VIXL_ASSERT(GetNEONFormat(format_map) < ArrayLength(vform)); in GetVectorFormat() 863 return vform[GetNEONFormat(format_map)]; in GetVectorFormat() 1024 NEONFormat GetNEONFormat(const NEONFormatMap* format_map) { in GetNEONFormat() argument 1025 return format_map->map[PickBits(format_map->bits)]; in GetNEONFormat()
|
/third_party/python/PC/layout/support/ |
D | props.py | 98 props = PROPS_TEMPLATE.format_map(d)
|
D | nuspec.py | 76 nuspec = NUSPEC_TEMPLATE.format_map(data)
|
/third_party/ffmpeg/libavcodec/ |
D | amfenc.c | 70 static const FormatMap format_map[] = variable 84 for (i = 0; i < amf_countof(format_map); i++) { in amf_av_to_amf_format() 85 if (format_map[i].av_format == fmt) { in amf_av_to_amf_format() 86 return format_map[i].amf_format; in amf_av_to_amf_format()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_format.c | 192 static const struct format_mapping format_map[] = { variable 1166 for (i = 0; i < ARRAY_SIZE(format_map); i++) { in st_choose_format() 1167 const struct format_mapping *mapping = &format_map[i]; in st_choose_format()
|
/third_party/mesa3d/docs/relnotes/ |
D | 20.2.2.rst | 109 - st/mesa: Add missing sentinels in format_map[]
|
/third_party/python/Lib/collections/ |
D | __init__.py | 1441 def format_map(self, mapping): member in UserString 1442 return self.data.format_map(mapping)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.0b1.rst | 205 casefold(), format_map(), isprintable(), and maketrans(). Patch by Joe
|
/third_party/python/Tools/clinic/ |
D | clinic.py | 1210 s = s.format_map(d) 1361 s = template.format_map(template_dict) 1730 self.filename = args[0].format_map(d) 3987 value = value.format_map({
|