diff --git a/multimedia/av_codec/codec_base/libnative_media_codecbase.ndk.json b/multimedia/av_codec/codec_base/libnative_media_codecbase.ndk.json index 747c34aa2c4141d98c84ceb9af650f3df6feb49a..54a2ea40b469de2c0586ee25a5ca673fc15fd55f 100644 --- a/multimedia/av_codec/codec_base/libnative_media_codecbase.ndk.json +++ b/multimedia/av_codec/codec_base/libnative_media_codecbase.ndk.json @@ -409,13 +409,5 @@ { "first_introduced": "10", "name": "OH_AVCapability_AreProfileAndLevelSupported" - }, - { - "first_introduced": "12", - "name": "OH_AVCapability_IsFeatureSupported" - }, - { - "first_introduced": "12", - "name": "OH_AVCapability_GetFeatureProperties" } ] diff --git a/multimedia/av_codec/native_avcapability.h b/multimedia/av_codec/native_avcapability.h index a635d0583c4a35fa7bbded4e2bc5ce7583565821..043678aab03b8fb3761b663e3a429606921e202b 100644 --- a/multimedia/av_codec/native_avcapability.h +++ b/multimedia/av_codec/native_avcapability.h @@ -59,20 +59,6 @@ typedef enum OH_AVCodecCategory { SOFTWARE } OH_AVCodecCategory; -/** - * @brief The enum of optional features that can be used in specific codec seenarios. - * @syscap SystemCapability.Multimedia.Media.CodecBase - * @since 12 - */ -typedef enum OH_AVCapabilityFeature { - /** Feature for codec supports temporal scalability. It is only used in video encoder. */ - VIDEO_ENCODER_TEMPORAL_SCALABILITY = 0, - /** Feature for codec supports long-term reference. It is only used in video encoder. */ - VIDEO_ENCODER_LONG_TERM_REFERENCE = 1, - /** Feature for codec supports low latency. It is used in video encoder and video decoder. */ - VIDEO_LOW_LATENCY = 2, -} OH_AVCapabilityFeature; - /** * @brief Get a system-recommended codec's capability. * @syscap SystemCapability.Multimedia.Media.CodecBase @@ -364,27 +350,6 @@ OH_AVErrCode OH_AVCapability_GetSupportedLevelsForProfile(OH_AVCapability *capab */ bool OH_AVCapability_AreProfileAndLevelSupported(OH_AVCapability *capability, int32_t profile, int32_t level); -/** - * @brief Check if the codec supports the specified feature. - * @syscap SystemCapability.Multimedia.Media.CodecBase - * @param capability Codec capability pointer - * @param feature Feature enum, refer to {@link OH_AVCapabilityFeature} for details - * @return Returns true if the feature is supported, false if it is not supported - * @since 12 - */ -bool OH_AVCapability_IsFeatureSupported(OH_AVCapability *capability, OH_AVCapabilityFeature feature); - -/** - * @brief Get the properties of the specified feature. It should be noted that the life cycle of the OH_AVFormat - * instance pointed to by the return value * needs to be manually released by the caller. - * @syscap SystemCapability.Multimedia.Media.CodecBase - * @param capability Codec capability pointer - * @param feature Feature enum, refer to {@link OH_AVCapabilityFeature} for details - * @return Returns a pointer to an OH_AVFormat instance - * @since 12 - */ -OH_AVFormat *OH_AVCapability_GetFeatureProperties(OH_AVCapability *capability, OH_AVCapabilityFeature feature); - #ifdef __cplusplus } #endif