|
FFmpeg
|
Interface to libmp3lame for mp3 encoding. More...
#include <lame/lame.h>#include "libavutil/channel_layout.h"#include "libavutil/common.h"#include "libavutil/float_dsp.h"#include "libavutil/intreadwrite.h"#include "libavutil/log.h"#include "libavutil/opt.h"#include "avcodec.h"#include "audio_frame_queue.h"#include "internal.h"#include "mpegaudio.h"#include "mpegaudiodecheader.h"
Go to the source code of this file.
Data Structures | |
| struct | LAMEContext |
Macros | |
| #define | BUFFER_SIZE (7200 + 2 * MPA_FRAME_SIZE + MPA_FRAME_SIZE / 4+1000) |
| #define | ENCODE_BUFFER(func, buf_type, buf_name) |
| #define | OFFSET(x) offsetof(LAMEContext, x) |
| #define | AE AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Typedefs | |
| typedef struct LAMEContext | LAMEContext |
Functions | |
| static int | realloc_buffer (LAMEContext *s) |
| static av_cold int | mp3lame_encode_close (AVCodecContext *avctx) |
| static av_cold int | mp3lame_encode_init (AVCodecContext *avctx) |
| static int | mp3lame_encode_frame (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) |
Variables | |
| static const AVOption | options [] |
| static const AVClass | libmp3lame_class |
| static const AVCodecDefault | libmp3lame_defaults [] |
| static const int | libmp3lame_sample_rates [] |
| AVCodec | ff_libmp3lame_encoder |
Detailed Description
Interface to libmp3lame for mp3 encoding.
Definition in file libmp3lame.c.
Macro Definition Documentation
| #define AE AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 264 of file libmp3lame.c.
Referenced by g726_reset().
| #define BUFFER_SIZE (7200 + 2 * MPA_FRAME_SIZE + MPA_FRAME_SIZE / 4+1000) |
Definition at line 41 of file libmp3lame.c.
Referenced by realloc_buffer().
| #define ENCODE_BUFFER | ( | func, | |
| buf_type, | |||
| buf_name | |||
| ) |
Definition at line 169 of file libmp3lame.c.
Referenced by mp3lame_encode_frame().
| #define OFFSET | ( | x | ) | offsetof(LAMEContext, x) |
Definition at line 263 of file libmp3lame.c.
Typedef Documentation
| typedef struct LAMEContext LAMEContext |
Function Documentation
|
static |
Definition at line 78 of file libmp3lame.c.
Referenced by mp3lame_encode_init().
|
static |
Definition at line 177 of file libmp3lame.c.
|
static |
Definition at line 92 of file libmp3lame.c.
|
static |
Definition at line 58 of file libmp3lame.c.
Referenced by mp3lame_encode_frame(), and mp3lame_encode_init().
Variable Documentation
| AVCodec ff_libmp3lame_encoder |
Definition at line 287 of file libmp3lame.c.
|
static |
Definition at line 271 of file libmp3lame.c.
|
static |
Definition at line 278 of file libmp3lame.c.
|
static |
Definition at line 283 of file libmp3lame.c.
|
static |
Definition at line 265 of file libmp3lame.c.
Generated by
1.8.11