FFmpeg
|
#include "libavutil/opt.h"
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "avformat.h"
#include "internal.h"
#include "id3v2.h"
#include "id3v1.h"
#include "libavcodec/mpegaudiodecheader.h"
Go to the source code of this file.
Data Structures | |
struct | MP3DecContext |
Macros | |
#define | XING_FLAG_FRAMES 0x01 |
#define | XING_FLAG_SIZE 0x02 |
#define | XING_FLAG_TOC 0x04 |
#define | XING_TOC_COUNT 100 |
#define | MP3_PACKET_SIZE 1024 |
#define | MIN_VALID 3 |
Functions | |
static int | mp3_read_probe (AVProbeData *p) |
static void | read_xing_toc (AVFormatContext *s, int64_t filesize, int64_t duration) |
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. | |
static int | mp3_read_header (AVFormatContext *s) |
static int | mp3_read_packet (AVFormatContext *s, AVPacket *pkt) |
static int | check (AVFormatContext *s, int64_t pos) |
static int | mp3_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags) |
Variables | |
static const AVOption | options [] |
static const AVClass | demuxer_class |
AVInputFormat | ff_mp3_demuxer |
#define XING_FLAG_FRAMES 0x01 |
Definition at line 33 of file mp3dec.c.
Referenced by mp3_parse_vbr_tags().
#define XING_FLAG_SIZE 0x02 |
Definition at line 34 of file mp3dec.c.
Referenced by mp3_parse_vbr_tags().
#define XING_FLAG_TOC 0x04 |
Definition at line 35 of file mp3dec.c.
Referenced by mp3_parse_vbr_tags().
#define XING_TOC_COUNT 100 |
Definition at line 37 of file mp3dec.c.
Referenced by read_xing_toc().
#define MP3_PACKET_SIZE 1024 |
Definition at line 235 of file mp3dec.c.
Referenced by mp3_read_packet().
#define MIN_VALID 3 |
Referenced by mp3_seek().
|
static |
|
static |
Definition at line 94 of file mp3dec.c.
Referenced by mp3_parse_vbr_tags().
|
static |
Try to find Xing/Info/VBRI tags and compute duration from info therein.
Definition at line 121 of file mp3dec.c.
Referenced by mp3_read_header().
|
static |
|
static |
|
static |
Definition at line 268 of file mp3dec.c.
Referenced by mp3_seek().
|
static |
|
static |
|
static |
AVInputFormat ff_mp3_demuxer |