Home
last modified time | relevance | path

Searched refs:rates (Results 1 – 25 of 68) sorted by relevance

123

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_frame_trace/unittest/
H A Dframe_rate_report_test.cpp47 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 Drs_render_display_sync.cpp146 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 Dframe_rate_report.cpp28 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 Dframe_rate_report.h39 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 Drsrenderdisplaysync_fuzzer.cpp194 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 Dpreview__output_8h.md51 …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 Dvideo__output_8h.md51 …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 Darkgraphics2D-introduction.md25 …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 Ddisplaysync-ui.md7 …e different frame rates to change the font size of the **Text** component. This operation simulate…
H A Ddisplaysync-overview.md3 …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 Daudio_usb_parse_interface.c374 …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 Dhgm_frame_rate_manager.cpp431 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 Dthermal_config_file_parser.cpp458 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 Drs_render_display_sync.h41 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 Dthermal_srv_config_parser.cpp409 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.md47 Audio sampling rate. For details about the supported rates, see [AudioSamplingRate](../apis-audio-k…
/ohos5.0/docs/en/device-dev/quick-start/
H A Dquickstart-appendix-hi3516.md6 …n encoder, and high-performance NNIE engine, Hi3516DV300 provides low bit rates, high image qualit…
H A Dquickstart-appendix-hi3861.md20 …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 Daudio_host.h141 uint64_t rates; member
/ohos5.0/drivers/hdf_core/framework/model/audio/usb/include/
H A Daudio_usb_linux.h112 uint32_t rates; /* rate bitmasks */ member
/ohos5.0/docs/en/application-dev/media/media/
H A Dstreaming-media-playback-development-guide.md72 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 Dnative__audio__device__base_8h.md58 …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 Drs_properties.h257 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 Drs_node.h310 void SetFgBrightnessRates(const Vector4f& rates);
316 void SetBgBrightnessRates(const Vector4f& rates);
/ohos5.0/docs/en/application-dev/reference/apis-connectivity-kit/
H A Djs-apis-bluetooth-a2dp.md178 Enumerates the sampling rates of the Bluetooth codec.

123