From 942cf59e9dfdc82692c16baffac2b0a4fc1c3b8d Mon Sep 17 00:00:00 2001 From: Wu Jianhua Date: Sun, 27 Apr 2025 19:44:38 +0800 Subject: [PATCH] avcodec/h274: add H274SEIPictureHash struct Signed-off-by: Wu Jianhua --- libavcodec/h274.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libavcodec/h274.h b/libavcodec/h274.h index cebc8becb3..e1803edaf3 100644 --- a/libavcodec/h274.h +++ b/libavcodec/h274.h @@ -64,4 +64,14 @@ int ff_h274_apply_film_grain(AVFrame *out, const AVFrame *in, H274FilmGrainDatabase *db, const AVFilmGrainParams *params); +typedef struct H274SEIPictureHash { + int present; + union { + uint8_t md5[3][16]; + uint16_t crc[3]; + uint32_t checksum[3]; + }; + uint8_t hash_type; +} H274SEIPictureHash; + #endif /* AVCODEC_H274_H */