Go to the source code of this file.
◆ BUFFER_SIZE
| #define BUFFER_SIZE (4096 * 20) |
◆ libshine_encode_init()
◆ libshine_encode_frame()
◆ libshine_encode_close()
◆ libshine_sample_rates
| const int libshine_sample_rates[] |
|
static |
Initial value:= {
44100, 48000, 32000, 0
}
Definition at line 126 of file libshine.c.
◆ ff_libshine_encoder
Initial value:= {
.p.name = "libshine",
.p.wrapper_name = "libshine",
}
#define CODEC_SAMPLERATES_ARRAY(array)
#define CODEC_CH_LAYOUTS(...)
#define FF_CODEC_CAP_NOT_INIT_THREADSAFE
The codec is not known to be init-threadsafe (i.e.
#define FF_CODEC_ENCODE_CB(func)
#define CODEC_LONG_NAME(str)
#define CODEC_SAMPLEFMTS(...)
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
@ AV_CODEC_ID_MP3
preferred ID for decoding MPEG audio layer 1, 2 or 3
#define AV_CHANNEL_LAYOUT_STEREO
#define AV_CHANNEL_LAYOUT_MONO
@ AV_SAMPLE_FMT_S16P
signed 16 bits, planar
static av_cold int libshine_encode_init(AVCodecContext *avctx)
static const int libshine_sample_rates[]
static av_cold int libshine_encode_close(AVCodecContext *avctx)
static int libshine_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr)
Definition at line 130 of file libshine.c.