libavformat/mp3enc.c File Reference
#include "avformat.h"
#include "avio_internal.h"
#include "id3v1.h"
#include "id3v2.h"
#include "rawenc.h"
#include "libavutil/avstring.h"
#include "libavcodec/mpegaudio.h"
#include "libavcodec/mpegaudiodata.h"
#include "libavcodec/mpegaudiodecheader.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/dict.h"
#include "libavutil/avassert.h"
Go to the source code of this file.
|
Data Structures |
struct | MP3Context |
Defines |
#define | XING_NUM_BAGS 400 |
#define | XING_TOC_SIZE 100 |
#define | XING_MAX_SIZE (32 + 4 + 4 + 4 + 4 + XING_TOC_SIZE) |
Functions |
static int | id3v1_set_string (AVFormatContext *s, const char *key, uint8_t *buf, int buf_size) |
static int | id3v1_create_tag (AVFormatContext *s, uint8_t *buf) |
static int | mp3_write_xing (AVFormatContext *s) |
static void | mp3_xing_add_frame (MP3Context *mp3, AVPacket *pkt) |
static int | mp3_write_audio_packet (AVFormatContext *s, AVPacket *pkt) |
static int | mp3_queue_flush (AVFormatContext *s) |
static void | mp3_update_xing (AVFormatContext *s) |
static int | mp3_write_trailer (struct AVFormatContext *s) |
static int | query_codec (enum AVCodecID id, int std_compliance) |
Variables |
static const uint8_t | xing_offtbl [2][2] = {{32, 17}, {17, 9}} |
Define Documentation
#define XING_MAX_SIZE (32 + 4 + 4 + 4 + 4 + XING_TOC_SIZE) |
#define XING_NUM_BAGS 400 |
#define XING_TOC_SIZE 100 |
Function Documentation
Variable Documentation