FFmpeg
|
Bink Audio decoder. More...
#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "get_bits.h"
#include "dct.h"
#include "rdft.h"
#include "fmtconvert.h"
#include "internal.h"
#include "wma.h"
#include "libavutil/intfloat.h"
Go to the source code of this file.
Data Structures | |
struct | BinkAudioContext |
Macros | |
#define | BITSTREAM_READER_LE |
#define | MAX_CHANNELS 2 |
#define | BINK_BLOCK_MAX_SIZE (MAX_CHANNELS << 11) |
Functions | |
static av_cold int | decode_init (AVCodecContext *avctx) |
static float | get_float (GetBitContext *gb) |
static int | decode_block (BinkAudioContext *s, float **out, int use_dct) |
Decode Bink Audio block. | |
static av_cold int | decode_end (AVCodecContext *avctx) |
static void | get_bits_align32 (GetBitContext *s) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) |
Variables | |
static float | quant_table [96] |
static const uint8_t | rle_length_tab [16] |
AVCodec | ff_binkaudio_rdft_decoder |
AVCodec | ff_binkaudio_dct_decoder |
Bink Audio decoder.
Technical details here: http://wiki.multimedia.cx/index.php?title=Bink_Audio
Definition in file binkaudio.c.
#define BITSTREAM_READER_LE |
Definition at line 33 of file binkaudio.c.
#define MAX_CHANNELS 2 |
Definition at line 44 of file binkaudio.c.
Referenced by decode_init().
#define BINK_BLOCK_MAX_SIZE (MAX_CHANNELS << 11) |
Definition at line 45 of file binkaudio.c.
|
static |
Definition at line 68 of file binkaudio.c.
|
static |
Definition at line 146 of file binkaudio.c.
Referenced by decode_block().
|
static |
Decode Bink Audio block.
[out] | out | Output buffer (must contain s->block_size elements) |
Definition at line 164 of file binkaudio.c.
Referenced by decode_frame().
|
static |
Definition at line 268 of file binkaudio.c.
|
static |
Definition at line 281 of file binkaudio.c.
Referenced by decode_frame().
|
static |
Definition at line 287 of file binkaudio.c.
|
static |
Definition at line 42 of file binkaudio.c.
Referenced by decode_block(), decode_init(), read_quant_tables(), and write_quant_tables().
|
static |
Definition at line 155 of file binkaudio.c.
Referenced by decode_block().
AVCodec ff_binkaudio_rdft_decoder |
Definition at line 338 of file binkaudio.c.
AVCodec ff_binkaudio_dct_decoder |
Definition at line 350 of file binkaudio.c.