/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_property_animation.cpp | 191 void RSRenderPropertyAnimation::UpdateAnimateVelocity(float frameInterval) in UpdateAnimateVelocity() argument 194 !lastAnimateValue_ || !property_ || ROSEN_EQ<float>(frameInterval, 0)) { in UpdateAnimateVelocity() 199 ProcessAnimateVelocityUnderAngleRotation(frameInterval); in UpdateAnimateVelocity() 205 animateVelocity_ = (currAnimateValue - lastAnimateValue_) * (1 / frameInterval); in UpdateAnimateVelocity() 212 void RSRenderPropertyAnimation::ProcessAnimateVelocityUnderAngleRotation(float frameInterval) in ProcessAnimateVelocityUnderAngleRotation() argument 231 if (ROSEN_EQ<float>(frameInterval, 0)) { in ProcessAnimateVelocityUnderAngleRotation() 235 animateVelocity_ = diffValue * (1 / frameInterval); in ProcessAnimateVelocityUnderAngleRotation()
|
H A D | rs_interpolator.cpp | 199 constexpr uint64_t frameInterval = 16666667; in Convert() local 200 …nt numAnim = static_cast<int>(std::ceil(static_cast<double>(duration * MS_TO_NS) / frameInterval)); in Convert()
|
H A D | rs_render_animation.cpp | 342 float frameInterval = (time - animationFraction_.GetLastFrameTime()) * 1.0f / NS_TO_S; in Animate() local 356 UpdateAnimateVelocity(frameInterval); in Animate()
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/src/smooth_zoom/ |
H A D | cubic_bezier.cpp | 38 const float& frameInterval) in GetZoomArray() argument 43 CHECK_ERROR_RETURN_RET(duration == 0 || frameInterval == 0, result); in GetZoomArray() 44 int arraySize = static_cast<int>(duration / frameInterval); in GetZoomArray() 46 "Error size, duration is:%{public}f, interval is:%{public}f", duration, frameInterval); in GetZoomArray() 48 float time = frameInterval * i / duration; in GetZoomArray()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/encoder/ |
H A D | video_encoder_sample.cpp | 87 ThreadSleep(info.threadSleepMode == THREAD_SLEEP_MODE_INPUT_SLEEP, info.frameInterval); in BufferInputThread() 105 ((info.frameInterval == 0) ? 1 : info.frameInterval) * 1000; // 1000: 1ms to us in SurfaceInputThread() 124 ThreadSleep(info.threadSleepMode == THREAD_SLEEP_MODE_INPUT_SLEEP, info.frameInterval); in SurfaceInputThread() 150 ThreadSleep(info.threadSleepMode == THREAD_SLEEP_MODE_OUTPUT_SLEEP, info.frameInterval); in OutputThread()
|
/ohos5.0/foundation/multimedia/camera_framework/test/fuzztest/cubicbezier_fuzzer/ |
H A D | cubic_bezier_fuzzer.cpp | 70 float frameInterval = data.ReadFloat(); in Test() local 71 fuzz->GetZoomArray(currentZoom, targetZoom, frameInterval); in Test()
|
/ohos5.0/foundation/multimedia/camera_framework/test/fuzztest/smoothzoom_fuzzer/ |
H A D | smooth_zoom_fuzzer.cpp | 73 float frameInterval = data.ReadFloat(); in Test() local 74 alg->GetZoomArray(currentZoom, targetZoom, frameInterval); in Test()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_render_property_animation.h | 67 void UpdateAnimateVelocity(float frameInterval) override; 69 void ProcessAnimateVelocityUnderAngleRotation(float frameInterval) override;
|
H A D | rs_render_animation.h | 212 virtual void UpdateAnimateVelocity(float frameInterval) {} in UpdateAnimateVelocity() argument 214 virtual void ProcessAnimateVelocityUnderAngleRotation(float frameInterval) {} in ProcessAnimateVelocityUnderAngleRotation() argument
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | audio-video-synchronization.md | 102 … std::this_thread::sleep_until(lastPushTime + std::chrono::microseconds(sampleInfo.frameInterval)); 148 if (waitTimeUs > sampleInfo.frameInterval + PER_SINK_TIME_THRESHOLD) { 149 waitTimeUs = sampleInfo.frameInterval + PER_SINK_TIME_THRESHOLD;
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/data_producer/data_producer_base/ |
H A D | data_producer_base.cpp | 55 … ((sampleInfo_->frameInterval <= 0) ? 1 : sampleInfo_->frameInterval) * 1000; // 1000: 1ms to us in ReadSample()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/helper/ |
H A D | arg_parser.cpp | 250 info.frameInterval = std::stol(value); in SetFrameInterval() 251 if (info.frameInterval < 0) { in SetFrameInterval() 252 info.frameInterval = 1000 / info.frameRate; // 1000ms in SetFrameInterval()
|
H A D | sample_helper.cpp | 119 info.frameInterval, BOOL_TO_STRING.at(info.needDumpOutput).c_str()); in PrintSampleInfo()
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/smooth_zoom/ |
H A D | izoom_algorithm.h | 29 const float& frameInterval) = 0;
|
H A D | cubic_bezier.h | 29 const float& frameInterval) override;
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/decoder/ |
H A D | video_decoder_sample.cpp | 83 ThreadSleep(info.threadSleepMode == THREAD_SLEEP_MODE_INPUT_SLEEP, info.frameInterval); in InputThread() 106 ThreadSleep(info.threadSleepMode == THREAD_SLEEP_MODE_OUTPUT_SLEEP, info.frameInterval); in OutputThread()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/common/include/ |
H A D | sample_info.h | 122 int32_t frameInterval = -1; member
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/sample/yuv_viewer/ |
H A D | yuv_viewer.cpp | 122 …adSleep(sampleInfo_->threadSleepMode == THREAD_SLEEP_MODE_INPUT_SLEEP, sampleInfo_->frameInterval); in InputThread()
|