aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWu Jianhua <toqsxw@outlook.com>2025-04-27 19:44:38 +0800
committerNuo Mi <nuomi2021@gmail.com>2025-05-31 09:35:54 +0800
commit942cf59e9dfdc82692c16baffac2b0a4fc1c3b8d (patch)
tree257bb014f58cf2851075543e1dc0467d4aa4059d
parent312f8ef2ca9a546449fd6348370e7a7e11bda729 (diff)
downloadffmpeg-942cf59e9dfdc82692c16baffac2b0a4fc1c3b8d.tar.gz
avcodec/h274: add H274SEIPictureHash struct
Signed-off-by: Wu Jianhua <toqsxw@outlook.com>
-rw-r--r--libavcodec/h274.h10
1 files changed, 10 insertions, 0 deletions
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 */