[FFmpeg-cvslog] avutil/frame: add new interlaced and top_field_first flags

James Almer git at videolan.org
Fri May 5 02:50:39 EEST 2023


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Apr 11 13:59:49 2023 -0300| [2df4e054d4b8f69ce3c2c06aace9df9ba6d2ac2e] | committer: James Almer

avutil/frame: add new interlaced and top_field_first flags

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavutil/frame.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/libavutil/frame.h b/libavutil/frame.h
index f85d630c5c..125ba3aa35 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -586,6 +586,15 @@ typedef struct AVFrame {
  * A flag to mark the frames which need to be decoded, but shouldn't be output.
  */
 #define AV_FRAME_FLAG_DISCARD   (1 << 2)
+/**
+ * A flag to mark frames whose content is interlaced.
+ */
+#define AV_FRAME_FLAG_INTERLACED (1 << 3)
+/**
+ * A flag to mark frames where the top field is displayed first if the content
+ * is interlaced.
+ */
+#define AV_FRAME_FLAG_TOP_FIELD_FIRST (1 << 4)
 /**
  * @}
  */



More information about the ffmpeg-cvslog mailing list