summaryrefslogtreecommitdiff
path: root/libavcodec/h264data.h
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2006-12-05 21:52:15 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2006-12-05 21:52:15 +0000
commit550e66cb59cf997cfae7627c5a9072147a831129 (patch)
tree4a93ef38a62eecc89926afe804175f18d7403891 /libavcodec/h264data.h
parent3c13202396ec110308ed62656cbbc0e540774f69 (diff)
Change NAL unit type defines to an enum and move to a header file for usage
in other code. Originally committed as revision 7226 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264data.h')
-rw-r--r--libavcodec/h264data.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/libavcodec/h264data.h b/libavcodec/h264data.h
index 2dea3580f7..a21db32db1 100644
--- a/libavcodec/h264data.h
+++ b/libavcodec/h264data.h
@@ -53,6 +53,24 @@
#define EXTENDED_SAR 255
+/* NAL unit types */
+enum {
+NAL_SLICE=1,
+NAL_DPA,
+NAL_DPB,
+NAL_DPC,
+NAL_IDR_SLICE,
+NAL_SEI,
+NAL_SPS,
+NAL_PPS,
+NAL_AUD,
+NAL_END_SEQUENCE,
+NAL_END_STREAM,
+NAL_FILLER_DATA,
+NAL_SPS_EXT,
+NAL_AUXILIARY_SLICE=19
+};
+
static const AVRational pixel_aspect[14]={
{0, 1},
{1, 1},