FFmpeg
|
#include "libavutil/channel_layout.h"
#include "libavutil/emms.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.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, int 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 |
const FFCodec | 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 52 of file sbcenc.c.
Referenced by sbc_encode_frame().
|
static |
Definition at line 99 of file sbcenc.c.
Referenced by sbc_encode_frame().
|
static |
|
static |
|
static |
|
static |
const FFCodec ff_sbc_encoder |