| FFmpeg
    | 
#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/mem.h"#include "libavutil/opt.h"#include "avcodec.h"#include "audio_frame_queue.h"#include "codec_internal.h"#include "encode.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 | 
| 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 FFCodecDefault | libmp3lame_defaults [] | 
| static const int | libmp3lame_sample_rates [] | 
| const FFCodec | ff_libmp3lame_encoder | 
Interface to libmp3lame for mp3 encoding.
Definition in file libmp3lame.c.
| #define BUFFER_SIZE (7200 + 2 * MPA_FRAME_SIZE + MPA_FRAME_SIZE / 4+1000) | 
Definition at line 43 of file libmp3lame.c.
| #define ENCODE_BUFFER | ( | func, | |
| buf_type, | |||
| buf_name | |||
| ) | 
| #define OFFSET | ( | x | ) | offsetof(LAMEContext, x) | 
Definition at line 312 of file libmp3lame.c.
| #define AE AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM | 
Definition at line 313 of file libmp3lame.c.
| 
 | static | 
Definition at line 64 of file libmp3lame.c.
Referenced by mp3lame_encode_frame(), and mp3lame_encode_init().
| 
 | static | 
Definition at line 80 of file libmp3lame.c.
Referenced by mp3lame_encode_init().
| 
 | static | 
Definition at line 95 of file libmp3lame.c.
| 
 | static | 
Definition at line 199 of file libmp3lame.c.
| 
 | static | 
Definition at line 314 of file libmp3lame.c.
| 
 | static | 
Definition at line 323 of file libmp3lame.c.
| 
 | static | 
Definition at line 330 of file libmp3lame.c.
| 
 | static | 
Definition at line 335 of file libmp3lame.c.
| const FFCodec ff_libmp3lame_encoder | 
Definition at line 339 of file libmp3lame.c.
 1.8.17
 1.8.17