Go to the source code of this file.
|
static int | check (AVIOContext *pb, int64_t pos, uint32_t *header) |
|
static int | mp3_read_probe (AVProbeData *p) |
|
static void | read_xing_toc (AVFormatContext *s, int64_t filesize, int64_t duration) |
|
static void | mp3_parse_info_tag (AVFormatContext *s, AVStream *st, MPADecodeHeader *c, uint32_t spf) |
|
static void | mp3_parse_vbri_tag (AVFormatContext *s, AVStream *st, int64_t base) |
|
static int | mp3_parse_vbr_tags (AVFormatContext *s, AVStream *st, int64_t base) |
| Try to find Xing/Info/VBRI tags and compute duration from info therein. More...
|
|
static int | mp3_read_header (AVFormatContext *s) |
|
static int | mp3_read_packet (AVFormatContext *s, AVPacket *pkt) |
|
static int64_t | mp3_sync (AVFormatContext *s, int64_t target_pos, int flags) |
|
static int | mp3_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags) |
|
◆ XING_FLAG_FRAMES
#define XING_FLAG_FRAMES 0x01 |
◆ XING_FLAG_SIZE
#define XING_FLAG_SIZE 0x02 |
◆ XING_FLAG_TOC
#define XING_FLAG_TOC 0x04 |
◆ XING_FLAC_QSCALE
#define XING_FLAC_QSCALE 0x08 |
◆ XING_TOC_COUNT
#define XING_TOC_COUNT 100 |
◆ SAME_HEADER_MASK
#define SAME_HEADER_MASK (0xffe00000 | (3 << 17) | (3 << 10) | (3 << 19)) |
◆ LAST_BITS
#define LAST_BITS |
( |
|
k, |
|
|
|
n |
|
) |
| ((k) & ((1 << (n)) - 1)) |
◆ MIDDLE_BITS
#define MIDDLE_BITS |
( |
|
k, |
|
|
|
m, |
|
|
|
n |
|
) |
| LAST_BITS((k) >> (m), ((n) - (m) + 1)) |
◆ MP3_PACKET_SIZE
#define MP3_PACKET_SIZE 1024 |
◆ SEEK_WINDOW
◆ MIN_VALID
◆ CheckRet
Enumerator |
---|
CHECK_WRONG_HEADER | |
CHECK_SEEK_FAILED | |
Definition at line 60 of file mp3dec.c.
◆ check()
◆ mp3_read_probe()
◆ read_xing_toc()
◆ mp3_parse_info_tag()
◆ mp3_parse_vbri_tag()
◆ mp3_parse_vbr_tags()
Try to find Xing/Info/VBRI tags and compute duration from info therein.
Definition at line 301 of file mp3dec.c.
Referenced by mp3_read_header().
◆ mp3_read_header()
◆ mp3_read_packet()
◆ mp3_sync()
◆ mp3_seek()
◆ options
Initial value:= {
}
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition at line 580 of file mp3dec.c.
◆ demuxer_class
Initial value:= {
.class_name = "mp3",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
static const AVOption options[]
Definition at line 585 of file mp3dec.c.
◆ ff_mp3_demuxer
Initial value:= {
.name = "mp3",
.extensions = "mp2,mp3,m2a,mpa",
}
static int mp3_read_packet(AVFormatContext *s, AVPacket *pkt)
static int mp3_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int mp3_read_header(AVFormatContext *s)
static int mp3_read_probe(AVProbeData *p)
static const AVClass demuxer_class
Definition at line 593 of file mp3dec.c.