/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_realtime_refresh_rate_manager.cpp | 62 RS_TRACE_BEGIN("RSRealtimeRefreshRateManager:Cal draw fps");
in SetShowRefreshRateEnabled() 64 uint32_t fps = std::round(realtimeFrameCount * static_cast<float>(NS_PER_S_) / diff.count());
in SetShowRefreshRateEnabled() 65 fps = std::max(1u, fps);
in SetShowRefreshRateEnabled() 66 if (fps <= IDLE_FPS_THRESHOLD_) {
in SetShowRefreshRateEnabled() 67 fps = 1;
in SetShowRefreshRateEnabled() 69 currRealtimeRefreshRate_ = fps;
in SetShowRefreshRateEnabled()
|
H A D | rs_uni_hwc_prevalidate_util.cpp | 101 RSSurfaceRenderNode::SharedPtr node, GraphicTransformType transform, uint32_t fps, RequestLayerInfo &info) in CreateSurfaceNodeLayerInfo() 116 info.fps = fps; in CreateSurfaceNodeLayerInfo() 131 " usage: %{public}" PRIu64 ", format: %{public}d, transform: %{public}d, fps: %{public}d", in CreateSurfaceNodeLayerInfo() 134 zorder, info.usage, info.format, info.transform, fps); in CreateSurfaceNodeLayerInfo() 152 RSDisplayRenderNode::SharedPtr node, const ScreenInfo &screenInfo, uint32_t fps, RequestLayerInfo &info) in CreateDisplayNodeLayerInfo() 173 info.fps = fps; in CreateDisplayNodeLayerInfo() 178 " usage: %{public}" PRIu64 ", format: %{public}d, transform: %{public}d, fps: %{public}d", in CreateDisplayNodeLayerInfo() 181 zorder, info.usage, info.format, info.transform, fps); in CreateDisplayNodeLayerInfo() 100 CreateSurfaceNodeLayerInfo(uint32_t zorder, RSSurfaceRenderNode::SharedPtr node, GraphicTransformType transform, uint32_t fps, RequestLayerInfo &info) CreateSurfaceNodeLayerInfo() argument 151 CreateDisplayNodeLayerInfo(uint32_t zorder, RSDisplayRenderNode::SharedPtr node, const ScreenInfo &screenInfo, uint32_t fps, RequestLayerInfo &info) CreateDisplayNodeLayerInfo() argument 185 CreateUIFirstLayerInfo( RSSurfaceRenderNode::SharedPtr node, GraphicTransformType transform, uint32_t fps, RequestLayerInfo &info) CreateUIFirstLayerInfo() argument 210 CreateRCDLayerInfo( RSRcdSurfaceRenderNode::SharedPtr node, const ScreenInfo &screenInfo, uint32_t fps, RequestLayerInfo &info) CreateRCDLayerInfo() argument [all...] |
H A D | rs_uni_hwc_prevalidate_util.h | 52 uint32_t fps = 120; member 72 RSSurfaceRenderNode::SharedPtr node, GraphicTransformType transform, uint32_t fps, RequestLayerInfo &info); 74 RSDisplayRenderNode::SharedPtr node, const ScreenInfo &screenInfo, uint32_t fps, RequestLayerInfo &info); 76 RSRcdSurfaceRenderNode::SharedPtr node, const ScreenInfo &screenInfo, uint32_t fps, RequestLayerInfo &info); 78 RSSurfaceRenderNode::SharedPtr node, GraphicTransformType transform, uint32_t fps, RequestLayerInfo &info);
|
/foundation/distributedhardware/distributed_screen/services/common/test/unittest/utils/ |
H A D | video_param_test.cpp | 114 double fps = 1.0; in HWTEST_F() local 115 videoParam_->SetFps(fps); in HWTEST_F() 117 EXPECT_EQ(fps, actual); in HWTEST_F() 157 double fps = 30.0; in HWTEST_F() local 166 videoParam.SetFps(fps); in HWTEST_F() 189 double fps = 30.0; in HWTEST_F() local 198 videoParam.SetFps(fps); in HWTEST_F() 220 double fps = 30.0; in HWTEST_F() local 234 j[KEY_FPS] = fps; in HWTEST_F()
|
/foundation/resourceschedule/qos_manager/common/src/ |
H A D | config_reader.cpp | 37 const std::string XML_TAG_FPS = "fps"; 151 CONCUR_LOGE("ParsePowerMode:: fps is null or invalid!"); in ParsePowerMode() 236 int ConfigReader::GetDegratationFps(int fps) in GetDegratationFps() argument 238 if (degradationFpsMap_.find(fps) == degradationFpsMap_.end()) { in GetDegratationFps() 239 return fps + FPS_OFFSET; in GetDegratationFps() 241 return degradationFpsMap_[fps] + FPS_OFFSET; in GetDegratationFps() 244 bool ConfigReader::IsValidFps(const std::string& fps) in IsValidFps() argument 246 if (fps == XML_TAG_FPS_HIGH || fps == XML_TAG_FPS_MEDIUM || fps in IsValidFps() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/frame_analyzer/src/ |
H A D | frame_painter.cpp | 63 // normal fps line: alpha: 0xbf, green #00ff00 in Draw() 66 // slow fps line: alpha: 0xbf, red #ff0000 in Draw() 70 void FramePainter::DrawFPSLine(Drawing::Canvas &canvas, uint32_t fps, double thickness, uint32_t color) in DrawFPSLine() argument 72 if (fps == 0) { in DrawFPSLine() 81 auto bottom = OneSecondInMs / fps * heightPerMs; in DrawFPSLine() 93 uint32_t width, uint32_t height, uint32_t fps) in GenerateTimeBars() 106 if (fps != 0) { in GenerateTimeBars() 107 isHeavy = SumTimesInMs(*rit) >= (OneSecondInMs / fps); in GenerateTimeBars() 92 GenerateTimeBars( uint32_t width, uint32_t height, uint32_t fps) GenerateTimeBars() argument
|
/foundation/graphic/graphic_2d/rosen/modules/frame_analyzer/export/ |
H A D | frame_painter.h | 45 void DrawFPSLine(Drawing::Canvas &canvas, uint32_t fps, double thickness, uint32_t color); 46 std::vector<struct TimeBar> GenerateTimeBars(uint32_t width, uint32_t height, uint32_t fps);
|
/foundation/resourceschedule/qos_manager/common/include/ |
H A D | config_reader.h | 33 int GetDegratationFps(int fps); 36 bool IsValidFps(const std::string& fps);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_hwc_prevalidate_util_test.cpp | 55 ASSERT_EQ(info.fps, DEFAULT_FPS); in HWTEST_F() 76 ASSERT_EQ(info.fps, DEFAULT_FPS); in HWTEST_F() 92 ASSERT_EQ(info.fps, DEFAULT_FPS); in HWTEST_F() 111 ASSERT_EQ(info.fps, DEFAULT_FPS); in HWTEST_F()
|
/foundation/distributedhardware/distributed_screen/services/common/utils/src/ |
H A D | video_param.cpp | 75 void VideoParam::SetFps(double fps) in SetFps() argument 77 fps_ = fps; in SetFps()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/media_manager/ |
H A D | reader.cpp | 196 mediaInfo->codecInfo.fps = FixFPS(doubleVal); in GetTrackMediaInfo() 201 "fps: %{public}d, rotation: %{public}d, frame count: %{public}d, mime: %{public}s, isHdrvivid: %{public}d", in GetTrackMediaInfo() 204 static_cast<long long>(mediaInfo->codecInfo.bitRate), mediaInfo->codecInfo.fps, mediaInfo->codecInfo.rotation, in GetTrackMediaInfo() 209 inline int32_t Reader::FixFPS(const double fps) in FixFPS() argument 211 return fps < static_cast<double>(FPS_30) * FACTOR ? FPS_30 : FPS_60; in FixFPS()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/ |
H A D | camera_output_capability.cpp | 49 Profile::Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId) in Profile() argument 50 : format_(format), size_(size), fps_(fps), abilityId_(abilityId), specId_(0) {} in Profile() 51 Profile::Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId, int32_t specId) in Profile() argument 52 : format_(format), size_(size), fps_(fps), abilityId_(abilityId), specId_(specId) {} in Profile()
|
/foundation/multimedia/media_utils_lite/hals/ |
H A D | hal_media.h | 37 uint32_t fps;
member
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/media_manager/ |
H A D | reader.h | 47 static int32_t FixFPS(const double fps);
|
H A D | media_format.h | 83 int32_t fps; member
|
/foundation/distributedhardware/distributed_screen/services/common/utils/include/ |
H A D | video_param.h | 37 void SetFps(double fps);
|
/foundation/graphic/graphic_2d/rosen/test/hyper_graphic_manager/unittest/ |
H A D | hgm_multi_app_strategy_test.cpp | 51 int32_t fps; member 86 pkgParams_.push_back({ .pkgName = pkgName0, .fps = fps0, .pid = pid0, in SetUp() 92 pkgParams_.push_back({ .pkgName = pkgName1, .fps = fps1, .pid = pid1, in SetUp() 457 ASSERT_EQ(strategyConfig.min, pkgParam.fps); in HWTEST_F() 458 ASSERT_EQ(strategyConfig.max, pkgParam.fps); in HWTEST_F()
|
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/ |
H A D | camera_output_capability.h | 76 Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId); 77 Profile(CameraFormat format, Size size, Fps fps, std::vector<uint32_t> abilityId, int32_t specId);
|
/foundation/multimedia/player_framework/services/services/recorder/ipc/ |
H A D | i_standard_recorder_service.h | 41 virtual int32_t SetCaptureRate(int32_t sourceId, double fps) in SetCaptureRate() argument 44 (void)fps; in SetCaptureRate()
|
/foundation/multimedia/media_lite/frameworks/recorder_lite/ |
H A D | recorder.cpp | 72 int32_t Recorder::SetCaptureRate(int32_t sourceId, double fps) in SetCaptureRate() argument 78 return client_->SetCaptureRate(sourceId, fps); in SetCaptureRate()
|
/foundation/multimedia/media_lite/frameworks/recorder_lite/passthrough/ |
H A D | recorder_client.cpp | 78 int32_t Recorder::RecorderClient::SetCaptureRate(int32_t sourceId, double fps) in SetCaptureRate() argument 84 return impl_->SetCaptureRate(sourceId, fps); in SetCaptureRate()
|
H A D | recorder_client.h | 32 int32_t SetCaptureRate(int32_t sourceId, double fps);
|
/foundation/multimedia/media_lite/frameworks/recorder_lite/binder/ |
H A D | recorder_client.h | 33 int32_t SetCaptureRate(int32_t sourceId, double fps);
|
/foundation/multimedia/player_framework/frameworks/native/recorder/ |
H A D | recorder_impl.cpp | 131 int32_t RecorderImpl::SetCaptureRate(int32_t sourceId, double fps) in SetCaptureRate() argument 134 "fps is %{public}lf", FAKE_POINTER(this), sourceId, fps); in SetCaptureRate() 136 return recorderService_->SetCaptureRate(sourceId, fps); in SetCaptureRate()
|
/foundation/multimedia/media_lite/interfaces/kits/recorder_lite/ |
H A D | recorder.h | 302 * @param fps Indicates the rate at which frames are captured per second.
308 int32_t SetCaptureRate(int32_t sourceId, double fps);
|