Bink Audio decoder.  
More...
#include "libavutil/channel_layout.h"
#include "libavutil/intfloat.h"
#include "avcodec.h"
#include "dct.h"
#include "decode.h"
#include "get_bits.h"
#include "internal.h"
#include "rdft.h"
#include "wma_freqs.h"
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_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 169 of file binkaudio.c.
Referenced by binkaudio_receive_frame().
 
 
◆ decode_end()
◆ get_bits_align32()
◆ binkaudio_receive_frame()
◆ quant_table
◆ rle_length_tab
Initial value:= {
    2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 32, 64
}
Definition at line 160 of file binkaudio.c.
Referenced by decode_block().
 
 
◆ ff_binkaudio_rdft_decoder
Initial value:= {
    .name           = "binkaudio_rdft",
}
static av_cold int decode_end(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
static CopyRet receive_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame)
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
static int binkaudio_receive_frame(AVCodecContext *avctx, AVFrame *frame)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int decode_init(AVCodecContext *avctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators. 
Definition at line 342 of file binkaudio.c.
 
 
◆ ff_binkaudio_dct_decoder
Initial value:= {
    .name           = "binkaudio_dct",
}
static av_cold int decode_end(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
static CopyRet receive_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame)
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
static int binkaudio_receive_frame(AVCodecContext *avctx, AVFrame *frame)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int decode_init(AVCodecContext *avctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators. 
Definition at line 354 of file binkaudio.c.