aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sei.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-06-29 12:24:28 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-12-01 11:00:41 +0100
commit38d0d12c4641746a28656f09e158d5d0bac1d04d (patch)
treec52a3aa06d1ee1fc1d8d626e037c90c50d9eacb2 /libavcodec/sei.h
parent3bafc4ead42668a60b479e4e37b91efe2d46413f (diff)
downloadffmpeg-38d0d12c4641746a28656f09e158d5d0bac1d04d.tar.gz
avcodec/h264_sei, sei: Make H264_SEI_FpaType generic
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/sei.h')
-rw-r--r--libavcodec/sei.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libavcodec/sei.h b/libavcodec/sei.h
index f13c37c308..f96b7b647b 100644
--- a/libavcodec/sei.h
+++ b/libavcodec/sei.h
@@ -137,4 +137,21 @@ enum SEIType {
SEI_TYPE_SAMPLE_ASPECT_RATIO_INFO = 204,
};
+/**
+ * frame_packing_arrangement types. H.265 and H.274 use only 3..5
+ * with all the other values being reserved. H.264 uses a few more values
+ * that are prefixed with SEI_FPA_H264 in the enum below.
+ *
+ * The semantics of the common values are the same for all standards.
+ */
+typedef enum {
+ SEI_FPA_H264_TYPE_CHECKERBOARD = 0,
+ SEI_FPA_H264_TYPE_INTERLEAVE_COLUMN = 1,
+ SEI_FPA_H264_TYPE_INTERLEAVE_ROW = 2,
+ SEI_FPA_TYPE_SIDE_BY_SIDE = 3,
+ SEI_FPA_TYPE_TOP_BOTTOM = 4,
+ SEI_FPA_TYPE_INTERLEAVE_TEMPORAL = 5,
+ SEI_FPA_H264_TYPE_2D = 6,
+} SEIFpaType;
+
#endif /* AVCODEC_SEI_H */