FFmpeg
4.0
|
SBC encoder implementation. More...
#include <stdbool.h>
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"
#include "profiles.h"
#include "put_bits.h"
#include "sbc.h"
#include "sbcdsp.h"
Go to the source code of this file.
Data Structures | |
struct | SBCEncContext |
Macros | |
#define | OFFSET(x) offsetof(SBCEncContext, x) |
#define | AE AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
static int | sbc_analyze_audio (SBCDSPContext *s, struct sbc_frame *frame) |
static size_t | sbc_pack_frame (AVPacket *avpkt, struct sbc_frame *frame, int joint, bool msbc) |
static int | sbc_encode_init (AVCodecContext *avctx) |
static int | sbc_encode_frame (AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *av_frame, int *got_packet_ptr) |
Variables | |
static const AVOption | options [] |
static const AVClass | sbc_class |
AVCodec | ff_sbc_encoder |
SBC encoder implementation.
Definition in file sbcenc.c.
#define OFFSET | ( | x | ) | offsetof(SBCEncContext, x) |
#define AE AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 50 of file sbcenc.c.
Referenced by sbc_encode_frame().
|
static |
Definition at line 97 of file sbcenc.c.
Referenced by sbc_encode_frame().
|
static |
|
static |
|
static |
|
static |
AVCodec ff_sbc_encoder |