#include <lc3.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "codec.h"
#include "codec_internal.h"
#include "encode.h"
Go to the source code of this file.
◆ ENCODER_MAX_CHANNELS
| #define ENCODER_MAX_CHANNELS 2 |
◆ OFFSET
Value:
static AVDictionary * opts
Definition at line 180 of file liblc3enc.c.
◆ FLAGS
◆ liblc3_encode_init()
◆ liblc3_encode_close()
◆ liblc3_encode()
◆ options
Initial value:= {
{ "frame_duration", "Duration of a frame in milliseconds",
{ .dbl = 10.0 }, 2.5, 10.0,
FLAGS },
{ "high_resolution", "Enable High-Resolution mode (48 KHz or 96 KHz)",
{ .i64 = 0 }, 0, 1,
FLAGS },
}
@ AV_OPT_TYPE_FLOAT
Underlying C type is float.
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
Definition at line 182 of file liblc3enc.c.
◆ class_name
| class_name = "liblc3 encoder" |
|
private |
◆ item_name
◆ option
◆ version
◆ [class]
| const AVClass class { ... } |
◆ ff_liblc3_encoder
Initial value:= {
.p.name = "liblc3",
.p.priv_class = &class,
.p.wrapper_name = "liblc3",
}
static av_cold void close(AVCodecParserContext *s)
#define CODEC_SAMPLERATES(...)
#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_SAMPLE_FMT_FLTP
float, planar
static av_cold int liblc3_encode_close(AVCodecContext *avctx)
static int liblc3_encode(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet_ptr)
static av_cold int liblc3_encode_init(AVCodecContext *avctx)
Definition at line 199 of file liblc3enc.c.