Home
last modified time | relevance | path

Searched refs:rates (Results 1 – 25 of 227) sorted by relevance

12345678910

/third_party/gstreamer/gstplugins_good/sys/oss/
Doss_probe.c34 GArray *rates; member
71 g_array_sort (probe->rates, int_compare); in main()
72 for (i = 0; i < probe->rates->len; i++) { in main()
73 g_print ("%d\n", g_array_index (probe->rates, int, i)); in main()
76 g_array_free (probe->rates, TRUE); in main()
86 for (i = 0; i < probe->rates->len; i++) { in main()
87 g_print ("%d\n", g_array_index (probe->rates, int, i)); in main()
96 for (i = 0; i < probe->rates->len; i++) { in main()
97 g_print ("%d\n", g_array_index (probe->rates, int, i)); in main()
106 for (i = 0; i < probe->rates->len; i++) { in main()
[all …]
Dgstosshelper.c61 GArray *rates; member
112 g_array_free (probe->rates, TRUE); in gst_oss_helper_probe_caps()
120 g_array_sort (probe->rates, gst_oss_helper_rate_int_compare); in gst_oss_helper_probe_caps()
125 for (i = 0; i < probe->rates->len; i++) { in gst_oss_helper_probe_caps()
126 g_value_set_int (&value, g_array_index (probe->rates, int, i)); in gst_oss_helper_probe_caps()
138 g_array_free (probe->rates, TRUE); in gst_oss_helper_probe_caps()
210 probe->rates = g_array_new (FALSE, FALSE, sizeof (int)); in gst_oss_helper_rate_probe_check()
351 gst_oss_helper_rate_add_rate (probe->rates, rate); in gst_oss_helper_rate_check_rate()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Daudiorate.c300 static const guint rates[] = { 8000, 11025, 16000, 22050, 32000, 44100, variable
308 for (i = 0; i < G_N_ELEMENTS (rates); ++i) { in GST_START_TEST()
309 do_perfect_stream_test (rates[i], "S8", 0.0, 0.0); in GST_START_TEST()
310 do_perfect_stream_test (rates[i], GST_AUDIO_NE (S16), 0.0, 0.0); in GST_START_TEST()
320 for (i = 0; i < G_N_ELEMENTS (rates); ++i) { in GST_START_TEST()
321 do_perfect_stream_test (rates[i], "S8", 0.10, 0.0); in GST_START_TEST()
322 do_perfect_stream_test (rates[i], GST_AUDIO_NE (S16), 0.10, 0.0); in GST_START_TEST()
332 for (i = 0; i < G_N_ELEMENTS (rates); ++i) { in GST_START_TEST()
333 do_perfect_stream_test (rates[i], "S8", 0.50, 0.0); in GST_START_TEST()
334 do_perfect_stream_test (rates[i], GST_AUDIO_NE (S16), 0.50, 0.0); in GST_START_TEST()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_NV_fragment_shading_rate_enums.txt20 "`supersample`" fragment shading rates that trigger multiple fragment shader
32 supersample and "`no invocations`" shading rates, which are supported by the
36 rates.
37 To deal with this, we defined enums covering shading rates supported by the
38 KHR extension as well as the new shading rates and added structures and APIs
41 Since this extension adds two different types of shading rates, both
57 *RESOLVED*: The shading rates supported by the enums in this extension are
58 accepted as pipeline, primitive, and attachment shading rates and behave
60 For the shading rates also supported by the KHR extension, the values
62 for the primitive and attachment shading rates in the KHR extension.
[all …]
DVK_QCOM_render_pass_transform.txt161 The <<primsrast-fragment-shading-rate, set of supported shading rates>> may:
163 Supported rates queried from
166 This means that the application must: swap the x/y of the reported rates to
167 get the set of rates supported for 90 and 270 degree rotation.
/third_party/ffmpeg/libavcodec/
Dlibvo-amrwbenc.c58 static const int rates[] = { 6600, 8850, 12650, 14250, 15850, 18250, in get_wb_bitrate_mode() local
64 if (rates[i] == bitrate) in get_wb_bitrate_mode()
66 if (best < 0 || abs(rates[i] - bitrate) < min_diff) { in get_wb_bitrate_mode()
68 min_diff = abs(rates[i] - bitrate); in get_wb_bitrate_mode()
74 av_strlcatf(log_buf, sizeof(log_buf), "%.2fk, ", rates[i] / 1000.f); in get_wb_bitrate_mode()
75 av_strlcatf(log_buf, sizeof(log_buf), "using %.2fk", rates[best] / 1000.f); in get_wb_bitrate_mode()
Dlibopencore-amr.c157 static const AMR_bitrates rates[] = { in get_bitrate_mode() local
165 if (rates[i].rate == bitrate) in get_bitrate_mode()
166 return rates[i].mode; in get_bitrate_mode()
167 if (best < 0 || abs(rates[i].rate - bitrate) < min_diff) { in get_bitrate_mode()
169 min_diff = abs(rates[i].rate - bitrate); in get_bitrate_mode()
175 av_strlcatf(log_buf, sizeof(log_buf), "%.2fk, ", rates[i].rate / 1000.f); in get_bitrate_mode()
176 av_strlcatf(log_buf, sizeof(log_buf), "using %.2fk", rates[best].rate / 1000.f); in get_bitrate_mode()
/third_party/EGL/extensions/EXT/
DEGL_EXT_surface_compression.txt62 EGLint *rates, EGLint rate_size, EGLint *num_rates);
205 To get the list of all fixed-rate compression rates that are available on
210 EGLint *rates, EGLint rate_size, EGLint *num_rates);
215 <rates> is a pointer to a buffer containing <rate_size> elements. On success, EGL_TRUE is
216 … returned. The number of rates is returned in <num_rates>, and elements 0 through <num_rates>-1 of
217 <rates> are filled in with the available compression rates.
218 No more than <rate_size> compression rates will be returned even if more are available
220 …<rates> = NULL, then no rates are returned, but the total number of rates available will be return…
222 The possible values returned in <rates> are the attribute values accepted for
262 3. Should we expose different compressions rates per plane in this extension?
[all …]
/third_party/ffmpeg/libavutil/tests/
Dparseutils.c39 static const char *const rates[] = { in test_av_parse_video_rate() local
67 for (i = 0; i < FF_ARRAY_ELEMS(rates); i++) { in test_av_parse_video_rate()
70 ret = av_parse_video_rate(&q, rates[i]); in test_av_parse_video_rate()
72 rates[i], q.num, q.den, ret ? "ERROR" : "OK"); in test_av_parse_video_rate()
/third_party/openGLES/extensions/EXT/
DEXT_fragment_shading_rate.txt72 This extension allows applications to specify fragment shading rates of less
246 Table X.1: Shading rates accepted by ShadingRateEXT. An
401 The final rate (Cxy') used for fragment shading must be one of the rates returned by
416 …Otherwise, each of the specified shading rates are combined and then used to derive the value of C…
417 As there are three ways to specify shading rates, two combiner
419 rates, and between the result of that and the attachment shading rate.
446 fragment shading rates being combined.
456 … If the final combined rate is one of the rates returned by GetFragmentShadingRatesEXT for the
457 …sample count used by rasterization, Cxy' = Cxy. Otherwise, Cxy' is selected from the rates returned
459 …From this list of supported rates, the following steps are applied in order, to select a single va…
[all …]
/third_party/ffmpeg/libavresample/tests/
Davresample.c176 static const int rates[] = { variable
228 num_rates = av_clip(num_rates, 1, FF_ARRAY_ELEMS(rates)); in main()
263 in_rate = rates[m]; in main()
280 out_rate = rates[n]; in main()
/third_party/openGLES/extensions/QCOM/
DQCOM_shading_rate.txt54 This extension allows applications to specify fragment shading rates of less
182 Table X.1: Shading rates accepted by ShadingRateQCOM. An
333 depdendent reasons. The specific rates supported in the hardware and the
334 specific conditions when the rates needs to be adjusted can differ across
342 shading rates exposed by this extension are supported natively by the HW?
345 shading rates of 1x1, 1x2, 2x1, 2x2, 4x2, and 4x4. Most Adreno GPUs supporting
346 this extension are expected to support all those rates, although some early HW
347 may support fewer rates. Note that this extension does not include shading
348 rates of 1x4, 4x1, nor 2x4 because Adreno GPUs may never support those rates.
349 Because a future version of this extension could support those rates,
[all …]
/third_party/ffmpeg/libswresample/tests/
Dswresample.c103 static const int rates[] = { variable
240 …int remaining_tests[FF_ARRAY_ELEMS(rates) * FF_ARRAY_ELEMS(layouts) * FF_ARRAY_ELEMS(formats) * FF… in main()
288 … out_sample_rate = rates [vector % FF_ARRAY_ELEMS(rates )]; vector /= FF_ARRAY_ELEMS(rates); in main()
/third_party/pulseaudio/sonic/samples/
DREADME1 These wav files show how Sonic performs at increasing speech rates. All sound
23 though Sonic can speed up espeak to much faster rates.
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavcodecmap.c394 const AVRational *rates = codec->supported_framerates; in gst_ff_vid_caps_new() local
396 if (rates[1].num == 0 && rates[1].den == 0) { in gst_ff_vid_caps_new()
399 rates[0].num, rates[0].den, NULL); in gst_ff_vid_caps_new()
404 while (rates->num != 0 && rates->den != 0) { in gst_ff_vid_caps_new()
405 gst_value_set_fraction (&v, rates->num, rates->den); in gst_ff_vid_caps_new()
407 rates++; in gst_ff_vid_caps_new()
568 const gint *rates = NULL; in gst_ff_aud_caps_new() local
583 rates = l_rates; in gst_ff_aud_caps_new()
592 rates = l_rates; in gst_ff_aud_caps_new()
599 rates = l_rates; in gst_ff_aud_caps_new()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_capa.c1537 mode->rates = os_calloc(mode->num_rates, sizeof(int)); in phy_info_rates()
1538 if (!mode->rates) in phy_info_rates()
1549 mode->rates[idx] = nla_get_u32( in phy_info_rates()
1766 if (modes[m].rates[i] > 200) { in wpa_driver_nl80211_postprocess_modes()
1812 mode->rates = os_malloc(4 * sizeof(int)); in wpa_driver_nl80211_postprocess_modes()
1813 if (mode->rates == NULL) { in wpa_driver_nl80211_postprocess_modes()
1820 if (mode11g->rates[i] != 10 && mode11g->rates[i] != 20 && in wpa_driver_nl80211_postprocess_modes()
1821 mode11g->rates[i] != 55 && mode11g->rates[i] != 110) in wpa_driver_nl80211_postprocess_modes()
1823 mode->rates[mode->num_rates] = mode11g->rates[i]; in wpa_driver_nl80211_postprocess_modes()
1831 os_free(mode->rates); in wpa_driver_nl80211_postprocess_modes()
[all …]
Ddriver_nl80211_scan.c336 struct nlattr *rates; in wpa_driver_nl80211_scan() local
340 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES); in wpa_driver_nl80211_scan()
341 if (rates == NULL) in wpa_driver_nl80211_scan()
353 nla_nest_end(msg, rates); in wpa_driver_nl80211_scan()
1174 struct nlattr *rates; in wpa_driver_nl80211_vendor_scan() local
1178 rates = nla_nest_start(msg, in wpa_driver_nl80211_vendor_scan()
1180 if (rates == NULL) in wpa_driver_nl80211_vendor_scan()
1192 nla_nest_end(msg, rates); in wpa_driver_nl80211_vendor_scan()
Ddriver_hostap.c1123 mode->rates = os_zalloc(rlen); in hostap_get_hw_feature_data()
1124 if (mode->channels == NULL || mode->rates == NULL) { in hostap_get_hw_feature_data()
1126 os_free(mode->rates); in hostap_get_hw_feature_data()
1140 mode->rates[0] = 10; in hostap_get_hw_feature_data()
1141 mode->rates[1] = 20; in hostap_get_hw_feature_data()
1142 mode->rates[2] = 55; in hostap_get_hw_feature_data()
1143 mode->rates[3] = 110; in hostap_get_hw_feature_data()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_scan.c339 struct nlattr *rates; in wpa_driver_nl80211_scan() local
343 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES); in wpa_driver_nl80211_scan()
344 if (rates == NULL) in wpa_driver_nl80211_scan()
356 nla_nest_end(msg, rates); in wpa_driver_nl80211_scan()
1192 struct nlattr *rates; in wpa_driver_nl80211_vendor_scan() local
1196 rates = nla_nest_start(msg, in wpa_driver_nl80211_vendor_scan()
1198 if (rates == NULL) in wpa_driver_nl80211_vendor_scan()
1210 nla_nest_end(msg, rates); in wpa_driver_nl80211_vendor_scan()
Ddriver_nl80211_capa.c1758 mode->rates = os_calloc(mode->num_rates, sizeof(int)); in phy_info_rates()
1759 if (!mode->rates) in phy_info_rates()
1770 mode->rates[idx] = nla_get_u32( in phy_info_rates()
2002 if (modes[m].rates[i] > 200) { in wpa_driver_nl80211_postprocess_modes()
2020 os_free(modes[m].rates); in wpa_driver_nl80211_postprocess_modes()
2066 mode->rates = os_malloc(4 * sizeof(int)); in wpa_driver_nl80211_postprocess_modes()
2067 if (mode->rates == NULL) { in wpa_driver_nl80211_postprocess_modes()
2074 if (mode11g->rates[i] != 10 && mode11g->rates[i] != 20 && in wpa_driver_nl80211_postprocess_modes()
2075 mode11g->rates[i] != 55 && mode11g->rates[i] != 110) in wpa_driver_nl80211_postprocess_modes()
2077 mode->rates[mode->num_rates] = mode11g->rates[i]; in wpa_driver_nl80211_postprocess_modes()
[all …]
Ddriver_hostap.c1127 mode->rates = os_zalloc(rlen); in hostap_get_hw_feature_data()
1128 if (mode->channels == NULL || mode->rates == NULL) { in hostap_get_hw_feature_data()
1130 os_free(mode->rates); in hostap_get_hw_feature_data()
1144 mode->rates[0] = 10; in hostap_get_hw_feature_data()
1145 mode->rates[1] = 20; in hostap_get_hw_feature_data()
1146 mode->rates[2] = 55; in hostap_get_hw_feature_data()
1147 mode->rates[3] = 110; in hostap_get_hw_feature_data()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-util.c1418 unsigned int i, j, n, *rates = NULL; in pa_alsa_get_supported_rates() local
1436 rates = pa_xnew(unsigned int, n + 1); in pa_alsa_get_supported_rates()
1440 rates[j++] = all_rates[i]; in pa_alsa_get_supported_rates()
1443 rates[j] = 0; in pa_alsa_get_supported_rates()
1445 rates = pa_xnew(unsigned int, 2); in pa_alsa_get_supported_rates()
1447 rates[0] = fallback_rate; in pa_alsa_get_supported_rates()
1448 if ((ret = snd_pcm_hw_params_set_rate_near(pcm, hwparams, &rates[0], NULL)) < 0) { in pa_alsa_get_supported_rates()
1450 pa_xfree(rates); in pa_alsa_get_supported_rates()
1454 rates[1] = 0; in pa_alsa_get_supported_rates()
1457 return rates; in pa_alsa_get_supported_rates()
/third_party/ffmpeg/libavfilter/
Df_streamselect.c308 AVFilterFormats *formats, *rates = NULL; in query_formats() local
318 rates = ff_all_samplerates(); in query_formats()
319 if ((ret = ff_set_common_samplerates(ctx, rates)) < 0) in query_formats()
Davf_concat.c79 AVFilterFormats *formats, *rates = NULL; in query_formats() local
94 rates = ff_all_samplerates(); in query_formats()
95 if ((ret = ff_formats_ref(rates, &ctx->outputs[idx]->incfg.samplerates)) < 0) in query_formats()
107 if ((ret = ff_formats_ref(rates, &ctx->inputs[idx]->outcfg.samplerates)) < 0 || in query_formats()
/third_party/icu/icu4c/source/test/intltest/
Dunits_test.cpp233 ConversionRates rates(status); in testConversionInfo() local
237 UnitsConverter unitsConverter(sourceImpl, targetImpl, rates, status); in testConversionInfo()
534 ConversionRates rates(errorCode); in testConverterWithCLDRTests() local
535 UnitsTestContext ctx = {this, &rates}; in testConverterWithCLDRTests()
657 ConversionRates rates(status); in testComplexUnitsConverter() local
694 ComplexUnitsConverter converter1(inputImpl, outputImpl, rates, status); in testComplexUnitsConverter()

12345678910