|
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/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 42 of file libmp3lame.c.
| #define ENCODE_BUFFER | ( | func, | |
| buf_type, | |||
| buf_name | |||
| ) |
| #define OFFSET | ( | x | ) | offsetof(LAMEContext, x) |
Definition at line 306 of file libmp3lame.c.
| #define AE AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 307 of file libmp3lame.c.
|
static |
Definition at line 61 of file libmp3lame.c.
Referenced by mp3lame_encode_frame(), and mp3lame_encode_init().
|
static |
Definition at line 77 of file libmp3lame.c.
Referenced by mp3lame_encode_init().
|
static |
Definition at line 92 of file libmp3lame.c.
|
static |
Definition at line 190 of file libmp3lame.c.
|
static |
Definition at line 308 of file libmp3lame.c.
|
static |
Definition at line 315 of file libmp3lame.c.
|
static |
Definition at line 322 of file libmp3lame.c.
|
static |
Definition at line 327 of file libmp3lame.c.
| const FFCodec ff_libmp3lame_encoder |
Definition at line 331 of file libmp3lame.c.
1.8.17