diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2001-07-22 14:18:56 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2001-07-22 14:18:56 +0000 |
commit | de6d9b6404bfd1c589799142da5a95428f146edd (patch) | |
tree | 75ae0cbb74bdfafb6f1a40922db111a103db3bcf /libav/avi.h | |
parent | 1b58d58ddaf8a8c766a0353885ff504babed0453 (diff) | |
download | ffmpeg-de6d9b6404bfd1c589799142da5a95428f146edd.tar.gz |
Initial revision
Originally committed as revision 5 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/avi.h')
-rw-r--r-- | libav/avi.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libav/avi.h b/libav/avi.h new file mode 100644 index 0000000000..06834cfcbf --- /dev/null +++ b/libav/avi.h @@ -0,0 +1,29 @@ + +#define AVIF_HASINDEX 0x00000010 // Index at end of file? +#define AVIF_MUSTUSEINDEX 0x00000020 +#define AVIF_ISINTERLEAVED 0x00000100 +#define AVIF_TRUSTCKTYPE 0x00000800 // Use CKType to find key frames? +#define AVIF_WASCAPTUREFILE 0x00010000 +#define AVIF_COPYRIGHTED 0x00020000 + +offset_t start_tag(ByteIOContext *pb, char *tag); +void end_tag(ByteIOContext *pb, offset_t start); + +void put_bmp_header(ByteIOContext *pb, AVCodecContext *enc); +void put_wav_header(ByteIOContext *pb, AVCodecContext *enc); + +typedef struct CodecTag { + int id; + unsigned int tag; +} CodecTag; + +extern CodecTag codec_bmp_tags[]; +extern CodecTag codec_wav_tags[]; + +unsigned int codec_get_tag(CodecTag *tags, int id); +int codec_get_id(CodecTag *tags, unsigned int tag); + +/* avidec.c */ +int avi_read_header(AVFormatContext *s, AVFormatParameters *ap); +int avi_read_packet(AVFormatContext *s, AVPacket *pkt); +int avi_read_close(AVFormatContext *s); |