[FFmpeg-cvslog] avcodec/h274: add H274SEIFrameFieldInfo struct

Wu Jianhua git at videolan.org
Sat May 31 04:49:54 EEST 2025


ffmpeg | branch: master | Wu Jianhua <toqsxw at outlook.com> | Sun Apr 27 19:44:46 2025 +0800| [299544bd0cb9702a499bc37606b45e2d006172d2] | committer: Nuo Mi

avcodec/h274: add H274SEIFrameFieldInfo struct

Signed-off-by: Wu Jianhua <toqsxw at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=299544bd0cb9702a499bc37606b45e2d006172d2
---

 libavcodec/h274.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/libavcodec/h274.h b/libavcodec/h274.h
index 0ca5f0cbab..055dd591d2 100644
--- a/libavcodec/h274.h
+++ b/libavcodec/h274.h
@@ -81,4 +81,12 @@ int ff_h274_hash_verify(H274HashContext *c, const H274SEIPictureHash *hash,
     const AVFrame *frame, int coded_width, int coded_height);
 void ff_h274_hash_freep(H274HashContext **c);
 
+typedef struct H274SEIFrameFieldInfo {
+    int present;
+    int picture_struct;
+    uint8_t display_elemental_periods;
+    uint8_t source_scan_type;
+    uint8_t duplicate_flag;
+} H274SEIFrameFieldInfo;
+
 #endif /* AVCODEC_H274_H */



More information about the ffmpeg-cvslog mailing list