/third_party/gstreamer/gstplugins_good/sys/oss/ |
D | oss_probe.c | 34 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 …]
|
D | gstosshelper.c | 61 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/ |
D | audiorate.c | 300 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/ |
D | VK_NV_fragment_shading_rate_enums.adoc | 20 "`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 …]
|
D | VK_NV_fragment_shading_rate_enums.txt | 20 "`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 …]
|
D | VK_QCOM_render_pass_transform.txt | 161 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.
|
D | VK_QCOM_render_pass_transform.adoc | 169 The <<primsrast-fragment-shading-rate, set of supported shading rates>> may: 171 Supported rates queried from 174 This means that the application must: swap the x/y of the reported rates to 175 get the set of rates supported for 90 and 270 degree rotation.
|
/third_party/ffmpeg/libavcodec/ |
D | libvo-amrwbenc.c | 58 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()
|
D | libopencore-amr.c | 157 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/ |
D | EGL_EXT_surface_compression.txt | 62 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/vk-gl-cts/external/vulkan-docs/src/proposals/ |
D | VK_EXT_image_compression_control.adoc | 25 …on may not support all possible compression rates and may not be able to use the requested compres… 26 …se a query to let applications understand what compression rates are available and what rates are … 36 … particular because implementations typically support a few different compression rates per format. 40 The more difficult question is how to describe the compression rates. Options that were considered: 119 …* `VK_IMAGE_COMPRESSION_FIXED_RATE_EXPLICIT_EXT` specifies that the fixed-rate compression rates a… 181 …ageFormatProperties2` and `VkSurfaceFormat2KHR` to query what compression rates are available for … 222 To query what rates the implementation supports: 241 // compressionProperties describes the supported compression rates 242 // this can be used to specify explicit compression rates when the image is created
|
D | VK_KHR_fragment_shading_rate.adoc | 23 …uniformly across the screen; though steps can be taken to apply different rates to different sets … 27 …le to modify the behavior of sample shading to be modifiable at different rates to solve this, mul… 68 …here are three rates at which the state can be set, rather than having these only set one at a tim… 71 The per-draw and per-triangle rates are first combined according to the first combiner operation, a… 247 === Available shading rates 249 To advertise precisely which shading rates are supported by an implementation, the following functi… 266 … list of supported fragment shading rates ordered from largest fragment size to smallest, with all… 267 Implementations must support the following rates: 279 Even if a shading rate advertises a given sample rate, valid sample rates are still subject to usua… 284 Each of the three rates is enabled by an independent feature: [all …]
|
/third_party/ffmpeg/libavutil/tests/ |
D | parseutils.c | 39 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/ |
D | EXT_fragment_shading_rate.txt | 72 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/ |
D | avresample.c | 176 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/ |
D | QCOM_shading_rate.txt | 54 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/ |
D | swresample.c | 103 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/gstreamer/gst_libav/ext/libav/ |
D | gstavcodecmap.c | 394 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/ |
D | driver_nl80211_capa.c | 1537 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 …]
|
D | driver_nl80211_scan.c | 336 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | driver_nl80211_scan.c | 339 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()
|
D | driver_nl80211_capa.c | 1753 mode->rates = os_calloc(mode->num_rates, sizeof(int)); in phy_info_rates() 1754 if (!mode->rates) in phy_info_rates() 1765 mode->rates[idx] = nla_get_u32( in phy_info_rates() 1997 if (modes[m].rates[i] > 200) { in wpa_driver_nl80211_postprocess_modes() 2015 os_free(modes[m].rates); in wpa_driver_nl80211_postprocess_modes() 2061 mode->rates = os_malloc(4 * sizeof(int)); in wpa_driver_nl80211_postprocess_modes() 2062 if (mode->rates == NULL) { in wpa_driver_nl80211_postprocess_modes() 2069 if (mode11g->rates[i] != 10 && mode11g->rates[i] != 20 && in wpa_driver_nl80211_postprocess_modes() 2070 mode11g->rates[i] != 55 && mode11g->rates[i] != 110) in wpa_driver_nl80211_postprocess_modes() 2072 mode->rates[mode->num_rates] = mode11g->rates[i]; in wpa_driver_nl80211_postprocess_modes() [all …]
|
D | driver_hostap.c | 1127 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/ |
D | alsa-util.c | 1418 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/ |
D | f_streamselect.c | 308 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()
|