/ohos5.0/foundation/arkui/ui_lite/frameworks/core/ |
H A D | render_manager.cpp | 81 static uint16_t frameCount = 0; in UpdateFPSByFixedTimeMethod() local 84 frameCount = 0; in UpdateFPSByFixedTimeMethod() 91 frameCount++; in UpdateFPSByFixedTimeMethod() 97 frameCount = 0; in UpdateFPSByFixedTimeMethod() 133 static int32_t frameCount = 0; in UpdateFPSByPreciseSamplingMethod() local 141 frameCount = 0; in UpdateFPSByPreciseSamplingMethod() 153 if (!isQueueFull && (frameCount == SAMPLE_NUMBER)) { in UpdateFPSByPreciseSamplingMethod() 156 frameCount %= SAMPLE_NUMBER; in UpdateFPSByPreciseSamplingMethod() 157 sumDuration -= deltaTimeQueue[frameCount]; in UpdateFPSByPreciseSamplingMethod() 159 deltaTimeQueue[frameCount++] = deltaTime; in UpdateFPSByPreciseSamplingMethod() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_object.h | 44 … ImageObject(ImageSourceInfo source, const Size& imageSize, int32_t frameCount, bool isSvg = false) 45 : imageSource_(source), imageSize_(imageSize), frameCount_(frameCount), isSvg_(isSvg) 66 void SetFrameCount(int32_t frameCount) in SetFrameCount() argument 68 frameCount_ = frameCount; in SetFrameCount() 129 … ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const sk_sp<SkSVGDOM>& skiaDom) in SvgSkiaImageObject() argument 130 : ImageObject(source, imageSize, frameCount, true), skiaDom_(skiaDom) in SvgSkiaImageObject() 157 : ImageObject(source, imageSize, frameCount, true), svgDom_(svgDom) in SvgImageObject() 186 : ImageObject(source, imageSize, frameCount), skData_(data) in StaticImageObject() 191 : ImageObject(source, imageSize, frameCount), data_(data) in StaticImageObject() 231 ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const sk_sp<SkData>& data); [all …]
|
H A D | image_object_animated.cpp | 30 int32_t frameCount, in AnimatedImageObject() argument 32 : ImageObject(source, imageSize, frameCount), skData_(data) in AnimatedImageObject() 38 int32_t frameCount, 40 : ImageObject(source, imageSize, frameCount), drawingData_(data) 145 …bject> CreateAnimatedImageObject(ImageSourceInfo source, const Size& imageSize, int32_t frameCount, in UploadToGpuForRender() argument 148 …bject> CreateAnimatedImageObject(ImageSourceInfo source, const Size& imageSize, int32_t frameCount, in UploadToGpuForRender() 152 return Referenced::MakeRefPtr<AnimatedImageObject>(source, imageSize, frameCount, data); in UploadToGpuForRender()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | window.cpp | 24 …& callback = [this](uint64_t nanoTimestamp, uint32_t frameCount) { OnVsync(nanoTimestamp, frameCou… in Window() argument 46 void Window::OnVsync(uint64_t nanoTimestamp, uint32_t frameCount) in OnVsync() argument 54 callback.callback_(nanoTimestamp, frameCount); in OnVsync()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_vsync_client_ohos.cpp | 64 void RSVsyncClientOhos::VsyncCallback(int64_t nanoTimestamp, int64_t frameCount) in VsyncCallback() argument 68 vsyncCallback_(nanoTimestamp, frameCount); in VsyncCallback() 72 void RSVsyncClientOhos::OnVsync(int64_t nanoTimestamp, int64_t frameCount, void* client) in OnVsync() argument 76 vsyncClient->VsyncCallback(nanoTimestamp, frameCount); in OnVsync()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-camera-kit/ |
H A D | _camera___capture_end_info.md | 21 | int64_t [frameCount](#framecount) | 帧数。 | 36 ### frameCount subsection 39 int64_t Camera_CaptureEndInfo::frameCount
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/apng/ |
H A D | apng_image_object.h | 32 int32_t frameCount, in ApngImageObject() argument 35 : ImageObject(source, imageSize, frameCount), skData_(data) in ApngImageObject() 44 int32_t frameCount, in ApngImageObject() argument 47 : ImageObject(source, imageSize, frameCount), drawingData_(data) in ApngImageObject()
|
/ohos5.0/foundation/multimedia/audio_lite/services/server/src/ |
H A D | audio_capturer_server.cpp | 175 size_t frameCount; in GetMinFrameCount() local 176 … bool ret = AudioCapturerImpl::GetMinFrameCount(sampleRate, channelCount, audioFormat, frameCount); in GetMinFrameCount() 178 WriteUint32(reply, frameCount); in GetMinFrameCount() 263 size_t frameCount; in GetMiniFrameCount() local 264 …bool ret = AudioCapturerImpl::GetMinFrameCount(sampleRate, channelCount, *audioFormat, frameCount); in GetMiniFrameCount() 266 WriteUint64(reply, frameCount); in GetMiniFrameCount() 276 uint64_t frameCount = capturer->GetFrameCount(); in GetFrameCount() local 278 WriteUint64(reply, frameCount); in GetFrameCount()
|
/ohos5.0/foundation/window/window_manager/previewer/src/ |
H A D | vsync_station.cpp | 76 void VsyncStation::VsyncCallbackInner(int64_t timestamp, int64_t frameCount) in VsyncCallbackInner() argument 86 callback->onCallback(timestamp, frameCount); in VsyncCallbackInner() 90 void VsyncStation::OnVsync(int64_t timestamp, int64_t frameCount, void* client) in OnVsync() argument 94 vsyncClient->VsyncCallbackInner(timestamp, frameCount); in OnVsync()
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/ |
H A D | videoenc_api11_sample.cpp | 110 enc_sample->frameCount++; in onEncInputParam() 121 … if (interval > 0 && enc_sample->frameCount > 0 && (enc_sample->frameCount % interval == 0)) { in onEncInputParam() 125 if (enc_sample->frameCount > useLtrIndex) { in onEncInputParam() 134 } else if (enc_sample->frameCount == useLtrIndex && enc_sample->frameCount > 0) { in onEncInputParam() 138 enc_sample->frameCount++; in onEncInputParam() 781 frameCount++; in RandomEOS() 864 if (frameCount % ltrParam.ltrInterval == 0) { in SetLTRParameter() 879 if (interval > 0 && frameCount > 0 && (frameCount % interval == 0)) { in SetLTRParameter() 883 if (frameCount > useLtrIndex) { in SetLTRParameter() 890 } else if (frameCount == useLtrIndex && frameCount > 0) { in SetLTRParameter() [all …]
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/audio/ |
H A D | _audio_effect_buffer.md | 20 | unsigned int [frameCount](#framecount) | 帧缓冲区中的帧计数 | 38 ### frameCount subsection 41 unsigned int AudioEffectBuffer::frameCount
|
/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/ |
H A D | _camera___capture_end_info.md | 21 | int64_t [frameCount](#framecount) | Number of frames captured. | 37 ### frameCount subsection 40 int64_t Camera_CaptureEndInfo::frameCount
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/image_provider/ |
H A D | mock_skia_image_data.cpp | 21 static int32_t frameCount { 0 }; variable 25 frameCount = length; in DrawingImageData() 63 return { SizeF(1, 1), frameCount, ImageRotateOrientation::UP }; in Parse()
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/sample/ |
H A D | dcamera_client_demo.h | 208 void OnCaptureEnded(const int32_t captureID, int32_t frameCount) const in OnCaptureEnded() argument 211 captureID, frameCount); in OnCaptureEnded() 251 void OnFrameEnded(const int32_t frameCount) const in OnFrameEnded() argument 253 DHLOGI("DemoDCameraPreviewCallback::OnFrameEnded frameCount: %{public}d", frameCount); in OnFrameEnded() 274 void OnFrameEnded(const int32_t frameCount) const in OnFrameEnded() argument 276 DHLOGI("DemoDCameraVideoCallback::OnFrameEnded frameCount: %{public}d", frameCount); in OnFrameEnded()
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/ |
H A D | hstream_repeat_callback_stub.cpp | 56 int32_t frameCount = data.ReadInt32(); in HandleOnFrameEnded() local 57 return OnFrameEnded(frameCount); in HandleOnFrameEnded() 76 captureEndedInfo.frameCount = data.ReadInt32(); in HandleOnDeferredVideoEnhancementInfo()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioutils/src/ |
H A D | audio_channel_blend.cpp | 73 uint32_t frameCount = 0; in ProcessWithBlendMode() local 74 frameCount = bufferSize / (channels_ * (format_ + 1)); in ProcessWithBlendMode() 77 ProcessBlendLRModeWithFormat<T>(buffer, frameCount, (AudioChannel)channels_); in ProcessWithBlendMode() 80 ProcessAllLeftModeWithFormat<T>(buffer, frameCount, (AudioChannel)channels_); in ProcessWithBlendMode() 83 ProcessAllRightModeWithFormat<T>(buffer, frameCount, (AudioChannel)channels_); in ProcessWithBlendMode()
|
/ohos5.0/base/telephony/call_manager/services/audio/src/ |
H A D | audio_player.cpp | 55 uint32_t frameCount; in InitRenderer() local 56 if (audioRenderer_->GetFrameCount(frameCount)) { in InitRenderer() 83 uint32_t frameCount; in InitRenderer() local 84 if (audioRenderer_->GetFrameCount(frameCount)) { in InitRenderer() 110 uint32_t frameCount; in InitCapturer() local 111 if (audioCapturer_->GetFrameCount(frameCount)) { in InitCapturer()
|
/ohos5.0/foundation/distributedhardware/distributed_camera/test/distributedcameraclienttest/ |
H A D | dcamera_client_demo.h | 208 void OnCaptureEnded(const int32_t captureID, int32_t frameCount) const in OnCaptureEnded() argument 211 captureID, frameCount); in OnCaptureEnded() 251 void OnFrameEnded(const int32_t frameCount) const in OnFrameEnded() argument 253 DHLOGI("DemoDCameraPreviewCallback::OnFrameEnded frameCount: %{public}d", frameCount); in OnFrameEnded() 274 void OnFrameEnded(const int32_t frameCount) const in OnFrameEnded() argument 276 DHLOGI("DemoDCameraVideoCallback::OnFrameEnded frameCount: %{public}d", frameCount); in OnFrameEnded()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/ |
H A D | rs_vsync_client_ohos_test.cpp | 43 cb = [](int64_t timestamp, int64_t frameCount) {}; in SetUpTestCase() argument 73 RSVsyncClient::VsyncCallback vsyncCallback = [](int64_t nanoTimestamp, int64_t frameCount) { in __anon957e897b0202() argument 94 RSVsyncClient::VsyncCallback vsyncCallback = [](int64_t nanoTimestamp, int64_t frameCount) { in __anon957e897b0302() argument
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | node_context_pool_manager_vk.cpp | 338 const uint64_t frameCount = device_.GetFrameCount(); in BeginBackendFrame() local 341 PLUGIN_ASSERT(frameIndexBack_ != frameCount); // prevent multiple calls per frame in BeginBackendFrame() 342 frameIndexBack_ = frameCount; in BeginBackendFrame() 364 const auto ageLimit = (frameCount < minAge) ? 0 : (frameCount - minAge); in BeginBackendFrame() 457 const uint64_t frameCount = device_.GetFrameCount(); in GetRenderPassData() local 479 iter->second.frameUseIndex = frameCount; in GetRenderPassData() 484 … cache.hashToElement[renderPassData.frameBufferHash] = { frameCount, renderPassData.framebuffer }; in GetRenderPassData() 498 iter->second.frameUseIndex = frameCount; in GetRenderPassData() 502 … cache.hashToElement[renderPassData.renderPassHash] = { frameCount, renderPassData.renderPass }; in GetRenderPassData()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_window.cpp | 43 …k_->onCallback = [weakTask = taskExecutor_, id = id_](int64_t timeStampNanos, int64_t frameCount) { in RosenWindow() argument 45 auto onVsync = [id, timeStampNanos, frameCount] { in RosenWindow() 58 … window->OnVsync(static_cast<uint64_t>(timeStampNanos), static_cast<uint64_t>(frameCount)); in RosenWindow() 265 void RosenWindow::OnVsync(uint64_t nanoTimestamp, uint32_t frameCount) in OnVsync() argument 267 Window::OnVsync(nanoTimestamp, frameCount); in OnVsync()
|
/ohos5.0/foundation/multimedia/audio_lite/services/impl/audio_source/ |
H A D | audio_source.cpp | 95 AudioCodecFormat audioFormat, size_t &frameCount) in GetMinFrameCount() argument 103 frameCount = 0; in GetMinFrameCount() 114 uint64_t frameCount = 0; in GetFrameCount() local 115 …ret = audioCapture_->attr.GetFrameCount(reinterpret_cast<AudioHandle>(audioCapture_), &frameCount); in GetFrameCount() 120 return frameCount; in GetFrameCount()
|
/ohos5.0/foundation/window/window_manager/wm/src/ |
H A D | vsync_station.cpp | 144 (int64_t timestamp, int64_t frameCount, void* client) { in RequestVsync() argument 146 sp->VsyncCallbackInner(timestamp, frameCount); in RequestVsync() 171 void VsyncStation::VsyncCallbackInner(int64_t timestamp, int64_t frameCount) in VsyncCallbackInner() argument 174 "OnVsyncCallback %" PRId64 ":%" PRId64, timestamp, frameCount); in VsyncCallbackInner() 189 callback->onCallback(timestamp, frameCount); in VsyncCallbackInner()
|
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/ |
H A D | test_common.cpp | 190 void TestPhotoOutputCallback::OnCaptureEnded(const int32_t captureID, const int32_t frameCount) con… in OnCaptureEnded() 193 " frameCount: %{public}d", testName_, captureID, frameCount); in OnCaptureEnded() 230 void TestPreviewOutputCallback::OnFrameEnded(const int32_t frameCount) const in OnFrameEnded() 233 testName_, frameCount); in OnFrameEnded() 256 void TestVideoOutputCallback::OnFrameEnded(const int32_t frameCount) const in OnFrameEnded() 259 testName_, frameCount); in OnFrameEnded()
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/ |
H A D | hstream_repeat_callback_proxy.cpp | 44 int32_t HStreamRepeatCallbackProxy::OnFrameEnded(int32_t frameCount) in OnFrameEnded() argument 52 data.WriteInt32(frameCount); in OnFrameEnded() 109 data.WriteInt32(captureEndedInfo.frameCount); in OnDeferredVideoEnhancementInfo()
|