diff options
author | James Almer <jamrial@gmail.com> | 2023-04-11 13:59:49 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-05-04 17:40:24 -0300 |
commit | 2df4e054d4b8f69ce3c2c06aace9df9ba6d2ac2e (patch) | |
tree | 851434bb3d7ce4a94ce02d0f026f6bb15cf06dee /libavutil | |
parent | 4006c71d19e77fbaacc5242fabf077cc84c9088c (diff) | |
download | ffmpeg-2df4e054d4b8f69ce3c2c06aace9df9ba6d2ac2e.tar.gz |
avutil/frame: add new interlaced and top_field_first flags
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/frame.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavutil/frame.h b/libavutil/frame.h index f85d630c5c..125ba3aa35 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -587,6 +587,15 @@ typedef struct AVFrame { */ #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) +/** * @} */ |