diff --git a/interfaces/inner_api/algorithm_video.h b/interfaces/inner_api/algorithm_video.h index 2a50c1c..046c7e5 100644 --- a/interfaces/inner_api/algorithm_video.h +++ b/interfaces/inner_api/algorithm_video.h @@ -40,6 +40,16 @@ public: */ static std::shared_ptr 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}. diff --git a/interfaces/inner_api/algorithm_video_common.h b/interfaces/inner_api/algorithm_video_common.h index 7ce1e94..8be7557 100644 --- a/interfaces/inner_api/algorithm_video_common.h +++ b/interfaces/inner_api/algorithm_video_common.h @@ -56,6 +56,7 @@ enum VpeVideoType : uint32_t { * @version 5.1 */ VIDEO_TYPE_DETAIL_ENHANCER = 0x4, + VIDEO_TYPE_AIHDR_ENHANCER = 0x8, }; /**