[FFmpeg-devel] [PATCH v1 07/19] avcodec/h274: add H274SEIPictureHash struct

toqsxw at gmail.com toqsxw at gmail.com
Tue Apr 1 20:16:04 EEST 2025


From: Wu Jianhua <toqsxw at outlook.com>

Signed-off-by: Wu Jianhua <toqsxw at outlook.com>
---
 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 */
-- 
2.44.0.windows.1



More information about the ffmpeg-devel mailing list