Bink Audio decoder.
More...
Go to the source code of this file.
Bink Audio decoder.
Technical details here: http://wiki.multimedia.cx/index.php?title=Bink_Audio
Definition in file binkaudio.c.
◆ BITSTREAM_READER_LE
| #define BITSTREAM_READER_LE |
◆ MAX_DCT_CHANNELS
| #define MAX_DCT_CHANNELS 6 |
◆ MAX_CHANNELS
◆ BINK_BLOCK_MAX_SIZE
◆ decode_init()
◆ get_float()
◆ decode_block()
Decode Bink Audio block.
- Parameters
-
| [out] | out | Output buffer (must contain s->block_size elements) |
- Returns
- 0 on success, negative error code on failure
Definition at line 174 of file binkaudio.c.
Referenced by binkaudio_receive_frame().
◆ decode_end()
◆ get_bits_align32()
◆ binkaudio_receive_frame()
◆ decode_flush()
◆ rle_length_tab
| const uint8_t rle_length_tab[16] |
|
static |
Initial value:= {
2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 32, 64
}
Definition at line 165 of file binkaudio.c.
Referenced by decode_block().
◆ ff_binkaudio_rdft_decoder
| const FFCodec ff_binkaudio_rdft_decoder |
Initial value:= {
.p.name = "binkaudio_rdft",
}
static av_cold void decode_flush(AVCodecContext *avctx)
static av_cold void close(AVCodecParserContext *s)
static int binkaudio_receive_frame(AVCodecContext *avctx, AVFrame *frame)
#define FF_CODEC_RECEIVE_FRAME_CB(func)
#define CODEC_LONG_NAME(str)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
void(* flush)(AVBSFContext *ctx)
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
@ AV_CODEC_ID_BINKAUDIO_RDFT
static av_cold int decode_init(AVCodecContext *avctx)
static av_cold int decode_end(AVCodecContext *avctx)
Definition at line 372 of file binkaudio.c.
◆ ff_binkaudio_dct_decoder
| const FFCodec ff_binkaudio_dct_decoder |
Initial value:= {
.p.name = "binkaudio_dct",
}
@ AV_CODEC_ID_BINKAUDIO_DCT
Definition at line 386 of file binkaudio.c.