mirror of
https://github.com/openharmony/multimedia_video_processing_engine.git
synced 2026-07-19 19:13:31 -04:00
vpe add isSupported interface
Signed-off-by: zhouxubo <zhouxubo@huawei.com>
This commit is contained in:
@@ -40,6 +40,16 @@ public:
|
||||
*/
|
||||
static std::shared_ptr<VpeVideo> Create(uint32_t type);
|
||||
|
||||
/**
|
||||
* @brief Query whether the feature altorithm is supported.
|
||||
* @param type Use VIDEO_TYPE_XXX to specify the processing type. For details, see {@link VpeVideoType}.
|
||||
* @param parameter The parameter of video processing.
|
||||
* @return true if the feature altorithm is supported. false If the feature altorithm is unsupported.
|
||||
* @since 5.1
|
||||
* @version 5.1
|
||||
*/
|
||||
static bool IsSupported(uint32_t type, const Format& parameter);
|
||||
|
||||
/**
|
||||
* @brief Register callback object.
|
||||
* @param callback Callback object to be registered. For details, see {@link VpeVideoCallback}.
|
||||
|
||||
Reference in New Issue
Block a user