From 3bc35c59ab64f60c3f73eaa83ada600859999493 Mon Sep 17 00:00:00 2001 From: Miroslav Goncharenko Date: Thu, 23 Mar 2023 17:31:15 +0100 Subject: [PATCH] api: Update mfxstructures.h (#4881) Deprecated encode parameter `mfxExtCodingOption2::BitrateLimit` on VDEnc. Because VDEnc supports encoding smaller bitrate without noticeable corruption after BRC algorithm refactoring. Co-authored-by: Otto --- api/vpl/mfxstructures.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/vpl/mfxstructures.h b/api/vpl/mfxstructures.h index 1e8d457d7d..0d89ff7895 100644 --- a/api/vpl/mfxstructures.h +++ b/api/vpl/mfxstructures.h @@ -1374,8 +1374,10 @@ typedef struct { This parameter is valid only during initialization. Flag works with MFX_CODEC_AVC only, it is ignored with other codecs. See the CodingOptionValue enumerator for values of this option. + + @deprecated Deprecated in API version 2.9 */ - mfxU16 BitrateLimit; + MFX_DEPRECATED mfxU16 BitrateLimit; /* Deprecated */ /*! Setting this flag enables macroblock level bitrate control that generally improves subjective visual quality. Enabling this flag may have negative impact on performance and objective visual quality metric. See the CodingOptionValue enumerator for values of this option.