FFmpeg
|
libavcodec/gsmdec.c
Go to the documentation of this file.
int block_align
number of bytes per packet if constant and known or 0 Used by some WAV based audio codecs...
Definition: libavcodec/avcodec.h:1898
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
bitstream reader API header.
GSM decoder.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: avutil.h:144
external API header
audio channel layout utility functions
Definition: libavcodec/avcodec.h:411
int frame_size
Number of samples per channel in an audio frame.
Definition: libavcodec/avcodec.h:1881
int ff_get_buffer(AVCodecContext *avctx, AVFrame *frame, int flags)
Get a buffer for a frame.
Definition: libavcodec/utils.c:823
static int init_get_bits(GetBitContext *s, const uint8_t *buffer, int bit_size)
Initialize GetBitContext.
Definition: get_bits.h:379
static int gsm_decode_block(AVCodecContext *avctx, int16_t *samples, GetBitContext *gb)
Definition: gsmdec_template.c:120
struct GSMContext GSMContext
Definition: gsmdec_data.h:28
Definition: get_bits.h:54
common internal api header.
static int gsm_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
Definition: libavcodec/gsmdec.c:56
Filter the word “frame” indicates either a video frame or a group of audio samples
Definition: filter_design.txt:2
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
int ff_msgsm_decode_block(AVCodecContext *avctx, int16_t *samples, const uint8_t *buf)
Definition: msgsmdec.c:28
Generated on Mon Nov 18 2024 06:51:55 for FFmpeg by 1.8.11