libavformat/mp3.c File Reference
#include <strings.h>
#include "libavutil/avstring.h"
#include "libavcodec/mpegaudio.h"
#include "libavcodec/mpegaudiodecheader.h"
#include "avformat.h"
#include "id3v2.h"
Go to the source code of this file.
|
Defines |
#define | ID3v1_TAG_SIZE 128 |
#define | ID3v1_GENRE_MAX 125 |
#define | MP3_PACKET_SIZE 1024 |
Functions |
static unsigned int | id3v2_get_size (ByteIOContext *s, int len) |
static void | id3v2_read_ttag (AVFormatContext *s, int taglen, const char *key) |
static void | id3v2_parse (AVFormatContext *s, int len, uint8_t version, uint8_t flags) |
| ID3v2 parser.
|
static void | id3v1_get_string (AVFormatContext *s, const char *key, const uint8_t *buf, int buf_size) |
static int | id3v1_parse_tag (AVFormatContext *s, const uint8_t *buf) |
static int | mp3_read_probe (AVProbeData *p) |
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, AVFormatParameters *ap) |
static int | mp3_read_packet (AVFormatContext *s, AVPacket *pkt) |
Variables |
static const char *const | id3v1_genre_str [ID3v1_GENRE_MAX+1] |
Define Documentation
#define ID3v1_GENRE_MAX 125 |
#define ID3v1_TAG_SIZE 128 |
#define MP3_PACKET_SIZE 1024 |
Function Documentation
static void id3v1_get_string |
( |
AVFormatContext * |
s, |
|
|
const char * |
key, |
|
|
const uint8_t * |
buf, |
|
|
int |
buf_size | |
|
) |
| | [static] |
static int id3v1_parse_tag |
( |
AVFormatContext * |
s, |
|
|
const uint8_t * |
buf | |
|
) |
| | [static] |
static unsigned int id3v2_get_size |
( |
ByteIOContext * |
s, |
|
|
int |
len | |
|
) |
| | [static] |
static void id3v2_parse |
( |
AVFormatContext * |
s, |
|
|
int |
len, |
|
|
uint8_t |
version, |
|
|
uint8_t |
flags | |
|
) |
| | [static] |
static void id3v2_read_ttag |
( |
AVFormatContext * |
s, |
|
|
int |
taglen, |
|
|
const char * |
key | |
|
) |
| | [static] |
Try to find Xing/Info/VBRI tags and compute duration from info therein.
Definition at line 411 of file mp3.c.
Referenced by mp3_read_header().
Variable Documentation