Home
last modified time | relevance | path

Searched refs:frameCount (Results 1 - 25 of 193) sorted by relevance

12345678

/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_object.h44 ImageObject(ImageSourceInfo source, const Size& imageSize, int32_t frameCount, bool isSvg = false) in ImageObject() argument
45 : imageSource_(source), imageSize_(imageSize), frameCount_(frameCount), isSvg_(isSvg) in ImageObject()
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()
130 : ImageObject(source, imageSize, frameCount, true), skiaDom_(skiaDom) in SvgSkiaImageObject()
156 SvgImageObject(ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const RefPtr<SvgDom>& svgDom) in SvgImageObject() argument
157 : ImageObject(source, imageSize, frameCount, true), svgDom_(svgDom) in SvgImageObject()
185 StaticImageObject(ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const sk_sp<SkData>& data) in StaticImageObject() argument
186 : ImageObject(source, imageSize, frameCount), skData in StaticImageObject()
128 SvgSkiaImageObject( ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const sk_sp<SkSVGDOM>& skiaDom) SvgSkiaImageObject() argument
[all...]
H A Dimage_object_animated.cpp30 int32_t frameCount, in AnimatedImageObject()
32 : ImageObject(source, imageSize, frameCount), skData_(data) in AnimatedImageObject()
38 int32_t frameCount, in AnimatedImageObject()
40 : ImageObject(source, imageSize, frameCount), drawingData_(data) in AnimatedImageObject()
145 RefPtr<ImageObject> CreateAnimatedImageObject(ImageSourceInfo source, const Size& imageSize, int32_t frameCount, in UploadToGpuForRender() argument
148 RefPtr<ImageObject> CreateAnimatedImageObject(ImageSourceInfo source, const Size& imageSize, int32_t frameCount, in UploadToGpuForRender()
152 return Referenced::MakeRefPtr<AnimatedImageObject>(source, imageSize, frameCount, data); in UploadToGpuForRender()
27 AnimatedImageObject( ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const sk_sp<SkData>& data) AnimatedImageObject() argument
35 AnimatedImageObject( ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const std::shared_ptr<RSData>& data) AnimatedImageObject() argument
/foundation/arkui/ui_lite/frameworks/core/
H A Drender_manager.cpp81 static uint16_t frameCount = 0; in UpdateFPSByFixedTimeMethod() local
84 frameCount = 0; in UpdateFPSByFixedTimeMethod()
91 frameCount++; in UpdateFPSByFixedTimeMethod()
95 fps_ = 1.f * frameCount / (curTime - lastTime) * MILLISECONDS_PER_SECOND; 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()
[all...]
/foundation/arkui/ace_engine/frameworks/core/common/
H A Dwindow.cpp24 auto&& callback = [this](uint64_t nanoTimestamp, uint32_t frameCount) { OnVsync(nanoTimestamp, frameCount); }; in Window()
46 void Window::OnVsync(uint64_t nanoTimestamp, uint32_t frameCount) in OnVsync() argument
54 callback.callback_(nanoTimestamp, frameCount); in OnVsync()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_vsync_client_ohos.cpp64 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()
H A Drs_vsync_client_ohos.h38 static void OnVsync(int64_t nanoTimestamp, int64_t frameCount, void* client);
40 void VsyncCallback(int64_t nanoTimestamp, int64_t frameCount);
/foundation/arkui/ace_engine/test/mock/core/image_provider/
H A Dmock_skia_image_data.cpp20 static int32_t frameCount { 0 };
24 frameCount = length; in DrawingImageData()
62 return { SizeF(1, 1), frameCount }; in Parse()
/foundation/arkui/ace_engine/frameworks/core/image/apng/
H A Dapng_image_object.h32 int32_t frameCount, in ApngImageObject()
35 : ImageObject(source, imageSize, frameCount), skData_(data) in ApngImageObject()
44 int32_t frameCount,
47 : ImageObject(source, imageSize, frameCount), drawingData_(data)
29 ApngImageObject( ImageSourceInfo source, const Size& imageSize, int32_t frameCount, const sk_sp<SkData>& data, const RefPtr<PNGImageDecoder>& decoder) ApngImageObject() argument
/foundation/window/window_manager/previewer/src/
H A Dvsync_station.cpp76 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()
/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/
H A Dimage_packer_native.cpp68 int32_t frameCount; member
355 uint32_t frameCount) in OH_PackingOptionsForSequence_SetFrameCount()
360 options->frameCount = frameCount; in OH_PackingOptionsForSequence_SetFrameCount()
366 uint32_t *frameCount) in OH_PackingOptionsForSequence_GetFrameCount()
368 if (options == nullptr || frameCount == nullptr) { in OH_PackingOptionsForSequence_GetFrameCount()
371 *frameCount = static_cast<uint32_t>(options->frameCount); in OH_PackingOptionsForSequence_GetFrameCount()
384 if (options->frameCount > options->delayTimeListLength) { in OH_PackingOptionsForSequence_SetDelayTimeList()
385 for (uint32_t i = delayTimeListLength; i < options->frameCount; in OH_PackingOptionsForSequence_SetDelayTimeList()
354 OH_PackingOptionsForSequence_SetFrameCount(OH_PackingOptionsForSequence *options, uint32_t frameCount) OH_PackingOptionsForSequence_SetFrameCount() argument
365 OH_PackingOptionsForSequence_GetFrameCount(OH_PackingOptionsForSequence *options, uint32_t *frameCount) OH_PackingOptionsForSequence_GetFrameCount() argument
[all...]
/foundation/multimedia/audio_lite/services/server/src/
H A Daudio_capturer_server.cpp175 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()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/
H A Drs_vsync_client_ohos_test.cpp43 cb = [](int64_t timestamp, int64_t frameCount) {}; in SetUpTestCase()
73 RSVsyncClient::VsyncCallback vsyncCallback = [](int64_t nanoTimestamp, int64_t frameCount) { in HWTEST_F()
94 RSVsyncClient::VsyncCallback vsyncCallback = [](int64_t nanoTimestamp, int64_t frameCount) { in HWTEST_F()
/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/
H A Dhstream_repeat_callback_stub.cpp56 int32_t frameCount = data.ReadInt32(); in HandleOnFrameEnded() local
57 return OnFrameEnded(frameCount); in HandleOnFrameEnded()
76 captureEndedInfo.frameCount = data.ReadInt32(); in HandleOnDeferredVideoEnhancementInfo()
/foundation/multimodalinput/input/service/hardware_cursor_pointer_manager/src/
H A Dhardware_cursor_pointer_manager.cpp98 int32_t HardwareCursorPointerManager::GetCursorStats(uint32_t &frameCount, uint32_t &vsyncCount) in GetCursorStats() argument
102 if (powerInterface_->GetHardwareCursorStats(devId_, frameCount, vsyncCount) != in GetCursorStats()
107 MMI_HILOGD("Get hardware cursor stats, frameCount:%{private}d, vsyncCount:%{private}d", frameCount, vsyncCount); in GetCursorStats()
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/
H A Dimage_object.cpp54 void ImageObject::SetFrameCount(int32_t frameCount) in SetFrameCount() argument
56 frameCount_ = frameCount; in SetFrameCount()
/foundation/multimedia/camera_framework/services/camera_service/binder/base/include/
H A Distream_repeat_callback.h38 int frameCount; member
47 virtual int32_t OnFrameEnded(int32_t frameCount) = 0;
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/src/callback/
H A Ddcamera_preview_callback.cpp33 void DCameraPreviewCallback::OnFrameEnded(const int32_t frameCount) const in OnFrameEnded()
35 DHLOGI("enter, frameCount: %{public}d", frameCount); in OnFrameEnded()
H A Ddcamera_video_callback.cpp32 void DCameraVideoCallback::OnFrameEnded(const int32_t frameCount) const in OnFrameEnded()
34 DHLOGI("enter, frameCount: %{public}d", frameCount); in OnFrameEnded()
/foundation/arkui/ace_engine/test/unittest/core/common/ace_engine/
H A Dwindow_test.cpp81 uint32_t frameCount = 10; in HWTEST_F() local
86 window.OnVsync(nanoTimestamp, frameCount); in HWTEST_F()
/foundation/multimodalinput/input/test/fuzztest/gethardwarecursorstats_fuzzer/
H A Dgethardwarecursorstats_fuzzer.cpp49 uint32_t frameCount = 2; in GetHardwareCursorStatsFuzzTest() local
51 InputManager::GetInstance()->GetHardwareCursorStats(frameCount, vsyncCount); in GetHardwareCursorStatsFuzzTest()
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/
H A Dvideoenc_api11_sample.cpp106 if (enc_sample->frameCount % enc_sample->ltrParam.ltrInterval == 0) { in onEncInputParam()
110 enc_sample->frameCount++; in onEncInputParam()
121 if (interval > 0 && enc_sample->frameCount > 0 && (enc_sample->frameCount % interval == 0)) { in onEncInputParam()
122 useLtrIndex = enc_sample->frameCount / interval * interval; 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()
778 if (enable_random_eos && random_eos == frameCount) { in RandomEOS()
[all...]
/foundation/multimedia/audio_framework/frameworks/native/audioutils/src/
H A Daudio_channel_blend.cpp73 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()
/foundation/multimedia/audio_lite/services/impl/audio_source/
H A Daudio_source.cpp95 AudioCodecFormat audioFormat, size_t &frameCount) in GetMinFrameCount()
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()
94 GetMinFrameCount(int32_t sampleRate, int32_t channelCount, AudioCodecFormat audioFormat, size_t &frameCount) GetMinFrameCount() argument
/foundation/window/window_manager/wm/src/
H A Dvsync_station.cpp144 (int64_t timestamp, int64_t frameCount, void* client) { in RequestVsync()
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()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsvsyncclientohos_fuzzer/
H A Drsvsyncclientohos_fuzzer.cpp66 int64_t frameCount = GetData<int64_t>(); in DoSomethingInterestingWithMyAPI() local
70 RSVsyncClientOhos::OnVsync(nanoTimestamp, frameCount, &rsVsyncClientOhos); in DoSomethingInterestingWithMyAPI()

Completed in 10 milliseconds

12345678