MTV demuxer. More...
#include "libavutil/bswap.h"#include "libavutil/intreadwrite.h"#include "avformat.h"#include "internal.h"Go to the source code of this file.
Data Structures | |
| struct | MTVDemuxContext |
Defines | |
| #define | MTV_ASUBCHUNK_DATA_SIZE 500 |
| #define | MTV_HEADER_SIZE 512 |
| #define | MTV_AUDIO_PADDING_SIZE 12 |
| #define | AUDIO_SAMPLING_RATE 44100 |
Typedefs | |
| typedef struct MTVDemuxContext | MTVDemuxContext |
Functions | |
| static int | mtv_probe (AVProbeData *p) |
| static int | mtv_read_header (AVFormatContext *s, AVFormatParameters *ap) |
| static int | mtv_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
| AVInputFormat | ff_mtv_demuxer |
MTV demuxer.
Definition in file mtv.c.
| #define AUDIO_SAMPLING_RATE 44100 |
Definition at line 35 of file mtv.c.
Referenced by mtv_read_header().
| #define MTV_ASUBCHUNK_DATA_SIZE 500 |
Definition at line 32 of file mtv.c.
Referenced by mtv_read_packet().
| #define MTV_AUDIO_PADDING_SIZE 12 |
Definition at line 34 of file mtv.c.
Referenced by mtv_read_header(), and mtv_read_packet().
| #define MTV_HEADER_SIZE 512 |
Definition at line 33 of file mtv.c.
Referenced by mtv_read_header().
| typedef struct MTVDemuxContext MTVDemuxContext |
| static int mtv_probe | ( | AVProbeData * | p | ) | [static] |
| static int mtv_read_header | ( | AVFormatContext * | s, | |
| AVFormatParameters * | ap | |||
| ) | [static] |
| static int mtv_read_packet | ( | AVFormatContext * | s, | |
| AVPacket * | pkt | |||
| ) | [static] |
{
.name = "MTV",
.long_name = NULL_IF_CONFIG_SMALL("MTV format"),
.priv_data_size = sizeof(MTVDemuxContext),
.read_probe = mtv_probe,
.read_header = mtv_read_header,
.read_packet = mtv_read_packet,
}