Home
last modified time | relevance | path

Searched refs:range (Results 1 – 25 of 1246) sorted by relevance

12345678910>>...50

/ohos5.0/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dprint_range_test.cpp52 range.Reset();
65 range.SetStartPage(6);
78 range.SetEndPage(6);
91 range.SetEndPage(6);
136 range.SetEndPage(6);
153 range.SetEndPage(6);
170 range.SetEndPage(6);
200 range.SetEndPage(6);
217 range.SetEndPage(6);
234 range.SetEndPage(6);
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/
H A Dconfigure_test.cpp93 OH_AVRange range; variable
123 OH_AVRange range; variable
128 cout << "minval=" << range.minVal << " maxval=" << range.maxVal << endl;
156 OH_AVRange range; variable
162 cout << "minval=" << range.minVal << " maxval=" << range.maxVal << endl;
189 OH_AVRange range; variable
195 cout << "minval=" << range.minVal << " maxval=" << range.maxVal << endl;
222 OH_AVRange range; variable
255 OH_AVRange range; variable
288 OH_AVRange range; variable
[all …]
H A Dfunc_test.cpp697 OH_AVRange range; variable
727 OH_AVRange range; variable
859 OH_AVRange range; variable
898 OH_AVRange range; variable
929 OH_AVRange range; variable
956 OH_AVRange range; variable
1058 OH_AVRange range; variable
1088 OH_AVRange range; variable
1104 OH_AVRange range; variable
1134 OH_AVRange range; variable
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/capi/
H A Dcodeclist_capi_mock.cpp68 OH_AVRange range; in GetEncoderBitrateRange() local
74 retRange.minVal = range.minVal; in GetEncoderBitrateRange()
95 OH_AVRange range; in GetEncoderQualityRange() local
113 OH_AVRange range; in GetEncoderComplexityRange() local
150 OH_AVRange range; in GetAudioChannelsRange() local
198 OH_AVRange range; in GetVideoWidthRangeForHeight() local
216 OH_AVRange range; in GetVideoHeightRangeForWidth() local
234 OH_AVRange range; in GetVideoWidthRange() local
252 OH_AVRange range; in GetVideoHeightRange() local
279 OH_AVRange range; in GetVideoFrameRateRange() local
[all …]
/ohos5.0/foundation/communication/dhcp/frameworks/native/src/
H A Ddhcp_server_proxy.cpp197 data.WriteInt32(range.iptype); in SetDhcpRange()
201 data.WriteString(range.strEndip); in SetDhcpRange()
206 … __func__, __LINE__, ifname.c_str(), range.iptype, range.leaseHours, range.strTagName.c_str(), in SetDhcpRange()
207 range.strStartip.c_str(), range.strEndip.c_str(), range.strSubnet.c_str()); in SetDhcpRange()
273 data.WriteInt32(range.iptype); in PutDhcpRange()
277 data.WriteString(range.strEndip); in PutDhcpRange()
282 … __func__, __LINE__, tagName.c_str(), range.iptype, range.leaseHours, range.strTagName.c_str(), in PutDhcpRange()
283 range.strStartip.c_str(), range.strEndip.c_str(), range.strSubnet.c_str()); in PutDhcpRange()
411 data.WriteInt32(range.iptype); in RemoveDhcpRange()
420 … __func__, __LINE__, tagName.c_str(), range.iptype, range.leaseHours, range.strTagName.c_str(), in RemoveDhcpRange()
[all …]
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_server_stub_lite.cpp154 DhcpRange range; in OnSetDhcpRange() local
156 (void)ReadInt32(req, &range.iptype); in OnSetDhcpRange()
157 (void)ReadInt32(req, &range.leaseHours); in OnSetDhcpRange()
164 ErrCode ret = SetDhcpRange(ifname, range); in OnSetDhcpRange()
184 DhcpRange range; in OnRemoveDhcpRange() local
186 (void)ReadInt32(req, &range.iptype); in OnRemoveDhcpRange()
187 (void)ReadInt32(req, &range.leaseHours); in OnRemoveDhcpRange()
237 DhcpRange range; in OnPutDhcpRange() local
239 (void)ReadInt32(req, &range.iptype); in OnPutDhcpRange()
240 (void)ReadInt32(req, &range.leaseHours); in OnPutDhcpRange()
[all …]
H A Ddhcp_server_stub.cpp173 DhcpRange range; in OnSetDhcpRange() local
174 range.iptype = data.ReadInt32(); in OnSetDhcpRange()
175 range.leaseHours = data.ReadInt32(); in OnSetDhcpRange()
178 range.strEndip = data.ReadString(); in OnSetDhcpRange()
179 range.strSubnet = data.ReadString(); in OnSetDhcpRange()
200 DhcpRange range; in OnRemoveDhcpRange() local
201 range.iptype = data.ReadInt32(); in OnRemoveDhcpRange()
205 range.strEndip = data.ReadString(); in OnRemoveDhcpRange()
250 DhcpRange range; in OnPutDhcpRange() local
251 range.iptype = data.ReadInt32(); in OnPutDhcpRange()
[all …]
H A Ddhcp_server_service_impl.cpp364 if (!CheckIpAddrRange(range)) { in PutDhcpRange()
385 … (tagRange.strStartip != range.strStartip) || (tagRange.strEndip != range.strEndip)) { in PutDhcpRange()
396 listDhcpRange.push_back(range); in PutDhcpRange()
420 … if ((iterRange->iptype == range.iptype) && (iterRange->strStartip == range.strStartip) && in RemoveDhcpRange()
426 range.iptype, in RemoveDhcpRange()
477 …if (DhcpFunction::CheckRangeNetwork(ifname, range.strStartip, range.strEndip) != DHCP_OPT_SUCCESS)… in SetDhcpRange()
665 …if (((range.iptype != 0) && (range.iptype != 1)) || range.strStartip.empty() || range.strEndip.emp… in CheckIpAddrRange()
667 range.iptype, range.strStartip.c_str(), range.strEndip.c_str()); in CheckIpAddrRange()
671 if (range.iptype == 0) { in CheckIpAddrRange()
675 range.iptype, range.strStartip.c_str()); in CheckIpAddrRange()
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A D_display_soloist___expected_rate_range.md6 The DisplaySoloist_ExpectedRateRange struct describes the expected frame rate range.
20 | int32_t [min](#min) | Minimum value of the expected frame rate range. The value range is [0,120].…
21 | int32_t [max](#max) | Maximum value of the expected frame rate range. The value range is [0,120].…
22 | int32_t [expected](#expected) | Expected frame rate. The value range is [0,120].|
36 Expected frame rate. The value range is [0,120].
47 Maximum value of the expected frame rate range. The value range is [0,120].
58 Minimum value of the expected frame rate range. The value range is [0,120].
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/ability/
H A Dcamera_ability.cpp25 bool g_isValidZoomRaioRange(std::vector<float> range) in g_isValidZoomRaioRange() argument
27 return range.size() == VALID_RANGE_SIZE && range[0] <= range[1]; in g_isValidZoomRaioRange()
179 for (const auto& [type, range] : supportedBeautyRangeMap_) { in DumpCameraAbilityInfo()
180 std::string vecStr = Container2String(range.begin(), range.end()); in DumpCameraAbilityInfo()
249 auto range = ability->GetZoomRatioRange(); in PrepareSpecMaximumValue() local
250 if (!g_isValidZoomRaioRange(range)) { in PrepareSpecMaximumValue()
254 tempRange = range; in PrepareSpecMaximumValue()
256 float min = std::min(tempRange.value()[0], range[0]); in PrepareSpecMaximumValue()
303 std::vector<float> range = ability->GetZoomRatioRange(); in GetZoomRatioRange() local
322 std::vector<float> range = ability->GetZoomRatioRange(); in IsMacroSupported() local
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/
H A Dapi_test.cpp1054 OH_AVRange range; variable
1084 OH_AVRange range; variable
1100 OH_AVRange range; variable
1132 OH_AVRange range; variable
1164 OH_AVRange range; variable
1194 OH_AVRange range; variable
1210 OH_AVRange range; variable
1242 OH_AVRange range; variable
1274 OH_AVRange range; variable
1301 OH_AVRange range; variable
[all …]
/ohos5.0/foundation/communication/dhcp/test/fuzztest/dhcpserver_fuzzer/
H A Ddhcpserver_fuzzer.cpp32 DhcpRange range; in DhcpServerFuzzerTest() local
34 range.strTagName = std::string(reinterpret_cast<const char*>(data), size); in DhcpServerFuzzerTest()
35 range.strStartip = std::string(reinterpret_cast<const char*>(data), size); in DhcpServerFuzzerTest()
36 range.strEndip = std::string(reinterpret_cast<const char*>(data), size); in DhcpServerFuzzerTest()
37 range.strSubnet = std::string(reinterpret_cast<const char*>(data), size); in DhcpServerFuzzerTest()
38 range.iptype = static_cast<int>(data[0]) % call; in DhcpServerFuzzerTest()
39 range.leaseHours = static_cast<int>(data[0]); in DhcpServerFuzzerTest()
45 dhcpServer->PutDhcpRange(ifname, range); in DhcpServerFuzzerTest()
46 dhcpServer->RemoveDhcpRange(ifname, range); in DhcpServerFuzzerTest()
48 dhcpServer->SetDhcpRange(ifname, range); in DhcpServerFuzzerTest()
/ohos5.0/foundation/resourceschedule/ffrt/benchmarks/
H A Dplot.py37 for i in range(len(stall))]
55 1 - stall[i] * 10000) / 10000 for i in range(len(stall))]
59 * 2400 * 3) / 2400 / 3 for i in range(len(stall))]
63 * 1 - stall[i] * 21890) / 21890 for i in range(len(stall))]
65 * 1 - stall[i] * 21890) / 21890 for i in range(len(stall))]
67 * 1 - stall[i] * 21890) / 21890 for i in range(len(stall))]
69 8 - stall[i] * 10000) / 10000 for i in range(len(stall))]
73 * 2400 * 3) / 2400 / 3 for i in range(len(stall))]
77 * 8 - stall[i] * 21890) / 21890 for i in range(len(stall))]
79 * 8 - stall[i] * 21890) / 21890 for i in range(len(stall))]
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dcolor_utils.cpp57 ColorManager::ColorSpaceName P3ToColorSpace(uint16_t transfer, uint8_t range) in P3ToColorSpace() argument
60 return range == CICP_FULL_RANGE_LIMIT ? ColorManager::P3_PQ_LIMIT : ColorManager::P3_PQ; in P3ToColorSpace()
62 return range == CICP_FULL_RANGE_LIMIT ? ColorManager::P3_HLG_LIMIT : ColorManager::P3_HLG; in P3ToColorSpace()
69 ColorManager::ColorSpaceName BT2020ToColorSpace(uint16_t transfer, uint8_t range) in BT2020ToColorSpace() argument
72 … return range == CICP_FULL_RANGE_LIMIT ? ColorManager::BT2020_PQ_LIMIT : ColorManager::BT2020_PQ; in BT2020ToColorSpace()
80 uint16_t matrix, uint8_t range) in CicpToColorSpace() argument
84 return range == CICP_FULL_RANGE_LIMIT ? ColorManager::SRGB_LIMIT : ColorManager::SRGB; in CicpToColorSpace()
86 return P3ToColorSpace(transfer, range); in CicpToColorSpace()
88 return BT2020ToColorSpace(transfer, range); in CicpToColorSpace()
185 uint16_t& matrix, uint8_t& range) in ColorSpaceGetCicp() argument
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/
H A Dapi_test.cpp949 OH_AVRange range; variable
979 OH_AVRange range; variable
995 OH_AVRange range; variable
1027 OH_AVRange range; variable
1057 OH_AVRange range; variable
1073 OH_AVRange range; variable
1105 OH_AVRange range; variable
1132 OH_AVRange range; variable
1151 OH_AVRange range; variable
1269 OH_AVRange range; variable
[all …]
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/
H A Dcamera_info.cpp168 std::vector<float> range = {item.data.f[minIndex], item.data.f[maxIndex]}; in GetZoomRatioRange() local
169 CHECK_ERROR_RETURN_RET_LOG(range[minIndex] > range[maxIndex], {}, in GetZoomRatioRange()
170 "Invalid zoom range. min: %{public}f, max: %{public}f", range[minIndex], range[maxIndex]); in GetZoomRatioRange()
172 … MEDIA_DEBUG_LOG("Zoom range min: %{public}f, max: %{public}f", range[minIndex], range[maxIndex]); in GetZoomRatioRange()
174 zoomRatioRange_ = range; in GetZoomRatioRange()
193 std::vector<int32_t> range = {item.data.i32[minIndex], item.data.i32[maxIndex]}; in GetExposureBiasRange() local
194 CHECK_ERROR_RETURN_RET_LOG(range[minIndex] > range[maxIndex], {}, in GetExposureBiasRange()
195 … exposure compensation range. min: %{public}d, max: %{public}d", range[minIndex], range[maxIndex]); in GetExposureBiasRange()
196 …OG("Exposure hdi compensation min: %{public}d, max: %{public}d", range[minIndex], range[maxIndex]); in GetExposureBiasRange()
207 exposureBiasRange_ = {step * range[minIndex], step * range[maxIndex]}; in GetExposureBiasRange()
H A Dcamera_device.cpp236 std::vector<float> range; in GetZoomRatioRange() local
251 range = {item.data.f[minIndex], item.data.f[maxIndex]}; in GetZoomRatioRange()
252 CHECK_ERROR_RETURN_RET_LOG(range[minIndex] > range[maxIndex], {}, in GetZoomRatioRange()
253 "Invalid zoom range. min: %{public}f, max: %{public}f", range[minIndex], range[maxIndex]); in GetZoomRatioRange()
254 … MEDIA_DEBUG_LOG("Zoom range min: %{public}f, max: %{public}f", range[minIndex], range[maxIndex]); in GetZoomRatioRange()
256 zoomRatioRange_ = range; in GetZoomRatioRange()
289 std::vector<int32_t> range; in GetExposureBiasRange() local
308 CHECK_ERROR_RETURN_RET_LOG(range[minIndex] > range[maxIndex], {}, in GetExposureBiasRange()
309 … exposure compensation range. min: %{public}d, max: %{public}d", range[minIndex], range[maxIndex]); in GetExposureBiasRange()
311 …OG("Exposure hdi compensation min: %{public}d, max: %{public}d", range[minIndex], range[maxIndex]); in GetExposureBiasRange()
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-particle-animation.md684 range:[0.0,0.0],
700 range:[3,9],
707 range:[90,90]
792 range:[3,9],
877 range:[1.0,1.0],
897 range:[0.1,1.0],
914 range:[3,9],
936 range:[0,180],
1035 range:[3,9],
1207 range:[3,9],
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/hevcswdecoder/src/
H A Dapi_test.cpp1092 OH_AVRange range; variable
1128 OH_AVRange range; variable
1147 OH_AVRange range; variable
1183 OH_AVRange range; variable
1217 OH_AVRange range; variable
1253 OH_AVRange range; variable
1272 OH_AVRange range; variable
1308 OH_AVRange range; variable
1342 OH_AVRange range; variable
1374 OH_AVRange range; variable
[all …]
/ohos5.0/docs/en/application-dev/graphics/
H A Ddisplaysync-animation.md13 expectedFrameRateRange: { // Set the frame rate range of the property animation.
15 min: 0, // Set the frame rate range.
16 max: 120, // Set the frame rate range.
32 min: 0, // Set the frame rate range.
33 max: 120, // Set the frame rate range.
99 min: 0, // Set the frame rate range.
100 max: 120, // Set the frame rate range.
123 min: 0, // Set the frame rate range.
124 max: 120, // Set the frame rate range.
136 min: 0, // Set the frame rate range.
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dcolor_utils_test.cpp113 uint8_t range = 0; variable
114 …orUtils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::SRGB, primaries, transfer, matrix, range);
115 …s::ColorSpaceGetCicp(ColorManager::ColorSpaceName::SRGB_LIMIT, primaries, transfer, matrix, range);
116 …s::ColorSpaceGetCicp(ColorManager::ColorSpaceName::DISPLAY_P3, primaries, transfer, matrix, range);
117 …orSpaceGetCicp(ColorManager::ColorSpaceName::DISPLAY_P3_LIMIT, primaries, transfer, matrix, range);
118 …Utils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::DCI_P3, primaries, transfer, matrix, range);
119 …Utils::ColorSpaceGetCicp(ColorManager::ColorSpaceName::BT2020, primaries, transfer, matrix, range);
120 …s::ColorSpaceGetCicp(ColorManager::ColorSpaceName::BT2020_HLG, primaries, transfer, matrix, range);
121 …orSpaceGetCicp(ColorManager::ColorSpaceName::BT2020_HLG_LIMIT, primaries, transfer, matrix, range);
122 …ls::ColorSpaceGetCicp(ColorManager::ColorSpaceName::BT2020_PQ, primaries, transfer, matrix, range);
[all …]
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/
H A Dmock_dhcp_service.cpp77 DhcpErrorCode __real_SetDhcpRange(const char *ifname, const DhcpRange *range);
78 DhcpErrorCode __wrap_SetDhcpRange(const char *ifname, const DhcpRange *range) in __wrap_SetDhcpRange() argument
81 return MockDhcpService::GetInstance().SetDhcpRange(ifname, range); in __wrap_SetDhcpRange()
91 DhcpErrorCode __real_PutDhcpRange(const char *tagName, const DhcpRange *range);
92 DhcpErrorCode __wrap_PutDhcpRange(const char *tagName, const DhcpRange *range) in __wrap_PutDhcpRange() argument
95 return MockDhcpService::GetInstance().PutDhcpRange(tagName, range); in __wrap_PutDhcpRange()
105 DhcpErrorCode __real_RemoveDhcpRange(const char *tagName, const void *range);
106 DhcpErrorCode __wrap_RemoveDhcpRange(const char *tagName, const void *range) in __wrap_RemoveDhcpRange() argument
109 return MockDhcpService::GetInstance().RemoveDhcpRange(tagName, range); in __wrap_RemoveDhcpRange()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_frame_rate_linker.cpp83 void RSFrameRateLinker::UpdateFrameRateRange(const FrameRateRange& range, int32_t animatorExpectedF… in UpdateFrameRateRange() argument
85 if (currentRange_ != range || currAnimatorExpectedFrameRate_ != animatorExpectedFrameRate) { in UpdateFrameRateRange()
86 currentRange_ = range; in UpdateFrameRateRange()
89 range, animatorExpectedFrameRate); in UpdateFrameRateRange()
97 void RSFrameRateLinker::UpdateFrameRateRangeImme(const FrameRateRange& range, int32_t animatorExpec… in UpdateFrameRateRangeImme() argument
99 if (currentRange_ != range || currAnimatorExpectedFrameRate_ != animatorExpectedFrameRate) { in UpdateFrameRateRangeImme()
100 currentRange_ = range; in UpdateFrameRateRangeImme()
102 RSInterfaces::GetInstance().SyncFrameRateRange(GetId(), range, animatorExpectedFrameRate); in UpdateFrameRateRangeImme()
/ohos5.0/foundation/communication/dhcp/frameworks/native/c_adapter/src/
H A Ddhcp_c_service.cpp162 CHECK_PTR_RETURN(range, DHCP_INVALID_PARAM); in SetDhcpRange()
165 rangeNew.iptype = range->iptype; in SetDhcpRange()
166 rangeNew.strStartip = range->strStartip; in SetDhcpRange()
167 rangeNew.strEndip = range->strEndip; in SetDhcpRange()
168 rangeNew.strSubnet = range->strSubnet; in SetDhcpRange()
169 rangeNew.strTagName = range->strTagName; in SetDhcpRange()
193 rangeNew.iptype = range->iptype; in PutDhcpRange()
194 rangeNew.strStartip = range->strStartip; in PutDhcpRange()
195 rangeNew.strEndip = range->strEndip; in PutDhcpRange()
196 rangeNew.strSubnet = range->strSubnet; in PutDhcpRange()
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/recorder/
H A Drecorder_capability_napi.cpp308 Range range = (*it)->bitrate; in GetJsResult() local
309 (void)CommonNapi::AddRangeProperty(env, obj, "bitrateRange", range.minVal, range.maxVal); in GetJsResult()
314 range = (*it)->channels; in GetJsResult()
315 (void)CommonNapi::AddRangeProperty(env, obj, "channelRange", range.minVal, range.maxVal); in GetJsResult()
346 … (void)CommonNapi::AddRangeProperty(env, obj, "audioBitrateRange", range.minVal, range.maxVal); in GetJsResult()
352 … (void)CommonNapi::AddRangeProperty(env, obj, "audioChannelRange", range.minVal, range.maxVal); in GetJsResult()
355 … (void)CommonNapi::AddRangeProperty(env, obj, "videoBitrateRange", range.minVal, range.maxVal); in GetJsResult()
358 … (void)CommonNapi::AddRangeProperty(env, obj, "videoFramerateRange", range.minVal, range.maxVal); in GetJsResult()
363 range = (*it)->videoWidthRange; in GetJsResult()
364 (void)CommonNapi::AddRangeProperty(env, obj, "videoWidthRange", range.minVal, range.maxVal); in GetJsResult()
[all …]

12345678910>>...50