avutil/dovi_meta - fix L11 dovi metadata definition

deprecate the incorrect fields in AVDOVIDmLevel11 and schedule them
for removal
This commit is contained in:
Cosmin Stejerean
2025-11-18 13:45:37 -08:00
committed by Niklas Haas
parent 56bc8fd0a1
commit 3474ec01e7
2 changed files with 9 additions and 0 deletions

View File

@@ -279,12 +279,20 @@ typedef struct AVDOVIDmLevel11 {
uint8_t content_type;
uint8_t whitepoint;
uint8_t reference_mode_flag;
#if FF_API_DOVI_L11_INVALID_PROPS
attribute_deprecated
uint8_t sharpness;
attribute_deprecated
uint8_t noise_reduction;
attribute_deprecated
uint8_t mpeg_noise_reduction;
attribute_deprecated
uint8_t frame_rate_conversion;
attribute_deprecated
uint8_t brightness;
attribute_deprecated
uint8_t color;
#endif
} AVDOVIDmLevel11;
typedef struct AVDOVIDmLevel254 {

View File

@@ -111,6 +111,7 @@
#define FF_API_OPT_INT_LIST (LIBAVUTIL_VERSION_MAJOR < 61)
#define FF_API_OPT_PTR (LIBAVUTIL_VERSION_MAJOR < 61)
#define FF_API_CPU_FLAG_FORCE (LIBAVUTIL_VERSION_MAJOR < 61)
#define FF_API_DOVI_L11_INVALID_PROPS (LIBAVUTIL_VERSION_MAJOR < 61)
/**
* @}