Home
last modified time | relevance | path

Searched refs:Capability (Results 1 – 25 of 400) sorted by relevance

12345678910>>...16

/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/core/
H A Dcompatible_check.h39 bool MergeCapabilityKeys(const Capability& originCap, const Capability& otherCap, Capability& resCa…
50 bool MergeCapability(const Capability& originCap, const Capability& otherCap, Capability& resCap);
59 std::shared_ptr<Capability> MetaToCapability(const Plugin::Meta& meta);
74 bool MergeMetaWithCapability(const Plugin::Meta& meta, const Capability& cap, Plugin::Meta& resMeta…
76 bool ApplyCapabilitySet(const Capability& originCap, const CapabilitySet& capabilitySet, Capability
H A Dport.h59 virtual bool Negotiate(const std::shared_ptr<const Plugin::Capability>& upstreamCap,
60 Plugin::Capability& negotiatedCap,
91 bool Negotiate(const std::shared_ptr<const Plugin::Capability>& upstreamCap,
92 Plugin::Capability& negotiatedCap,
113 bool Negotiate(const std::shared_ptr<const Plugin::Capability>& upstreamCap,
114 Plugin::Capability& negotiatedCap,
139 bool Negotiate(const std::shared_ptr<const Plugin::Capability>& upstreamCap,
140 Plugin::Capability& negotiatedCap,
162 bool Negotiate(const std::shared_ptr<const Plugin::Capability>& upstreamCap,
163 Plugin::Capability& negotiatedCap,
H A Dcompatible_check.cpp101 using CheckFunc = std::function<bool(Capability::Key key, const Plugin::ValueType& val1, const Plug…
365 bool MergeCapabilityKeys(const Capability& originCap, const Capability& otherCap, Capability& resCa… in MergeCapabilityKeys()
401 bool MergeCapability(const Capability& originCap, const Capability& otherCap, Capability& resCap) in MergeCapability()
415 bool ApplyCapabilitySet(const Capability& originCap, const CapabilitySet& capabilitySet, Capability in ApplyCapabilitySet()
417 Capability tmp; in ApplyCapabilitySet()
446 std::shared_ptr<Capability> MetaToCapability(const Plugin::Meta& meta) in MetaToCapability()
448 auto ret = std::make_shared<Capability>(); in MetaToCapability()
462 bool MergeMetaWithCapability(const Plugin::Meta& meta, const Capability& cap, Plugin::Meta& resMeta) in MergeMetaWithCapability()
466 Capability metaCap; in MergeMetaWithCapability()
474 Capability resCap; in MergeMetaWithCapability()
H A Dport.cpp74 bool InPort::Negotiate(const std::shared_ptr<const Plugin::Capability>& upstreamCap, in Negotiate()
75 Plugin::Capability& negotiatedCap, in Negotiate()
160 bool OutPort::Negotiate(const std::shared_ptr<const Plugin::Capability>& upstreamCap, in Negotiate()
161 Plugin::Capability& negotiatedCap, in Negotiate()
203 bool EmptyInPort::Negotiate(const std::shared_ptr<const Plugin::Capability>& upstreamCap, in Negotiate()
204 Plugin::Capability& negotiatedCap, in Negotiate()
254 bool EmptyOutPort::Negotiate(const std::shared_ptr<const Plugin::Capability>& upstreamCap, in Negotiate()
255 Plugin::Capability& negotiatedCap, in Negotiate()
H A Dtype_define.h27 using Capability = Plugin::Capability; variable
29 using CapabilityID = Plugin::Capability::Key;
/ohos5.0/foundation/multimedia/media_foundation/test/unittest/
H A DTestCompatibleCheck.cpp35 Capability wildcard {"*"};
37 Capability testWildcard {"test/*"};
43 Capability out;
85 Capability out;
136 Capability out;
187 Capability out;
238 Capability out;
289 Capability out;
340 Capability out;
391 Capability out;
[all …]
/ohos5.0/foundation/multimedia/media_foundation/src/common/
H A Dplugin_caps_builder.h85 DECL_SET_FRL_CAP_FUNCS(Capability::Key::MEDIA_BITRATE, BitRate, uint32_t);
87 DECL_SET_FRL_CAP_FUNCS(Capability::Key::AUDIO_SAMPLE_RATE, AudioSampleRate, uint32_t);
89 DECL_SET_FRL_CAP_FUNCS(Capability::Key::AUDIO_CHANNELS, AudioChannel, uint32_t);
93 … DECL_SET_FL_CAP_FUNCS(Capability::Key::AUDIO_SAMPLE_FORMAT, AudioSampleFormat, AudioSampleFormat);
95 DECL_SET_FRL_CAP_FUNCS(Capability::Key::AUDIO_MPEG_VERSION, AudioMpegVersion, uint32_t);
96 DECL_SET_FRL_CAP_FUNCS(Capability::Key::AUDIO_MPEG_LAYER, AudioMpegLayer, uint32_t);
98 DECL_SET_FL_CAP_FUNCS(Capability::Key::AUDIO_AAC_PROFILE, AudioAacProfile, AudioAacProfile);
100 DECL_SET_FRL_CAP_FUNCS(Capability::Key::AUDIO_AAC_LEVEL, AudioAacLevel, uint32_t);
104 DECL_SET_FL_CAP_FUNCS(Capability::Key::VIDEO_PIXEL_FORMAT, VideoPixelFormat, VideoPixelFormat);
113 const Capability& Build() const in Build()
[all …]
/ohos5.0/foundation/multimedia/media_foundation/engine/include/plugin/common/
H A Dplugin_caps_builder.h85 DECL_SET_FRL_CAP_FUNCS(Capability::Key::MEDIA_BITRATE, BitRate, uint32_t);
87 DECL_SET_FRL_CAP_FUNCS(Capability::Key::AUDIO_SAMPLE_RATE, AudioSampleRate, uint32_t);
89 DECL_SET_FRL_CAP_FUNCS(Capability::Key::AUDIO_CHANNELS, AudioChannel, uint32_t);
93 … DECL_SET_FL_CAP_FUNCS(Capability::Key::AUDIO_SAMPLE_FORMAT, AudioSampleFormat, AudioSampleFormat);
95 DECL_SET_FRL_CAP_FUNCS(Capability::Key::AUDIO_MPEG_VERSION, AudioMpegVersion, uint32_t);
96 DECL_SET_FRL_CAP_FUNCS(Capability::Key::AUDIO_MPEG_LAYER, AudioMpegLayer, uint32_t);
98 DECL_SET_FL_CAP_FUNCS(Capability::Key::AUDIO_AAC_PROFILE, AudioAacProfile, AudioAacProfile);
100 DECL_SET_FRL_CAP_FUNCS(Capability::Key::AUDIO_AAC_LEVEL, AudioAacLevel, uint32_t);
104 DECL_SET_FL_CAP_FUNCS(Capability::Key::VIDEO_PIXEL_FORMAT, VideoPixelFormat, VideoPixelFormat);
113 const Capability& Build() const in Build()
[all …]
H A Dplugin_caps.h44 struct Capability { struct
73 Capability() = default; argument
80 explicit Capability(std::string m):mime(std::move(m)){} in Capability() argument
91 Capability& AppendFixedKey(Key key, const T& val) in AppendFixedKey() argument
107 Capability& AppendIntervalKey(Key key, const T& rangeStart, const T& rangeEnd) in AppendIntervalKey() argument
122 Capability& AppendDiscreteKeys(Key key, DiscreteCapability<T> discreteValues) in AppendDiscreteKeys() argument
134 Capability& SetMime(std::string val) in SetMime() argument
148 using CapabilitySet = std::vector<Capability>; argument
/ohos5.0/foundation/multimedia/image_framework/plugins/manager/src/framework/
H A Dcapability.cpp33 const string Capability::CAPABILITY_BOOL_TRUE = "true";
34 const string Capability::CAPABILITY_BOOL_FALSE = "false";
36 Capability::Capability(const map<string, AttrData> &caps) : caps_(caps) in Capability() function in OHOS::MultimediaPlugin::Capability
39 Capability::Capability(map<string, AttrData> &&caps) : caps_(std::move(caps)) in Capability() function in OHOS::MultimediaPlugin::Capability
42 uint32_t Capability::SetCapability(const json &capsInfo) in SetCapability()
76 bool Capability::IsCompatible(const map<string, AttrData> &caps) const in IsCompatible()
92 const AttrData *Capability::GetCapability(const string &key) const in GetCapability()
102 const std::map<std::string, AttrData> &Capability::GetCapability() const in GetCapability()
159 uint32_t Capability::AnalyzeBool(const json &capInfo, AttrData &attrData) in AnalyzeBool()
183 uint32_t Capability::AnalyzeUint32(const json &capInfo, AttrData &attrData) in AnalyzeUint32()
[all …]
H A Dcapability.h27 class Capability final {
29 Capability() = default;
30 explicit Capability(const std::map<std::string, AttrData> &caps);
31 explicit Capability(std::map<std::string, AttrData> &&caps);
32 ~Capability() = default;
/ohos5.0/foundation/multimedia/media_foundation/interface/inner_api/plugin/
H A Dplugin_caps.h46 struct Capability { struct
48 Capability() = default;
55 explicit Capability(std::string m) : mime(std::move(m)) {} in Capability() argument
66 Capability& AppendFixedKey(TagType key, const T& val) in AppendFixedKey() argument
91 Capability& AppendIntervalKey(TagType key, const T& rangeStart, const T& rangeEnd) in AppendIntervalKey() argument
106 Capability& AppendDiscreteKeys(TagType key, DiscreteCapability<T> discreteValues) in AppendDiscreteKeys() argument
118 Capability& SetMime(std::string val) in SetMime() argument
132 using CapabilitySet = std::vector<Capability>; argument
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/doc/ApiDoc/P2PManagerDoc/
H A DP2PManager功能界面使用说明文档.md145 * @throws {BusinessError} 801 - Capability not supported.
160 - @throws {BusinessError} 801 - Capability not supported.
175 - @throws {BusinessError} 801 - Capability not supported.
190 - @throws {BusinessError} 801 - Capability not supported.
207 * @throws {BusinessError} 801 - Capability not supported.
240 * @throws {BusinessError} 801 - Capability not supported.
256 - @throws {BusinessError} 801 - Capability not supported.
271 * @throws {BusinessError} 801 - Capability not supported.
286 * @throws {BusinessError} 801 - Capability not supported.
303 * @throws {BusinessError} 801 - Capability not supported.
[all …]
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/doc/ApiDoc/WIFIManagerDoc/
H A DWIFIManager功能界面使用说明文档.md295 * @throws {BusinessError} 801 - Capability not supported.
312 - @throws {BusinessError} 801 - Capability not supported.
327 - @throws {BusinessError} 801 - Capability not supported.
342 * @throws {BusinessError} 801 - Capability not supported.
360 * @throws {BusinessError} 801 - Capability not supported.
377 - @throws {BusinessError} 801 - Capability not supported.
394 - @throws {BusinessError} 801 - Capability not supported.
410 - @throws {BusinessError} 801 - Capability not supported.
427 - @throws {BusinessError} 801 - Capability not supported.
446 - @throws {BusinessError} 801 - Capability not supported.
[all …]
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/GattManagerDoc/
H A DGattManager测试使用说明文档.md118 * @throws { BusinessError } 801 - Capability not supported.
135 * @throws { BusinessError } 801 - Capability not supported.
154 - @throws { BusinessError } 801 - Capability not supported.
164 - @throws { BusinessError } 801 - Capability not supported.
176 - @throws { BusinessError } 801 - Capability not supported.
188 - @throws { BusinessError } 801 - Capability not supported.
201 * @throws { BusinessError } 801 - Capability not supported.
214 * @throws { BusinessError } 801 - Capability not supported.
227 * @throws { BusinessError } 801 - Capability not supported.
399 - @throws { BusinessError } 801 - Capability not supported.
[all …]
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/utils/
H A Dffmpeg_codec_map.cpp23 bool CodecId2Cap(AVCodecID codecId, bool encoder, Plugin::Capability& cap) in CodecId2Cap()
28 .AppendFixedKey<uint32_t>(Capability::Key::AUDIO_MPEG_VERSION, 1) in CodecId2Cap()
29 .AppendIntervalKey<uint32_t>(Capability::Key::AUDIO_MPEG_LAYER, 1, 3); // 3 in CodecId2Cap()
57 outCaps.emplace_back(Capability(MEDIA_MIME_CONTAINER_MP4)); in FormatName2Cap()
60 outCaps.emplace_back(Capability(MEDIA_MIME_VIDEO_H264)); in FormatName2Cap()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/doc/ApiDoc/HotspotManagerDoc/
H A DHotspotManager功能界面使用说明文档.md103 * @throws {BusinessError} 801 - Capability not supported.
119 * @throws {BusinessError} 801 - Capability not supported.
135 - @throws {BusinessError} 801 - Capability not supported.
155 * @throws {BusinessError} 801 - Capability not supported.
171 - @throws {BusinessError} 801 - Capability not supported.
187 * @throws {BusinessError} 801 - Capability not supported.
216 * @throws {BusinessError} 801 - Capability not supported.
242 * @throws {BusinessError} 801 - Capability not supported.
268 * @throws {BusinessError} 801 - Capability not supported.
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/source/audio_capture/
H A Daudio_capture_filter.cpp243 if (capNegWithDownstream_.keys.count(Capability::Key::AUDIO_SAMPLE_FORMAT)) { in PickPreferParameters()
431 bool AudioCaptureFilter::CheckSampleRate(const Plugin::Capability& cap) in CheckSampleRate()
437 if (pairKey.first != Capability::Key::AUDIO_SAMPLE_RATE || in CheckSampleRate()
451 bool AudioCaptureFilter::CheckChannels(const Plugin::Capability& cap) in CheckChannels()
457 if (pairKey.first != Capability::Key::AUDIO_CHANNELS || in CheckChannels()
471 bool AudioCaptureFilter::CheckSampleFormat(const Plugin::Capability& cap) in CheckSampleFormat()
477 if (pairKey.first != Capability::Key::AUDIO_SAMPLE_FORMAT || in CheckSampleFormat()
502 auto thisOut = std::make_shared<Plugin::Capability>(); in DoNegotiate()
508 thisOut->keys[Capability::Key::AUDIO_SAMPLE_RATE] = sampleRate_; in DoNegotiate()
511 thisOut->keys[Capability::Key::AUDIO_CHANNELS] = channelNum_; in DoNegotiate()
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-connectivity-kit/
H A Djs-apis-wifiManager-sys.md34 | 801 | Capability not supported. |
70 | 801 | Capability not supported. |
106 | 801 | Capability not supported. |
142 | 801 | Capability not supported. |
184 | 801 | Capability not supported. |
224 | 801 | Capability not supported. |
273 | 801 | Capability not supported. |
408 | 801 | Capability not supported. |
459 | 801 | Capability not supported. |
504 | 801 | Capability not supported. |
[all …]
H A Djs-apis-wifiManager.md37 | 801 | Capability not supported. |
73 | 801 | Capability not supported. |
116 | 801 | Capability not supported. |
145 | 801 | Capability not supported. |
219 | 801 | Capability not supported. |
276 | 801 | Capability not supported. |
575 | 801 | Capability not supported. |
625 | 801 | Capability not supported. |
678 | 801 | Capability not supported. |
726 | 801 | Capability not supported. |
[all …]
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/common/
H A Dplugin_utils.cpp377 std::vector<std::pair<std::shared_ptr<Plugin::PluginInfo>, Plugin::Capability>> infos; in FindAvailablePlugins()
383 Capability cap; in FindAvailablePlugins()
456 std::string Capability2String(const Capability& capability) in Capability2String()
458 const static std::map<Capability::Key, CapStrnessFunc> capStrnessMap = { in Capability2String()
459 {Capability::Key::MEDIA_BITRATE, CapKeyStringiness<int64_t>}, in Capability2String()
460 {Capability::Key::AUDIO_SAMPLE_RATE, CapKeyStringiness<uint32_t>}, in Capability2String()
461 {Capability::Key::AUDIO_CHANNELS, CapKeyStringiness<uint32_t>}, in Capability2String()
464 {Capability::Key::AUDIO_MPEG_VERSION, CapKeyStringiness<uint32_t>}, in Capability2String()
465 {Capability::Key::AUDIO_MPEG_LAYER, CapKeyStringiness<uint32_t>}, in Capability2String()
466 {Capability::Key::AUDIO_AAC_PROFILE, CapKeyStringiness<Plugin::AudioAacProfile>}, in Capability2String()
[all …]
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/codec/
H A Dcodec_filter_base.h50 const std::shared_ptr<const Plugin::Capability>& upstreamCap,
51 Plugin::Capability& negotiatedCap,
71 bool CheckRequiredOutCapKeys(const Capability& capability);
73 virtual std::vector<Capability::Key> GetRequiredOutCapKeys();
104 Capability capNegWithDownstream_ {};
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/effect/pipeline/include/core/
H A Dcapability_negotiate.h30 std::vector<std::shared_ptr<Capability>> &GetCapabilityList();
32 void AddCapability(std::shared_ptr<Capability> &capability);
36 std::vector<std::shared_ptr<Capability>> caps_;
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/BrManagerDoc/
H A D经典蓝牙Manager使用说明文档.md272 * @throws { BusinessError } 801 - Capability not supported.
313 * @throws { BusinessError } 801 - Capability not supported.
331 * @throws { BusinessError } 801 - Capability not supported.
353 - @throws { BusinessError } 801 - Capability not supported.
371 * @throws { BusinessError } 801 - Capability not supported.
395 * @throws { BusinessError } 801 - Capability not supported.
413 * @throws { BusinessError } 801 - Capability not supported.
430 * @throws { BusinessError } 801 - Capability not supported.
454 - @throws { BusinessError } 801 - Capability not supported.
503 - @throws { BusinessError } 801 - Capability not supported.
/ohos5.0/foundation/multimedia/media_foundation/engine/include/pipeline/filters/codec/audio_encoder/
H A Daudio_encoder_filter.h40 const std::shared_ptr<const Plugin::Capability>& upstreamCap,
41 Plugin::Capability& negotiatedCap,
74 Capability capNegWithDownstream_;
75 Capability capNegWithUpstream_;

12345678910>>...16