#include "avformat.h"#include "pcm.h"#include "riff.h"Go to the source code of this file.
Data Structures | |
| struct | MMFContext |
Defines | |
| #define | MAX_SIZE 4096 |
Functions | |
| static int | mmf_rate (int code) |
| static int | mmf_rate_code (int rate) |
| static void | end_tag_be (ByteIOContext *pb, int64_t start) |
| static int | mmf_write_header (AVFormatContext *s) |
| static int | mmf_write_packet (AVFormatContext *s, AVPacket *pkt) |
| static void | put_varlength (ByteIOContext *pb, int val) |
| static int | mmf_write_trailer (AVFormatContext *s) |
| static int | mmf_probe (AVProbeData *p) |
| static int | mmf_read_header (AVFormatContext *s, AVFormatParameters *ap) |
| static int | mmf_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
| static const int | mmf_rates [] = { 4000, 8000, 11025, 22050, 44100 } |
| AVInputFormat | mmf_demuxer |
| AVOutputFormat | mmf_muxer |
| static void end_tag_be | ( | ByteIOContext * | pb, | |
| int64_t | start | |||
| ) | [static] |
| static int mmf_probe | ( | AVProbeData * | p | ) | [static] |
| static int mmf_rate | ( | int | code | ) | [static] |
| static int mmf_rate_code | ( | int | rate | ) | [static] |
| static int mmf_read_header | ( | AVFormatContext * | s, | |
| AVFormatParameters * | ap | |||
| ) | [static] |
| static int mmf_read_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int mmf_write_header | ( | AVFormatContext * | s | ) | [static] |
| static int mmf_write_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
| static int mmf_write_trailer | ( | AVFormatContext * | s | ) | [static] |
| static void put_varlength | ( | ByteIOContext * | pb, | |
| int | val | |||
| ) | [static] |
Initial value:
{
"mmf",
NULL_IF_CONFIG_SMALL("Yamaha SMAF"),
sizeof(MMFContext),
mmf_probe,
mmf_read_header,
mmf_read_packet,
NULL,
pcm_read_seek,
}
Initial value:
{
"mmf",
NULL_IF_CONFIG_SMALL("Yamaha SMAF"),
"application/vnd.smaf",
"mmf",
sizeof(MMFContext),
CODEC_ID_ADPCM_YAMAHA,
CODEC_ID_NONE,
mmf_write_header,
mmf_write_packet,
mmf_write_trailer,
}
const int mmf_rates[] = { 4000, 8000, 11025, 22050, 44100 } [static] |
1.5.6