Home
last modified time | relevance | path

Searched refs:fmt_map (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dv4l2_fmt.c36 } fmt_map[] = { variable
115 for (i = 0; i < FF_ARRAY_ELEMS(fmt_map); i++) { in ff_v4l2_format_avcodec_to_v4l2()
116 if (fmt_map[i].avcodec == avcodec) in ff_v4l2_format_avcodec_to_v4l2()
117 return fmt_map[i].v4l2_fmt; in ff_v4l2_format_avcodec_to_v4l2()
125 for (i = 0; i < FF_ARRAY_ELEMS(fmt_map); i++) { in ff_v4l2_format_avfmt_to_v4l2()
126 if (fmt_map[i].avfmt == avfmt) in ff_v4l2_format_avfmt_to_v4l2()
127 return fmt_map[i].v4l2_fmt; in ff_v4l2_format_avfmt_to_v4l2()
135 for (i = 0; i < FF_ARRAY_ELEMS(fmt_map); i++) { in ff_v4l2_format_v4l2_to_avfmt()
136 if (fmt_map[i].avcodec == avcodec && in ff_v4l2_format_v4l2_to_avfmt()
137 fmt_map[i].v4l2_fmt == v4l2_fmt) in ff_v4l2_format_v4l2_to_avfmt()
[all …]
/third_party/gstreamer/gstplugins_good/sys/oss4/
Doss4-audio.c60 static const GstOss4AudioFormat fmt_map[] = { variable
122 for (i = 0; i < G_N_ELEMENTS (fmt_map); ++i) { in gst_oss4_audio_get_oss_format()
123 if (fmt_map[i].gst_rbfmt == fmt && fmt_map[i].gst_rfmt == rfmt) in gst_oss4_audio_get_oss_format()
124 return fmt_map[i].oss_fmt; in gst_oss4_audio_get_oss_format()
501 for (i = 0; i < G_N_ELEMENTS (fmt_map); ++i) { in gst_oss4_audio_probe_caps()
502 if ((formats & fmt_map[i].oss_fmt)) { in gst_oss4_audio_probe_caps()
503 gst_oss4_append_format_to_caps (&fmt_map[i], caps); in gst_oss4_audio_probe_caps()
504 } else if ((fmt_map[i].oss_fmt & CONVERTIBLE_FORMATS)) { in gst_oss4_audio_probe_caps()
505 nonnative_formats |= fmt_map[i].oss_fmt; in gst_oss4_audio_probe_caps()
513 for (i = 0; i < G_N_ELEMENTS (fmt_map); ++i) { in gst_oss4_audio_probe_caps()
[all …]
/third_party/ffmpeg/libavdevice/
Dv4l2-common.h49 struct fmt_map { struct
55 extern const struct fmt_map ff_fmt_conversion_table[]; argument
Dv4l2-common.c21 const struct fmt_map ff_fmt_conversion_table[] = {
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTestMessageFormat.java1038 Map fmt_map = msg.parseToMap(source); in testParseNamedArguments() local
1039 if (fmt_map.keySet().size() != 2) { in testParseNamedArguments()
1042 assertEquals("parse()[0]", "abc", fmt_map.get("foo")); in testParseNamedArguments()
1043 assertEquals("parse()[1]", "def", fmt_map.get("bar")); in testParseNamedArguments()
1050 Map fmt_map = msg.parseToMap(source, pp); in testParseNamedArguments() local
1051 if (pp.getIndex()==0 || fmt_map==null) { in testParseNamedArguments()
1054 if (fmt_map.keySet().size() != 2) { in testParseNamedArguments()
1057 assertEquals("parse()[0]", "abc", fmt_map.get("foo")); in testParseNamedArguments()
1058 assertEquals("parse()[1]", "def", fmt_map.get("bar")); in testParseNamedArguments()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DTestMessageFormat.java1041 Map fmt_map = msg.parseToMap(source); in testParseNamedArguments() local
1042 if (fmt_map.keySet().size() != 2) { in testParseNamedArguments()
1045 assertEquals("parse()[0]", "abc", fmt_map.get("foo")); in testParseNamedArguments()
1046 assertEquals("parse()[1]", "def", fmt_map.get("bar")); in testParseNamedArguments()
1053 Map fmt_map = msg.parseToMap(source, pp); in testParseNamedArguments() local
1054 if (pp.getIndex()==0 || fmt_map==null) { in testParseNamedArguments()
1057 if (fmt_map.keySet().size() != 2) { in testParseNamedArguments()
1060 assertEquals("parse()[0]", "abc", fmt_map.get("foo")); in testParseNamedArguments()
1061 assertEquals("parse()[1]", "def", fmt_map.get("bar")); in testParseNamedArguments()