diff options
author | Niklas Haas <git@haasn.dev> | 2024-06-09 16:43:29 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2024-06-18 21:18:30 +0200 |
commit | 7bf08a5b2d379bc9e4f4422788195f5421b3d72a (patch) | |
tree | 22d9b1befa2a56cfec8a3e84e6fdf7efe1c7fc3e /libavcodec/dovi_rpu.h | |
parent | ae7bff55df53e29ad3d443e097feb12227003d86 (diff) | |
download | ffmpeg-7bf08a5b2d379bc9e4f4422788195f5421b3d72a.tar.gz |
avcodec/dovi_rpu: simplify vdr type
Storing the color metadata alongside the data mapping is no longer
needed, so we can simplify this array's type.
Diffstat (limited to 'libavcodec/dovi_rpu.h')
-rw-r--r-- | libavcodec/dovi_rpu.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/dovi_rpu.h b/libavcodec/dovi_rpu.h index da9bd67cde..058d50c64f 100644 --- a/libavcodec/dovi_rpu.h +++ b/libavcodec/dovi_rpu.h @@ -75,7 +75,7 @@ typedef struct DOVIContext { * Private fields internal to dovi_rpu.c */ AVDOVIColorMetadata *dm; ///< RefStruct - struct DOVIVdr *vdr[DOVI_MAX_DM_ID+1]; ///< RefStruct references + AVDOVIDataMapping *vdr[DOVI_MAX_DM_ID+1]; ///< RefStruct references uint8_t *rpu_buf; ///< temporary buffer unsigned rpu_buf_sz; @@ -127,11 +127,6 @@ int ff_dovi_configure(DOVIContext *s, AVCodecContext *avctx); * The following section is for internal use only. * ***************************************************/ -typedef struct DOVIVdr { - AVDOVIDataMapping mapping; - AVDOVIColorMetadata color; -} DOVIVdr; - enum { RPU_COEFF_FIXED = 0, RPU_COEFF_FLOAT = 1, |