diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2008-05-08 21:47:31 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2008-05-08 21:47:31 +0000 |
commit | 53a1e82bd25f926679a165a6c632ccc799fddb3c (patch) | |
tree | 82785f3db0cf12c976594a88ee4ba79550f9e951 /libavformat/matroska.h | |
parent | 40d0e665d09aca5918c0b70b7045f32fae71f3eb (diff) | |
download | ffmpeg-53a1e82bd25f926679a165a6c632ccc799fddb3c.tar.gz |
matroskadec: add support for track content encoding
Only the header strip method is supported for now.
Originally committed as revision 13082 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroska.h')
-rw-r--r-- | libavformat/matroska.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libavformat/matroska.h b/libavformat/matroska.h index 370a8bfd89..025eefb3e2 100644 --- a/libavformat/matroska.h +++ b/libavformat/matroska.h @@ -89,6 +89,8 @@ #define MATROSKA_ID_TRACKMINCACHE 0x6DE7 #define MATROSKA_ID_TRACKMAXCACHE 0x6DF8 #define MATROSKA_ID_TRACKDEFAULTDURATION 0x23E383 +#define MATROSKA_ID_TRACKCONTENTENCODINGS 0x6D80 +#define MATROSKA_ID_TRACKCONTENTENCODING 0x6240 /* IDs in the trackvideo master */ #define MATROSKA_ID_VIDEOFRAMERATE 0x2383E3 @@ -108,6 +110,13 @@ #define MATROSKA_ID_AUDIOBITDEPTH 0x6264 #define MATROSKA_ID_AUDIOCHANNELS 0x9F +/* IDs in the content encoding master */ +#define MATROSKA_ID_ENCODINGSCOPE 0x5032 +#define MATROSKA_ID_ENCODINGTYPE 0x5033 +#define MATROSKA_ID_ENCODINGCOMPRESSION 0x5034 +#define MATROSKA_ID_ENCODINGCOMPALGO 0x4254 +#define MATROSKA_ID_ENCODINGCOMPSETTINGS 0x4255 + /* ID in the cues master */ #define MATROSKA_ID_POINTENTRY 0xBB @@ -168,6 +177,13 @@ typedef enum { MATROSKA_ASPECT_RATIO_MODE_FIXED = 0x2, } MatroskaAspectRatioMode; +typedef enum { + MATROSKA_TRACK_ENCODING_COMP_ZLIB = 0, + MATROSKA_TRACK_ENCODING_COMP_BZLIB = 1, + MATROSKA_TRACK_ENCODING_COMP_LZO = 2, + MATROSKA_TRACK_ENCODING_COMP_HEADERSTRIP = 3, +} MatroskaTrackEncodingCompAlgo; + /* * These aren't in any way "matroska-form" things, * it's just something I use in the muxer/demuxer. |