| 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 av_cold 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 int | sbc_samplerates [] = { 16000, 32000, 44100, 48000, 0 } | 
| 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 | 
| 
 | static | 
Definition at line 54 of file sbcenc.c.
Referenced by sbc_encode_frame().
| 
 | static | 
Definition at line 101 of file sbcenc.c.
Referenced by sbc_encode_frame().
| 
 | static | 
| 
 | static | 
| 
 | static | 
Definition at line 52 of file sbcenc.c.
Referenced by sbc_encode_init().
| 
 | static | 
| const FFCodec ff_sbc_encoder | 
 1.8.17
 1.8.17