/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_frame_trace/unittest/ |
H A D | frame_rate_report_test.cpp | 47 std::unordered_map<int, uint32_t> rates; variable 48 FrameRateReport::GetInstance().SendFrameRates(rates); 49 rates[1008] = 60; 50 rates[-1] = 120; 51 bool ret = FrameRateReport::GetInstance().SendFrameRates(rates); 63 std::unordered_map<int, uint32_t> rates; variable 64 FrameRateReport::GetInstance().SendFrameRatesToRss(rates); 65 rates[1008] = 60; 66 rates[-1] = 120; 67 FrameRateReport::GetInstance().SendFrameRatesToRss(rates);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_render_display_sync.cpp | 146 if (!rates.empty()) { in GetNearestFrameRate() 147 auto iter = std::lower_bound(rates.begin(), rates.end(), num); in GetNearestFrameRate() 148 if (iter == rates.end()) { in GetNearestFrameRate() 150 rate = rates.back(); in GetNearestFrameRate() 152 } else if (iter == rates.begin()) { in GetNearestFrameRate() 154 rate = rates.front(); in GetNearestFrameRate() 159 int32_t index = iter - rates.begin(); in GetNearestFrameRate() 161 int32_t lastInterval = num - rates[index - 1]; in GetNearestFrameRate() 162 int32_t nextInterval = rates[index] - num; in GetNearestFrameRate() 164 rate = rates[index - 1]; in GetNearestFrameRate() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_frame_trace/src/ |
H A D | frame_rate_report.cpp | 28 bool FrameRateReport::SendFrameRates(const std::unordered_map<int, uint32_t>& rates) in SendFrameRates() argument 30 if (rates.empty()) { in SendFrameRates() 36 OHOS::ConcurrentTask::DDL_RATE, ddlReply, rates); in SendFrameRates() 43 void FrameRateReport::SendFrameRatesToRss(const std::unordered_map<int, uint32_t> rates) in SendFrameRatesToRss() argument 45 if (rates.empty()) { in SendFrameRatesToRss() 50 for (auto it = rates.begin(); it != rates.end(); ++it) { in SendFrameRatesToRss()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_frame_trace/include/ |
H A D | frame_rate_report.h | 39 bool SendFrameRates(const std::unordered_map<int, uint32_t>& rates); 40 void SendFrameRatesToRss(const std::unordered_map<int, uint32_t> rates);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsrenderdisplaysync_fuzzer/ |
H A D | rsrenderdisplaysync_fuzzer.cpp | 194 std::vector<int32_t> rates; in DoGetNearestFrameRate() local 195 rates.push_back(value); in DoGetNearestFrameRate() 197 rsRenderDisplaySync.GetNearestFrameRate(num, rates); in DoGetNearestFrameRate()
|
/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/ |
H A D | preview__output_8h.md | 51 …ange.md) \*\*frameRateRange, uint32_t \*size) | Obtains the list of frame rates supported by a **P… 53 …output) \*previewOutput, int32_t minFps, int32_t maxFps) | Sets the frame rates for a **PreviewOut… 54 …amera___frame_rate_range.md) \*frameRateRange) | Obtains the active frame rates of a **PreviewOutp…
|
H A D | video__output_8h.md | 51 …ange.md) \*\*frameRateRange, uint32_t \*size) | Obtains the list of frame rates supported by a **V… 53 …eooutput) \*videoOutput, int32_t minFps, int32_t maxFps) | Sets the frame rates for a **VideoOutpu… 54 …amera___frame_rate_range.md) \*frameRateRange) | Obtains the active frame rates of a **VideoOutput…
|
/ohos5.0/docs/en/application-dev/graphics/ |
H A D | arkgraphics2D-introduction.md | 25 …ferent content and requirements. For example, you can set different frame rates for different gami… 31 - Multiple frame rates in the same window: Different frame rates can be customized for different co…
|
H A D | displaysync-ui.md | 7 …e different frame rates to change the font size of the **Text** component. This operation simulate…
|
H A D | displaysync-overview.md | 3 …ens are widely used. This type of screen supports switching between frame rates at multiple levels.
|
/ohos5.0/drivers/hdf_core/framework/model/audio/usb/src/ |
H A D | audio_usb_parse_interface.c | 374 …static const uint32_t rates[] = {5512, 8000, 11025, 16000, 22050, 32000, 44100, 48000, 64000, 8820… in AudioPcmRateToRateBit() local 377 count = sizeof(rates) / sizeof(rates[0]); in AudioPcmRateToRateBit() 379 if (rates[i] == rate) { in AudioPcmRateToRateBit() 453 audioUsbFormat->rates |= AudioPcmRateToRateBit(rate); in AudioUsbParseFormatRates() 539 … if (fmt->bFormatType == UAC_FORMAT_TYPE_I && audioUsbFormat->rates != AUDIO_USB_PCM_RATE_48000 && in AudioUsbParseFormat() 540 audioUsbFormat->rates != AUDIO_USB_PCM_RATE_96000) { in AudioUsbParseFormat()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/frame_rate_manager/ |
H A D | hgm_frame_rate_manager.cpp | 431 std::unordered_map<pid_t, uint32_t> rates; in FrameRateReport() local 432 rates[GetRealPid()] = currRefreshRate_; in FrameRateReport() 434 rates[UNI_APP_PID] = currRefreshRate_; in FrameRateReport() 436 rates[UNI_APP_PID] = OLED_60_HZ; in FrameRateReport() 438 rates[UNI_APP_PID] = OLED_120_HZ; in FrameRateReport() 441 GetRealPid(), rates[GetRealPid()], UNI_APP_PID, rates[UNI_APP_PID]); in FrameRateReport() 442 FRAME_TRACE::FrameRateReport::GetInstance().SendFrameRates(rates); in FrameRateReport() 443 FRAME_TRACE::FrameRateReport::GetInstance().SendFrameRatesToRss(rates); in FrameRateReport()
|
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/ |
H A D | thermal_config_file_parser.cpp | 458 std::vector<std::string> rates; in ParseSensorSubnodeInfo() local 460 StringOperation::SplitString(reinterpret_cast<char*>(tempRiseRates), rates, ","); in ParseSensorSubnodeInfo() 461 if (sensors.size() > rates.size()) { in ParseSensorSubnodeInfo() 464 StringOperation::StrToDouble(rates.at(i), levelItem.tempRiseRate); in ParseSensorSubnodeInfo()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_render_display_sync.h | 41 int32_t GetNearestFrameRate(int32_t num, const std::vector<int32_t>& rates);
|
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
H A D | thermal_srv_config_parser.cpp | 409 std::vector<std::string> rates; in ParseSensorLevelInfo() local 411 StringOperation::SplitString(reinterpret_cast<char*>(tempRiseRates), rates, ","); in ParseSensorLevelInfo() 412 if (sensors.size() != rates.size()) { in ParseSensorLevelInfo() 414 sensors.size(), rates.size()); in ParseSensorLevelInfo() 418 StringOperation::StrToDouble(rates.at(sensorIdx), levelItem.tempRiseRate); in ParseSensorLevelInfo()
|
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/ |
H A D | _o_h___audio_capture_info.md | 47 Audio sampling rate. For details about the supported rates, see [AudioSamplingRate](../apis-audio-k…
|
/ohos5.0/docs/en/device-dev/quick-start/ |
H A D | quickstart-appendix-hi3516.md | 6 …n encoder, and high-performance NNIE engine, Hi3516DV300 provides low bit rates, high image qualit…
|
H A D | quickstart-appendix-hi3861.md | 20 …technologies. In addition, the Hi3861 WLAN baseband supports various data rates specified in the I… 43 | PHY features| - All data rates of the IEEE802.11b/g/n single antenna<br>- Supported maximum rate:…
|
/ohos5.0/drivers/hdf_core/framework/model/audio/core/include/ |
H A D | audio_host.h | 141 uint64_t rates; member
|
/ohos5.0/drivers/hdf_core/framework/model/audio/usb/include/ |
H A D | audio_usb_linux.h | 112 uint32_t rates; /* rate bitmasks */ member
|
/ohos5.0/docs/en/application-dev/media/media/ |
H A D | streaming-media-playback-development-guide.md | 72 HLS streams currently support playback at multiple bit rates. By default, the AVPlayer selects the … 74 …it/js-apis-media.md#onavailablebitrates9) to listen for the available bit rates for an HLS stream.… 79 // Listen for the available bit rates of the current HLS stream. 85 …set the playback bit rate. If the bit rate is not among the available bit rates, the AVPlayer sele… 113 …efault, the AVPlayer automatically select video tracks with different bit rates based on the netwo…
|
/ohos5.0/docs/en/application-dev/reference/apis-audio-kit/ |
H A D | native__audio__device__base_8h.md | 58 …scriptor, uint32_t \*\*sampleRates, uint32_t \*size) | Obtains the sample rates based on an audio …
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/ |
H A D | rs_properties.h | 257 void SetFgBrightnessRates(const Vector4f& rates); 284 void SetBgBrightnessRates(const Vector4f& rates);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_node.h | 310 void SetFgBrightnessRates(const Vector4f& rates); 316 void SetBgBrightnessRates(const Vector4f& rates);
|
/ohos5.0/docs/en/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-bluetooth-a2dp.md | 178 Enumerates the sampling rates of the Bluetooth codec.
|