Home
last modified time | relevance | path

Searched refs:Range (Results 1 - 25 of 80) sorted by relevance

1234

/foundation/multimedia/av_codec/frameworks/native/avcodeclist/
H A Davcodec_info.cpp89 Range VideoCaps::GetSupportedBitrate() in GetSupportedBitrate()
91 CHECK_AND_RETURN_RET_LOG(data_ != nullptr, Range(), "data is null"); in GetSupportedBitrate()
115 Range VideoCaps::GetSupportedWidth() in GetSupportedWidth()
117 CHECK_AND_RETURN_RET_LOG(data_ != nullptr, Range(), "data is null"); in GetSupportedWidth()
121 Range VideoCaps::GetSupportedHeight() in GetSupportedHeight()
123 CHECK_AND_RETURN_RET_LOG(data_ != nullptr, Range(), "data is null"); in GetSupportedHeight()
142 Range VideoCaps::GetSupportedEncodeQuality() in GetSupportedEncodeQuality()
144 CHECK_AND_RETURN_RET_LOG(data_ != nullptr, Range(), "data is null"); in GetSupportedEncodeQuality()
173 Range VideoCaps::GetVideoWidthRangeForHeight(int32_t height) in GetVideoWidthRangeForHeight()
175 CHECK_AND_RETURN_RET_LOG(data_ != nullptr, Range(), "dat in GetVideoWidthRangeForHeight()
[all...]
/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Davcodec_info.h70 * @brief Range contain min and max value
75 struct Range { struct
78 Range() : minVal(0), maxVal(0) {} in Range() function
79 Range(const int32_t &min, const int32_t &max) in Range() function
90 Range Create(const int32_t &min, const int32_t &max) in Create()
92 return Range(min, max); in Create()
95 Range Intersect(const int32_t &min, const int32_t &max) in Intersect()
102 Range Intersect(const Range &range) in Intersect()
151 Range bitrat
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
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<floa in SetColor()
[all...]
H A Drs_render_particle_effector_test.cpp67 Range<int64_t> lifeTime = Range<int64_t>(3000, 3000); // 3000 is lifeTime. in SetEmitConfig()
80 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<floa in SetColor()
[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>( in HWTEST_F()
168 Range<int64_t> lifeTime = Range<int64_t>(0, 3000); // 3000 is lifeTime range end. in HWTEST_F()
206 Range<int64_t> lifeTime = Range<int64_t>(-1, -1); in HWTEST_F()
/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 GetVideoFrameRateRangeForSiz
[all...]
H A Dcodeclist_inner_mock.cpp50 Range CodecListInnerMock::GetEncoderBitrateRange() in GetEncoderBitrateRange()
57 return Range(0, 0); in GetEncoderBitrateRange()
70 Range CodecListInnerMock::GetEncoderQualityRange() in GetEncoderQualityRange()
77 return Range(0, 0); in GetEncoderQualityRange()
80 Range CodecListInnerMock::GetEncoderComplexityRange() in GetEncoderComplexityRange()
87 return Range(0, 0); in GetEncoderComplexityRange()
102 Range CodecListInnerMock::GetAudioChannelsRange() in GetAudioChannelsRange()
109 return Range(0, 0); in GetAudioChannelsRange()
132 Range CodecListInnerMock::GetVideoWidthRangeForHeight(int32_t height) in GetVideoWidthRangeForHeight()
139 return Range( in GetVideoWidthRangeForHeight()
[all...]
/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 GetVideoFrameRateRangeForSiz
[all...]
H A Dcodeclist_capi_mock.cpp64 Range CodecListCapiMock::GetEncoderBitrateRange() in GetEncoderBitrateRange()
66 Range retRange(0, 0); in GetEncoderBitrateRange()
91 Range CodecListCapiMock::GetEncoderQualityRange() in GetEncoderQualityRange()
93 Range retRange(0, 0); in GetEncoderQualityRange()
109 Range CodecListCapiMock::GetEncoderComplexityRange() in GetEncoderComplexityRange()
111 Range retRange(0, 0); in GetEncoderComplexityRange()
146 Range CodecListCapiMock::GetAudioChannelsRange() in GetAudioChannelsRange()
148 Range retRange(0, 0); in GetAudioChannelsRange()
194 Range CodecListCapiMock::GetVideoWidthRangeForHeight(int32_t height) in GetVideoWidthRangeForHeight()
196 Range retRang in GetVideoWidthRangeForHeight()
[all...]
/foundation/multimedia/av_codec/services/engine/codeclist/
H A Daudio_codeclist_info.cpp77 audioMp3Capability.bitrate = Range(MIN_BIT_RATE_MP3, MAX_BIT_RATE_MP3); in GetMP3DecoderCapability()
78 audioMp3Capability.channels = Range(1, MAX_CHANNEL_COUNT_MP3); in GetMP3DecoderCapability()
91 audioMp3Capability.bitrate = Range(MIN_BIT_RATE_MP3_ENCODE, MAX_BIT_RATE_MP3); in GetMP3EncoderCapability()
92 audioMp3Capability.channels = Range(1, MAX_CHANNEL_COUNT_MP3); in GetMP3EncoderCapability()
105 audioAacCapability.bitrate = Range(MIN_BIT_RATE_AAC, MAX_BIT_RATE_AAC); in GetAacDecoderCapability()
106 audioAacCapability.channels = Range(1, MAX_AUDIO_CHANNEL_COUNT); in GetAacDecoderCapability()
119 audioOpusCapability.bitrate = Range(1, MAX_BIT_RATE_OPUS); in GetOpusDecoderCapability()
120 audioOpusCapability.channels = Range(1, MAX_AUDIO_CHANNEL_COUNT); in GetOpusDecoderCapability()
133 audioFlacCapability.bitrate = Range(1, MAX_BIT_RATE_FLAC); in GetFlacDecoderCapability()
134 audioFlacCapability.channels = Range( in GetFlacDecoderCapability()
[all...]
/foundation/multimedia/player_framework/frameworks/native/avcodeclist/
H A Davcodec_info.cpp101 Range VideoCaps::GetSupportedBitrate() in GetSupportedBitrate()
123 Range VideoCaps::GetSupportedWidth() in GetSupportedWidth()
128 Range VideoCaps::GetSupportedHeight() in GetSupportedHeight()
147 Range VideoCaps::GetSupportedEncodeQuality() in GetSupportedEncodeQuality()
161 Range VideoCaps::GetSupportedFrameRate() in GetSupportedFrameRate()
166 Range VideoCaps::GetSupportedFrameRatesFor(int32_t width, int32_t height) in GetSupportedFrameRatesFor()
168 Range frameRatesRange; in GetSupportedFrameRatesFor()
176 frameRatesRange = Range( in GetSupportedFrameRatesFor()
205 Range blockPerFrameRange = Range( in LoadAVCLevelParams()
[all...]
/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;
/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() function
29 Range(T s, T e) : start(s), end(e) {} in Range() function
31 bool operator==(const Range<T>& other) const in operator ==()
/foundation/window/window_manager/utils/include/
H A Dwm_occlusion_region.h73 class Range { class
77 Range(int start, int end) : start_(start), end_(end) {} in Range() function in OHOS::Rosen::WmOcclusion::Range
78 bool operator==(const Range& r) in operator ==()
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>
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_particle_params.h62 Range<T> val_;
64 Range<float> random_;
67 Range<T>& val, ParticleUpdator updator, Range<float> random, std::vector<Change<T>>& valChangeOverLife) 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<Colo
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/common/
H A Drs_occlusion_region_test.cpp107 std::vector<Range> res; in HWTEST_F()
110 ASSERT_TRUE(res[0] == Range(0, 2)); in HWTEST_F()
120 ASSERT_TRUE(res[0] == Range(0, 2)); in HWTEST_F()
134 std::vector<Range> res; in HWTEST_F()
140 ASSERT_TRUE(res[0] == Range(0, 2)); in HWTEST_F()
147 ASSERT_TRUE(res[0] == Range(0, 2)); in HWTEST_F()
161 std::vector<Range> res; in HWTEST_F()
164 ASSERT_TRUE(res[0] == Range(0, 2)); in HWTEST_F()
168 ASSERT_TRUE(res[0] == Range(0, 2)); in HWTEST_F()
175 ASSERT_TRUE(res[2] == Range( in HWTEST_F()
[all...]
/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() function
46 Range(T a, T b) : start_(a), end_(b) {} in Range() function
76 Range<T> val_;
78 Range<float> random_;
80 RenderParticleParaType(const Range<T>& val, const ParticleUpdator& updator, const Range<float>& random, in RenderParticleParaType()
97 Range<int64_t> lifeTime_;
108 const int32_t& particleCount, const Range<int64_t>& lifeTime, const ParticleType& type, const float& radius, in EmitterConfig()
149 Range<floa
[all...]
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/opentype_parser/
H A Dranges.h29 struct Range { struct in OHOS::Rosen::TextEngine::Ranges
39 void AddRange(const struct Range &range);
54 std::vector<struct Range> ranges_;
/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);
/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}; in HWTEST_F()
194 OHOS::MediaAVCodec::Range res = videoCaps_->GetVideoWidthRangeForHeight(height_); in HWTEST_F()
207 const OHOS::MediaAVCodec::Range defaultBlockRange = {0, 0}; in HWTEST_F()
210 OHOS::MediaAVCodec::Range res = videoCaps_->GetVideoWidthRangeForHeight(height_); in HWTEST_F()
247 const OHOS::MediaAVCodec::Range defaultBlockRange = {0, 0}; in HWTEST_F()
250 OHOS::MediaAVCodec::Range res = videoCaps_->GetVideoHeightRangeForWidth(height_); in HWTEST_F()
263 const OHOS::MediaAVCodec::Range defaultBlockRange = {0, 0}; in HWTEST_F()
266 OHOS::MediaAVCodec::Range res = videoCaps_->GetVideoHeightRangeForWidth(height_); in HWTEST_F()
311 OHOS::MediaAVCodec::Range range = OHOS::MediaAVCodec::Range( in HWTEST_F()
[all...]
/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 GetVideoFrameRateRangeForSiz
[all...]
/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_typography_properties.h103 struct Range { struct in OHOS::Ace::Testing::TestingTypographyProperties
105 Range() : start_(), end_() {} in Range() function
106 Range(T a, T b) : start_(a), end_(b) {} in Range() function
107 bool operator==(const Range<T>& rhs) const in operator ==()
/foundation/multimedia/player_framework/services/services/sa_media/ipc/
H A Davcodeclist_parcel.h31 static bool Marshalling(MessageParcel &parcel, const std::map<ImgSize, Range> &mapSizeToRange);
35 static bool Unmarshalling(MessageParcel &parcel, std::map<ImgSize, Range> &mapSizeToRange);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_occlusion_region.h174 class Range { class
178 Range(int s, int e) : start_(s), end_(e) {} in Range() function in OHOS::Rosen::Occlusion::Range
179 bool operator==(const Range& r) in operator ==()
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>
[all...]
/foundation/multimedia/av_codec/services/services/sa_avcodec/ipc/
H A Dcodeclist_parcel.h31 static bool Marshalling(MessageParcel &parcel, const std::map<ImgSize, Range> &mapSizeToRange);
36 static bool Unmarshalling(MessageParcel &parcel, std::map<ImgSize, Range> &mapSizeToRange);

Completed in 218 milliseconds

1234