libavformat/mp3.c File Reference
#include "avformat.h"
#include "mpegaudio.h"
#include "avstring.h"
#include "mpegaudiodecheader.h"
Go to the source code of this file.
|
Defines |
#define | ID3v2_HEADER_SIZE 10 |
#define | ID3v1_TAG_SIZE 128 |
#define | ID3v1_GENRE_MAX 125 |
#define | MP3_PACKET_SIZE 1024 |
Functions |
static int | id3v2_match (const uint8_t *buf) |
static unsigned int | id3v2_get_size (ByteIOContext *s, int len) |
static void | id3v2_read_ttag (AVFormatContext *s, int taglen, char *dst, int dstlen) |
static void | id3v2_parse (AVFormatContext *s, int len, uint8_t version, uint8_t flags) |
| ID3v2 parser.
|
static void | id3v1_get_string (char *str, int str_size, const uint8_t *buf, int buf_size) |
static int | id3v1_parse_tag (AVFormatContext *s, const uint8_t *buf) |
static void | id3v1_create_tag (AVFormatContext *s, uint8_t *buf) |
static int | mp3_read_probe (AVProbeData *p) |
static void | mp3_parse_vbr_tags (AVFormatContext *s, AVStream *st, offset_t base) |
| Try to find Xing/Info/VBRI tags and compute duration from info therein.
|
static int | mp3_read_header (AVFormatContext *s, AVFormatParameters *ap) |
static int | mp3_read_packet (AVFormatContext *s, AVPacket *pkt) |
static int | mp3_read_close (AVFormatContext *s) |
Variables |
static const char * | id3v1_genre_str [ID3v1_GENRE_MAX+1] |
Define Documentation
#define ID3v1_GENRE_MAX 125 |
#define ID3v1_TAG_SIZE 128 |
#define ID3v2_HEADER_SIZE 10 |
#define MP3_PACKET_SIZE 1024 |
Function Documentation
static void id3v1_get_string |
( |
char * |
str, |
|
|
int |
str_size, |
|
|
const uint8_t * |
buf, |
|
|
int |
buf_size | |
|
) |
| | [static] |
static unsigned int id3v2_get_size |
( |
ByteIOContext * |
s, |
|
|
int |
len | |
|
) |
| | [static] |
static int id3v2_match |
( |
const uint8_t * |
buf |
) |
[static] |
static void id3v2_read_ttag |
( |
AVFormatContext * |
s, |
|
|
int |
taglen, |
|
|
char * |
dst, |
|
|
int |
dstlen | |
|
) |
| | [static] |
Try to find Xing/Info/VBRI tags and compute duration from info therein.
Definition at line 432 of file mp3.c.
Referenced by mp3_read_header().
Variable Documentation