vpe add isSupported interface

Signed-off-by: zhouxubo <zhouxubo@huawei.com>
This commit is contained in:
zhouxubo
2025-05-07 14:27:58 +08:00
parent 3c2ab1fed3
commit 87e2afa5bb
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -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}.