/third_party/pulseaudio/src/modules/ |
H A D | module-zeroconf-publish.c | 310 txt = avahi_string_list_add_printf(txt, "rate=%u", s->ss.rate); in publish_service()
|
/third_party/pulseaudio/src/modules/raop/ |
H A D | raop-sink.c | 799 u->smoother = pa_smoother_2_new(5*PA_USEC_PER_SEC, pa_rtclock_now(), pa_frame_size(&ss), ss.rate); in pa_raop_sink_new()
|
H A D | raop-client.c | 1484 size = RTX_BUFFERING_SECONDS * ss.rate / FRAMES_PER_UDP_PACKET; in pa_raop_client_new() 1489 c->sync_interval = ss.rate / FRAMES_PER_UDP_PACKET; in pa_raop_client_new()
|
/drivers/hdf_core/framework/support/platform/src/hdmi/ |
H A D | hdmi_cec.c | 1166 void HdmiCecEncodingSetAudioRateMsg(struct HdmiCecMsg *msg, uint8_t rate) in HdmiCecEncodingSetAudioRateMsg() argument 1170 msg->data[HDMI_CEC_MSG_DATA_SECOND_ELEMENT] = rate; in HdmiCecEncodingSetAudioRateMsg()
|
/third_party/ffmpeg/libavcodec/ |
H A D | wmaprodec.c | 466 av_log(avctx, AV_LOG_ERROR, "invalid sample rate\n"); in decode_init() 505 int rate = get_rate(avctx); in decode_init() local 510 int offset = (subframe_len * 2 * critical_freq[x]) / rate + 2; in decode_init()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_hw.c | 768 silence_size = (pcm->rate * hw->drain_silence) / 1000; in snd_pcm_hw_drain() 783 silence_size += pcm->rate / 10; /* 1/10th of second */ in snd_pcm_hw_drain() 1850 [rate INT] # Restrict only to the given rate 1851 or [rate [INT INT]] # Restrict only to the given rate range (min max) 1943 if (strcmp(id, "rate") == 0) { in _snd_pcm_hw_open() 1950 SNDERR("array expected for rate compound"); in _snd_pcm_hw_open() 1955 SNDERR("Invalid type for rate.0"); in _snd_pcm_hw_open() 1963 SNDERR("Invalid type for rate in _snd_pcm_hw_open() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_hdcd.c | 875 int rate; /**< sampling rate */ member 1013 static void hdcd_reset(hdcd_state *state, unsigned rate, unsigned cdt_ms) in hdcd_reset() argument 1016 uint64_t sustain_reset = (uint64_t)cdt_ms * rate / 1000; in hdcd_reset() 1038 state->rate = rate; in hdcd_reset() 1181 int so = state->rate / f; in hdcd_analyze_prepare() 1190 samples[n] = TONEGEN16(state->_ana_snb, f, state->rate, 0.1); in hdcd_analyze_prepare()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/ |
H A D | vktAttachmentRateTests.cpp | 1010 // when shading rate is used it is defined as a second entry in attachmentInfo in startRendering() 1153 deUint32 rate = fragmentColor[0]; in verifyUsingAtomicChecks() local 1154 deUint32 fragmentRateX = 1 << ((rate / 4) & 3); in verifyUsingAtomicChecks() 1155 deUint32 fragmentRateY = 1 << (rate & 3); in verifyUsingAtomicChecks() 1157 // check if proper rate was used for fragment in verifyUsingAtomicChecks() 1260 // clear the shading rate attachment, then using a compute shader, set the shading rate attachment in runComputeShaderMode() 1261 // values to the desired rate using various atomic operations, then use it to draw a basic triangle in runComputeShaderMode() 1300 // calculate size of shading rate attachment in runComputeShaderMode() 1415 // Set up the image as a color attachment, and render rate t in runFragmentShaderMode() [all...] |
/third_party/vk-gl-cts/external/amber/src/src/amberscript/ |
H A D | parser.cc | 1444 InputRate rate = InputRate::kVertex; in ParsePipelineVertexData() local 1455 return Result("missing input rate value for RATE"); in ParsePipelineVertexData() 1457 rate = InputRate::kInstance; in ParsePipelineVertexData() 1498 pipeline->AddVertexBuffer(buffer, location, rate, format, offset, stride); in ParsePipelineVertexData()
|
/third_party/ffmpeg/libavformat/ |
H A D | mxfenc.c | 24 * signal_standard, color_siting, store_user_comments, sample rate and klv_fill_key version 351 { 0x3D03, {0x06,0x0E,0x2B,0x34,0x01,0x01,0x01,0x05,0x04,0x02,0x03,0x01,0x01,0x01,0x00,0x00}}, /* Audio sampling rate */ 412 int content_package_rate; ///< content package rate in system element, see SMPTE 326M 865 // write edit rate in mxf_write_track() 869 avio_wb32(pb, mxf->tc.rate.num); in mxf_write_track() 870 avio_wb32(pb, mxf->tc.rate.den); in mxf_write_track() 1028 // write sample rate in mxf_write_multi_descriptor() 1400 // bit rate in mxf_write_mpegvideo_desc() 1446 // write audio sampling rate in mxf_write_generic_sound_common() 1765 // index edit rate in mxf_write_index_table_segment() [all...] |
H A D | mxfdec.c | 147 struct AVRational rate; member 1080 mxf_timecode->rate = (AVRational){avio_rb16(pb), 1}; in mxf_read_timecode_component() 2345 "Invalid edit rate (%d/%d) found on structural" in mxf_parse_physical_source_package() 2357 /* scale sourceclip start_position to match physical track edit rate */ in mxf_parse_physical_source_package() 2364 if (av_timecode_init(&tc, mxf_tc->rate, flags, start_position + mxf_tc->start_frame, mxf->fc) == 0) { in mxf_parse_physical_source_package() 2621 if (av_timecode_init(&tc, mxf_tc->rate, flags, mxf_tc->start_frame, mxf->fc) == 0) { in mxf_parse_structural_metadata() 2638 if (av_timecode_init(&tc, mxf_tc->rate, flags, mxf_tc->start_frame, mxf->fc) == 0) { in mxf_parse_structural_metadata() 2737 "Invalid edit rate (%d/%d) found on stream #%d, " in mxf_parse_structural_metadata() 2943 av_log(mxf->fc, AV_LOG_WARNING, "invalid sample rate (%d/%d) " in mxf_parse_structural_metadata() 3811 "sample rate ( in mxf_compute_sample_count() [all...] |
/third_party/mesa3d/include/GLES2/ |
H A D | gl2ext.h | 3550 typedef void (GL_APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint entry, GLenum *rate); 3551 typedef void (GL_APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) (GLenum rate, GLuint samples, GLuint index, GLint *location); 3555 typedef void (GL_APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) (GLenum rate, GLuint samples, const GLint *locations); 3558 GL_APICALL void GL_APIENTRY glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum *rate); 3559 GL_APICALL void GL_APIENTRY glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint *location); 3563 GL_APICALL void GL_APIENTRY glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint *locations);
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pBufferDataUploadTests.cpp | 525 // memcpy have used with the median transfer rate. in medianTimeMemcpy() 695 // median rate in calculateBasicStatistics() 1728 << tcu::TestLog::Float("MedianTransfer", "Median transfer rate", "MB / s", QP_KEY_TAG_PERFORMANCE, stats.medianRate / 1024.0f / 1024.0f) in analyzeSampleResults() 1771 << tcu::TestLog::Float("ApproximatedTransferRate", "Approximated transfer rate", "MB / s", QP_KEY_TAG_PERFORMANCE, approximatedTransferRate / 1024.0f / 1024.0f) in analyzeSampleResults() 1772 << tcu::TestLog::Float("ApproximatedTransferRateNoConstant", "Approximated transfer rate without constant cost", "MB / s", QP_KEY_TAG_PERFORMANCE, approximatedTransferRateNoConstant / 1024.0f / 1024.0f) in analyzeSampleResults() 1774 << tcu::TestLog::Float("SampleMedianTransfer", "Median transfer rate", "MB / s", QP_KEY_TAG_PERFORMANCE, resultStats.medianRate / 1024.0f / 1024.0f); in analyzeSampleResults() 1777 // return approximated transfer rate in analyzeSampleResults() 1838 << tcu::TestLog::Float("ApproximatedProcessRate", "Approximated processing rate", "MB / s", QP_KEY_TAG_PERFORMANCE, approximatedProcessingRate / 1024.0f / 1024.0f) in analyzeSampleResults() 1839 << tcu::TestLog::Float("ApproximatedProcessRateNoConstant", "Approximated processing rate without constant cost", "MB / s", QP_KEY_TAG_PERFORMANCE, approximatedProcessingRateNoConstant / 1024.0f / 1024.0f) in analyzeSampleResults() 1841 << tcu::TestLog::Float("SampleMedianProcess", "Median processing rate", "M in analyzeSampleResults() [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_config.h | 150 constexpr auto SHRPX_OPT_READ_RATE = StringRef::from_lit("read-rate"); 152 constexpr auto SHRPX_OPT_WRITE_RATE = StringRef::from_lit("write-rate"); 155 StringRef::from_lit("worker-read-rate"); 159 StringRef::from_lit("worker-write-rate"); 951 size_t rate; member
|
H A D | shrpx_config.cc | 3320 return parse_uint_with_unit(&config->conn.upstream.ratelimit.read.rate, opt, in parse_config() 3326 return parse_uint_with_unit(&config->conn.upstream.ratelimit.write.rate, in parse_config()
|
H A D | shrpx.cc | 2553 --read-rate=<SIZE> in print_help() 2554 Set maximum average read rate on frontend connection. in print_help() 2555 Setting 0 to this option means read rate is unlimited. in print_help() 2557 << config->conn.upstream.ratelimit.read.rate << R"( in print_help() 2564 --write-rate=<SIZE> in print_help() 2565 Set maximum average write rate on frontend connection. in print_help() 2566 Setting 0 to this option means write rate is unlimited. in print_help() 2568 << config->conn.upstream.ratelimit.write.rate << R"( in print_help() 2575 --worker-read-rate=<SIZE> in print_help() 2576 Set maximum average read rate o in print_help() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | ctrl_iface_ap.c | 837 iface->current_rates[j].rate / 5); in hostapd_ctrl_iface_status()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | ctrl_iface_ap.c | 781 iface->current_rates[j].rate / 5); in hostapd_ctrl_iface_status()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | protocol-native.c | 4031 uint32_t rate; in command_update_stream_sample_rate() local 4037 pa_tagstruct_getu32(t, &rate) < 0 || in command_update_stream_sample_rate() 4044 CHECK_VALIDITY(c->pstream, pa_sample_rate_valid(rate), tag, PA_ERR_INVALID); in command_update_stream_sample_rate() 4053 pa_sink_input_set_rate(s->sink_input, rate); in command_update_stream_sample_rate() 4062 pa_source_output_set_rate(s->source_output, rate); in command_update_stream_sample_rate()
|
/third_party/glfw/src/ |
H A D | wl_window.c | 1860 int32_t rate, in keyboardHandleRepeatInfo() 1866 _glfw.wl.keyRepeatRate = rate; in keyboardHandleRepeatInfo() 1858 keyboardHandleRepeatInfo(void* userData, struct wl_keyboard* keyboard, int32_t rate, int32_t delay) keyboardHandleRepeatInfo() argument
|
/third_party/node/deps/v8/src/codegen/ |
H A D | compiler.cc | 1447 NestedTimedHistogram* rate = parse_info->flags().is_eval() in CompileToplevel() local 1450 NestedTimedHistogramScope timer(rate); in CompileToplevel()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_fs.cpp | 1471 const fs_builder abld = bld.annotate("compute fragment shading rate"); 1472 fs_reg rate = abld.vgrf(BRW_REGISTER_TYPE_UD); 1482 * rate while the SPIR-V built-in is the enum value that has the shading 1483 * rate encoded as a bitfield. Fortunately, the bitfield value is just 1484 * the shading rate divided by two and shifted. 1498 abld.OR(rate, int_rate_x, int_rate_y); 1500 abld.MOV(rate, brw_imm_ud(0)); 1503 return rate;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineMultisampleTests.cpp | 1078 for (const auto& rate : supportedFragmentShadingRates) in checkFragmentShadingRateRequirements() 1080 if ((rate.fragmentSize.width == 2u) && in checkFragmentShadingRateRequirements() 1081 (rate.fragmentSize.height == 2u) && in checkFragmentShadingRateRequirements() 1082 (rate.sampleCounts & sampleCount)) in checkFragmentShadingRateRequirements() 2016 // When FSR coverage is enabled the tests uses a pipeline FSR rate of {2,2}, 3028 // Additionaly when FSR coverage is enabled the tests uses a pipeline FSR rate of { 2,2 } 4837 bool useFragmentShadingRate; // Use pipeline fragment shading rate. 4928 TCU_THROW(NotSupportedError, "Variable multisample rate not supported"); 4933 TCU_THROW(NotSupportedError, "Sample rate shading is not supported"); 5276 // Graphics pipelines with variable rate bu [all...] |
/third_party/skia/src/opts/ |
H A D | SkRasterPipeline_opts.h | 1294 STAGE(dither, const float* rate) { 1317 r += *rate*dither; 1318 g += *rate*dither; 1319 b += *rate*dither;
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineMultisampleTests.cpp | 1075 for (const auto& rate : supportedFragmentShadingRates) in checkFragmentShadingRateRequirements() 1077 if ((rate.fragmentSize.width == 2u) && in checkFragmentShadingRateRequirements() 1078 (rate.fragmentSize.height == 2u) && in checkFragmentShadingRateRequirements() 1079 (rate.sampleCounts & sampleCount)) in checkFragmentShadingRateRequirements() 1964 // When FSR coverage is enabled the tests uses a pipeline FSR rate of {2,2}, 2937 // Additionaly when FSR coverage is enabled the tests uses a pipeline FSR rate of { 2,2 } 4568 bool useFragmentShadingRate; // Use pipeline fragment shading rate. 4659 TCU_THROW(NotSupportedError, "Variable multisample rate not supported"); 4664 TCU_THROW(NotSupportedError, "Sample rate shading is not supported"); 5003 // Graphics pipelines with variable rate bu [all...] |