Home
last modified time | relevance | path

Searched refs:Range (Results 1 – 25 of 238) sorted by relevance

12345678910

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_particle_effector_test.cpp80 Range<Color> colorVal = Range<Color>(start, end); in SetColor()
83 Range<float> redRandom = Range<float>(0.1f, 1.f); in SetColor()
84 Range<float> greenRandom = Range<float>(0.1f, 1.f); in SetColor()
85 Range<float> blueRandom = Range<float>(0.1f, 1.f); in SetColor()
86 Range<float> alphaRandom = Range<float>(0.1f, 1.f); in SetColor()
94 Range<float> opacityVal = Range<float>(0.5, 1); in SetOpacity()
116 Range<float> scaleVal = Range<float>(0.5, 1); in SetUp()
121 Range<float> spinRandom = Range<float>(1.f, 0.1f); in SetUp()
204 Range<Color> colorVal = Range<Color>(start, end);
328 Range<float> val = Range<float>(0.5, 1);
[all …]
H A Drs_render_particle_emitter_test.cpp62 Range<int64_t> lifeTime = Range<int64_t>(3000, 3000); // 3000 is lifeTime. in SetEmitConfig()
75 Range<Color> colorVal = Range<Color>(start, end); in SetColor()
78 Range<float> redRandom = Range<float>(0.1f, 1.f); in SetColor()
79 Range<float> greenRandom = Range<float>(0.1f, 1.f); in SetColor()
80 Range<float> blueRandom = Range<float>(0.1f, 1.f); in SetColor()
81 Range<float> alphaRandom = Range<float>(0.1f, 1.f); in SetColor()
89 Range<float> opacityVal = Range<float>(0.5, 1); in SetOpacity()
91 Range<float> opacityRandom; in SetOpacity()
111 Range<float> scaleVal = Range<float>(0.5, 1); in SetUp()
113 Range<float> scaleRandom = Range<float>(0.1f, 1.f); in SetUp()
[all …]
H A Drs_render_particle_test.cpp54 Range<int64_t> lifeTime = Range<int64_t>(3000, 3000); // 3000 is lifeTime. in SetUp()
132 Range<int64_t> lifeTime = Range<int64_t>(
168 Range<int64_t> lifeTime = Range<int64_t>(0, 3000); // 3000 is lifeTime range end.
206 Range<int64_t> lifeTime = Range<int64_t>(-1, -1);
/ohos5.0/foundation/multimedia/av_codec/frameworks/native/avcodeclist/
H A Davcodec_info.cpp177 return Range(0, 0); in GetVideoWidthRangeForHeight()
199 return Range(0, 0); in GetVideoHeightRangeForWidth()
231 Range frameRatesRange; in GetSupportedFrameRatesFor()
269 Range blockPerFrameRange = Range(1, maxBlockPerFrame); in LoadAVCLevelParams()
270 Range blockPerSecondRange = Range(1, maxBlockPerSecond); in LoadAVCLevelParams()
310 Range blockPerFrameRange = Range(1, maxBlockPerFrame); in LoadMPEGLevelParams()
311 Range blockPerSecondRange = Range(1, maxBlockPerSecond); in LoadMPEGLevelParams()
352 Range side = Range(std::min(data_->width.minVal, data_->height.minVal), in InitParams()
420 Range VideoCaps::DivRange(const Range &range, const int32_t &divisor) in DivRange()
459 Range range; in GetPreferredFrameRate()
[all …]
/ohos5.0/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Davcodec_info.h75 struct Range { struct
102 Range Intersect(const Range &range) in Intersect() argument
151 Range bitrate;
152 Range channels;
153 Range complexity;
155 Range width;
156 Range height;
157 Range frameRate;
158 Range encodeQuality;
159 Range blockPerFrame;
[all …]
/ohos5.0/foundation/multimedia/av_codec/services/engine/codeclist/
H A Daudio_codeclist_info.cpp167 audioAmrnbCapability.channels = Range(1, 1); in GetAmrnbDecoderCapability()
181 audioAmrwbCapability.channels = Range(1, 1); in GetAmrwbDecoderCapability()
224 audioAmrnbCapability.channels = Range(1, 1); in GetAmrnbEncoderCapability()
238 audioAmrwbCapability.channels = Range(1, 1); in GetAmrwbEncoderCapability()
256 audioLbvcCapability.bitrate = Range(0, 0); in GetLbvcDecoderCapability()
257 audioLbvcCapability.channels = Range(0, 0); in GetLbvcDecoderCapability()
266 audioLbvcCapability.channels = Range(1, 1); in GetLbvcDecoderCapability()
284 audioLbvcCapability.bitrate = Range(0, 0); in GetLbvcEncoderCapability()
294 audioLbvcCapability.channels = Range(1, 1); in GetLbvcEncoderCapability()
310 audioAacCapability.bitrate = Range(0, 0); in GetVendorAacEncoderCapability()
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/capi/
H A Dcodeclist_capi_mock.h33 Range GetEncoderBitrateRange() override;
35 Range GetEncoderQualityRange() override;
36 Range GetEncoderComplexityRange() override;
38 Range GetAudioChannelsRange() override;
41 Range GetVideoWidthRangeForHeight(int32_t height) override;
42 Range GetVideoHeightRangeForWidth(int32_t width) override;
43 Range GetVideoWidthRange() override;
44 Range GetVideoHeightRange() override;
46 Range GetVideoFrameRateRange() override;
47 Range GetVideoFrameRateRangeForSize(int32_t width, int32_t height) override;
H A Dcodeclist_capi_mock.cpp66 Range retRange(0, 0); in GetEncoderBitrateRange()
93 Range retRange(0, 0); in GetEncoderQualityRange()
111 Range retRange(0, 0); in GetEncoderComplexityRange()
148 Range retRange(0, 0); in GetAudioChannelsRange()
196 Range retRange(0, 0); in GetVideoWidthRangeForHeight()
214 Range retRange(0, 0); in GetVideoHeightRangeForWidth()
230 Range CodecListCapiMock::GetVideoWidthRange() in GetVideoWidthRange()
232 Range retRange(0, 0); in GetVideoWidthRange()
250 Range retRange(0, 0); in GetVideoHeightRange()
277 Range retRange(0, 0); in GetVideoFrameRateRange()
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/inner/
H A Dcodeclist_inner_mock.h34 Range GetEncoderBitrateRange() override;
36 Range GetEncoderQualityRange() override;
37 Range GetEncoderComplexityRange() override;
39 Range GetAudioChannelsRange() override;
42 Range GetVideoWidthRangeForHeight(int32_t height) override;
43 Range GetVideoHeightRangeForWidth(int32_t width) override;
44 Range GetVideoWidthRange() override;
45 Range GetVideoHeightRange() override;
47 Range GetVideoFrameRateRange() override;
48 Range GetVideoFrameRateRangeForSize(int32_t width, int32_t height) override;
H A Dcodeclist_inner_mock.cpp57 return Range(0, 0); in GetEncoderBitrateRange()
77 return Range(0, 0); in GetEncoderQualityRange()
87 return Range(0, 0); in GetEncoderComplexityRange()
109 return Range(0, 0); in GetAudioChannelsRange()
139 return Range(0, 0); in GetVideoWidthRangeForHeight()
149 return Range(0, 0); in GetVideoHeightRangeForWidth()
152 Range CodecListInnerMock::GetVideoWidthRange() in GetVideoWidthRange()
159 return Range(0, 0); in GetVideoWidthRange()
169 return Range(0, 0); in GetVideoHeightRange()
189 return Range(0, 0); in GetVideoFrameRateRange()
[all …]
/ohos5.0/foundation/multimedia/player_framework/interfaces/inner_api/native/
H A Drecorder_profiles.h182 Range audioBitrateRange;
184 Range audioChannelRange;
185 Range videoBitrateRange;
186 Range videoFramerateRange;
188 Range videoWidthRange;
189 Range videoHeightRange;
201 Range bitrate;
202 Range channels;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/
H A Drs_occlusion_region_test.cpp107 std::vector<Range> res;
110 ASSERT_TRUE(res[0] == Range(0, 2));
120 ASSERT_TRUE(res[0] == Range(0, 2));
134 std::vector<Range> res;
140 ASSERT_TRUE(res[0] == Range(0, 2));
147 ASSERT_TRUE(res[0] == Range(0, 2));
161 std::vector<Range> res;
164 ASSERT_TRUE(res[0] == Range(0, 2));
193 std::vector<Range> res;
449 std::vector<Range> ranges;
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_particle_params.h62 Range<T> val_;
64 Range<float> random_;
67Range<T>& val, ParticleUpdator updator, Range<float> random, std::vector<Change<T>>& valChangeOver… in ParticleParaType()
101 Range<Color> colorVal_;
104 Range<float> redRandom_;
105 Range<float> greenRandom_;
106 Range<float> blueRandom_;
107 Range<float> alphaRandom_;
110 ParticleColorParaType(const Range<Color>& colorVal, const DistributionType& distribution, in ParticleColorParaType()
111 … const ParticleUpdator& updator, const Range<float>& redRandom, const Range<float>& greenRandom, in ParticleColorParaType()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_render_particle.h43 struct Range { struct
45 Range() : start_(), end_() {} in Range() argument
76 Range<T> val_;
78 Range<float> random_;
97 Range<int64_t> lifeTime_;
153 ParticleVelocity(const Range<float>& velocityValue, const Range<float>& velocityAngle) in ParticleVelocity()
178 Range<Color> colorVal_;
181 Range<float> redRandom_;
182 Range<float> greenRandom_;
183 Range<float> blueRandom_;
[all …]
/ohos5.0/foundation/window/window_manager/utils/include/
H A Dwm_occlusion_region.h73 class Range {
77 Range(int start, int end) : start_(start), end_(end) {} in Range() function
78 bool operator==(const Range& r)
113 inline void PushRange(std::vector<Range>& res) in PushRange()
119 res.emplace_back(Range { start_, end_ }); in PushRange()
126 void GetOrRange(std::vector<Range>& res, bool isParentNodePos, bool isParentNodeNeg);
128 void GetAndRange(std::vector<Range>& res, bool isParentNodePos, bool isParentNodeNeg);
130 void GetSubRange(std::vector<Range>& res, bool isParentNodePos, bool isParentNodeNeg);
132 void GetXOrRange(std::vector<Range>& res, bool isParentNodePos, bool isParentNodeNeg);
264 void UpdateRects(Rects& r, std::vector<Range>& ranges, std::vector<int>& indexAt, Region& res);
[all …]
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Dimprove-file-upload-and-download-performance.md145 - 协议需要支持Range:用于在服务器端支持范围请求,方便处理文件上传下载断点续传功能。
267 …传下载,也可以直接调用**request.agent**接口,该接口的断点续传是基于HTTP协议Header里的Range字段实现的,在任务暂停重启的时候,会自动设置Header中的Range字段…
269 > **Range简介**
271 > HTTP协议里面的Range字段,官方名称为范围请求,它允许服务器只发送 HTTP
274 > Range的格式通常是Range:
277 > Range语法如下:
280 > Range: <unit>=<range-start>-
282 > Range: <unit>=<range-start>-<range-end>
287 > Range: bytes=1024-
295 > | 416 Range Not Satisfiable | 所请求的范围不合法,表示服务器错误。|
[all …]
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-mini-debug-shell.md21 | Parameter| Description | Value Range |
35 | Parameter| Description | Value Range |
49 | Parameter | Description | Value Range |
76 | Parameter| Description | Value Range|
129 | Parameter| Description | Value Range|
144 | Parameter | Description | Value Range |
158 | Parameter| Description | Value Range|
195 | Parameter | Description | Value Range |
219 | Parameter| Description| Value Range |
233 | Parameter| Description| Value Range |
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/
H A Dutils.h27 struct Range { struct
28 Range() : start(), end() {} in Range() argument
29 Range(T s, T e) : start(s), end(e) {} in Range() function
31 bool operator==(const Range<T>& other) const
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/coverage_unit_test/
H A Davcodec_info_coverage_unit_test.cpp191 const OHOS::MediaAVCodec::Range defaultBlockRange = {0, 0};
194 OHOS::MediaAVCodec::Range res = videoCaps_->GetVideoWidthRangeForHeight(height_);
207 const OHOS::MediaAVCodec::Range defaultBlockRange = {0, 0};
210 OHOS::MediaAVCodec::Range res = videoCaps_->GetVideoWidthRangeForHeight(height_);
247 const OHOS::MediaAVCodec::Range defaultBlockRange = {0, 0};
250 OHOS::MediaAVCodec::Range res = videoCaps_->GetVideoHeightRangeForWidth(height_);
263 const OHOS::MediaAVCodec::Range defaultBlockRange = {0, 0};
311 OHOS::MediaAVCodec::Range range = OHOS::MediaAVCodec::Range(0, 0);
325 OHOS::MediaAVCodec::Range range = OHOS::MediaAVCodec::Range(0, 0);
530 OHOS::MediaAVCodec::Range range = OHOS::MediaAVCodec::Range(rangeMinVal, rangeMaxVal);
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/unittest/codeclist_test/
H A Dcodeclist_mock.h41 virtual Range GetEncoderBitrateRange() = 0;
43 virtual Range GetEncoderQualityRange() = 0;
44 virtual Range GetEncoderComplexityRange() = 0;
46 virtual Range GetAudioChannelsRange() = 0;
49 virtual Range GetVideoWidthRangeForHeight(int32_t height) = 0;
50 virtual Range GetVideoHeightRangeForWidth(int32_t width) = 0;
51 virtual Range GetVideoWidthRange() = 0;
52 virtual Range GetVideoHeightRange() = 0;
54 virtual Range GetVideoFrameRateRange() = 0;
55 virtual Range GetVideoFrameRateRangeForSize(int32_t width, int32_t height) = 0;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_occlusion_region.h174 class Range {
178 Range(int s, int e) : start_(s), end_(e) {} in Range() function
179 bool operator==(const Range& r)
209 inline void PushRange(std::vector<Range>& res) in PushRange()
215 res.emplace_back(Range { start_, end_ }); in PushRange()
227 void GetAndRange(std::vector<Range>& res, bool isParentNodePos, bool isParentNodeNeg);
229 void GetOrRange(std::vector<Range>& res, bool isParentNodePos, bool isParentNodeNeg);
231 void GetXOrRange(std::vector<Range>& res, bool isParentNodePos, bool isParentNodeNeg);
233 void GetSubRange(std::vector<Range>& res, bool isParentNodePos, bool isParentNodeNeg);
387 void getRange(std::vector<Range>& ranges, Node& node, OP op);
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/src/opentype_parser/
H A Dranges.h29 struct Range { struct
39 void AddRange(const struct Range &range); argument
54 std::vector<struct Range> ranges_;
/ohos5.0/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/
H A Dhcodec_list_unit_test.h37 std::string GetPrintInfo(const Range&);
41 std::string GetPrintInfo(const std::map<ImgSize, Range>&);
42 static void CheckRange(const Range& range);
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_typography_properties.h103 struct Range { struct
105 Range() : start_(), end_() {} in Range() argument
106 Range(T a, T b) : start_(a), end_(b) {} in Range() argument
107 bool operator==(const Range<T>& rhs) const
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/
H A Dtext_line_impl.cpp52 Range<size_t> TextLineImpl::GetTextRange() const in GetTextRange()
55 Range<size_t> range(0, 0); in GetTextRange()
59 return Range<size_t>(range.start, range.end); in GetTextRange()

12345678910