/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | render_box.cpp | 1278 void RenderBox::SetSaturate(double rate) in SetSaturate() argument 1284 if (!NearEqual(saturate, rate)) { in SetSaturate()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/ |
H A D | audio_adapter_manager.cpp | 956 if (!audioModuleInfo.rate.empty()) { in UpdateCommonArgs() 957 args = "rate="; in UpdateCommonArgs() 958 args.append(audioModuleInfo.rate); in UpdateCommonArgs()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_property_drawable_bounds_geometry_test.cpp | 1013 std::optional<float> rate = std::optional<float>(1.f); in HWTEST_F() local 1014 properties.SetDynamicLightUpRate(rate); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/transaction/ |
H A D | rs_render_service_connection_stub.cpp | 617 int32_t rate = data.ReadInt32(); in OnRemoteRequest() local 618 SetScreenRefreshRate(id, sceneId, rate); in OnRemoteRequest()
|
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/ |
H A D | soundpool_napi.cpp | 748 CommonNapi::GetPropertyInt32(env, argv[PARAM1], "rate", asyncCtx->playParameters_.rate); in ParserPlayOptionFromJs() 767 MEDIA_LOGI("playParameters_ loop:%{public}d, rate:%{public}d, leftVolume:%{public}f, rightvolume:%{public}f," in ParserPlayOptionFromJs() 769 asyncCtx->playParameters_.rate, asyncCtx->playParameters_.leftVolume, in ParserPlayOptionFromJs()
|
/foundation/multimodalinput/input/frameworks/napi/input_device/src/ |
H A D | js_event_target.cpp | 1094 void JsEventTarget::EmitJsKeyboardRepeatRate(sptr<JsUtil::CallbackInfo> cb, int32_t rate) in EmitJsKeyboardRepeatRate() argument 1099 cb->data.keyboardRepeatRate = rate; in EmitJsKeyboardRepeatRate()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_dfile_transfer.c | 1029 const double rate = 1.0 * allFileSize / DFILE_MEGABYTES * MSEC_TICKS_PER_SEC / spendTime; in CalculateRecvRate() local 1030 DFILE_LOGI(TAG, "Trans#%u Receive time %u ms rate is %.2f MB/s", dFileTrans->transId, spendTime, rate); in CalculateRecvRate()
|
/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/pulseaudio/src/modules/raop/ |
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()
|
/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()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_common_bridge.cpp | 1283 ArkUI_Float32& rate, ArkUI_Float32& lightUpDegree, ArkUI_Float32& cubicCoeff, ArkUI_Float32& quadCoeff, in ParseDynamicBrightnessOption() 1295 rate = rateArg->ToNumber(vm)->Value(); in ParseDynamicBrightnessOption() 5008 double rate = 0.0; in SetBackgroundBrightness() local 5010 if (!ArkTSUtils::ParseJsDouble(vm, ratedArg, rate)) { in SetBackgroundBrightness() 5016 GetArkUINodeModifiers()->getCommonModifier()->setBackgroundBrightness(nativeNode, rate, lightUpDegree); in SetBackgroundBrightness() 5036 ArkUI_Float32 rate = 1.0f; in SetBackgroundBrightnessInternal() local 5044 ParseDynamicBrightnessOption(runtimeCallInfo, vm, rate, lightUpDegree, in SetBackgroundBrightnessInternal() 5047 nativeNode, rate, lightUpDegree, cubicCoeff, quadCoeff, saturation, in SetBackgroundBrightnessInternal() 5068 ArkUI_Float32 rate = 1.0f; in SetForegroundBrightness() local 5076 ParseDynamicBrightnessOption(runtimeCallInfo, vm, rate, lightUpDegre in SetForegroundBrightness() 1282 ParseDynamicBrightnessOption(ArkUIRuntimeCallInfo* runtimeCallInfo, EcmaVM* vm, ArkUI_Float32& rate, ArkUI_Float32& lightUpDegree, ArkUI_Float32& cubicCoeff, ArkUI_Float32& quadCoeff, ArkUI_Float32& saturation, std::vector<float>& posRGB, std::vector<float>& negRGB, ArkUI_Float32& fraction) ParseDynamicBrightnessOption() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | view_abstract.cpp | 2016 void ViewAbstract::SetDynamicLightUp(float rate, float lightUpDegree) in SetDynamicLightUp() argument 2021 ACE_UPDATE_RENDER_CONTEXT(DynamicLightUpRate, rate); in SetDynamicLightUp() 3571 void ViewAbstract::SetDynamicLightUp(FrameNode* frameNode, float rate, float lightUpDegree) in SetDynamicLightUp() argument 3573 ACE_UPDATE_NODE_RENDER_CONTEXT(DynamicLightUpRate, rate, frameNode); in SetDynamicLightUp()
|
/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...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | overlay_manager.cpp | 266 auto rate = (value - previewPattern->GetClipEndValue()) / distVal; in UpdatePreivewVisibleAreaByFrameWhenDisappear() local 273 auto curentClipAreaWidth = rate * (clipEndWidth - clipStartWidth) + clipStartWidth; in UpdatePreivewVisibleAreaByFrameWhenDisappear() 274 auto curentClipAreaHeight = rate * (clipEndHeight - clipStartHeight) + clipStartHeight; in UpdatePreivewVisibleAreaByFrameWhenDisappear() 278 roundRectInstance.SetRect(RectF(OffsetF(rate * clipOffset.GetX(), rate * clipOffset.GetY()), in UpdatePreivewVisibleAreaByFrameWhenDisappear() 280 roundRectInstance.SetCornerRadius((1 - rate) * radius); in UpdatePreivewVisibleAreaByFrameWhenDisappear()
|
/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...] |
/foundation/multimedia/audio_framework/services/audio_service/test/unittest/renderer_in_server_unit_test/src/ |
H A D | renderer_in_server_unit_test.cpp | 2000 int32_t rate = TEST_RATE; in HWTEST_F() local 2001 int32_t ret = rendererInServer->SetRate(rate); in HWTEST_F()
|
/foundation/multimedia/camera_lite/test/unittest/ |
H A D | camera_lite_test.cpp | 150 int32_t rate = 4096; in SampleCreateRecorder() local 176 if ((ret = recorder->SetVideoEncodingBitRate(sourceId, rate)) != SUCCESS) { in SampleCreateRecorder()
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | input_manager_impl.cpp | 1685 int32_t InputManagerImpl::SetKeyboardRepeatRate(int32_t rate) in SetKeyboardRepeatRate() argument 1693 return INPUT_DEVICE_IMPL.SetKeyboardRepeatRate(rate); in SetKeyboardRepeatRate()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_view_abstract.h | 516 static void SetDynamicLightUp(float rate, float lightUpDegree);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_context.h | 486 void OnDynamicLightUpRateUpdate(const float rate) override;
|
/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/hdi/ |
H A D | module_split_stream_sink.c | 87 "rate=<sample rate> " 134 "rate", 974 sample_attrs.sampleRate = (uint32_t) u->ss.rate; in InitRemoteSink()
|