Disable B-frames decoding until they produce correct picture
[libav.git] / libavformat / riff.h
CommitLineData
9d9f4119
MR
1#ifndef FF_RIFF_H
2#define FF_RIFF_H
3
4offset_t start_tag(ByteIOContext *pb, const char *tag);
5void end_tag(ByteIOContext *pb, offset_t start);
6
7typedef struct CodecTag {
8 int id;
9 unsigned int tag;
10 unsigned int invalid_asf : 1;
11} CodecTag;
12
13void put_bmp_header(ByteIOContext *pb, AVCodecContext *enc, const CodecTag *tags, int for_asf);
14int put_wav_header(ByteIOContext *pb, AVCodecContext *enc);
15int wav_codec_get_id(unsigned int tag, int bps);
16void get_wav_header(ByteIOContext *pb, AVCodecContext *codec, int size);
17
18extern const CodecTag codec_bmp_tags[];
19extern const CodecTag codec_wav_tags[];
20
21unsigned int codec_get_tag(const CodecTag *tags, int id);
22enum CodecID codec_get_id(const CodecTag *tags, unsigned int tag);
23unsigned int codec_get_bmp_tag(int id);
24unsigned int codec_get_wav_tag(int id);
25enum CodecID codec_get_bmp_id(unsigned int tag);
26enum CodecID codec_get_wav_id(unsigned int tag);
27unsigned int codec_get_asf_tag(const CodecTag *tags, unsigned int id);
28void ff_parse_specific_params(AVCodecContext *stream, int *au_rate, int *au_ssize, int *au_scale);
29
30#endif