#include "bitstream.h"
#include "dsputil.h"
Go to the source code of this file.
Data Structures | |
struct | CoefVLCTable |
struct | WMACodecContext |
Defines | |
#define | BLOCK_MIN_BITS 7 |
#define | BLOCK_MAX_BITS 11 |
#define | BLOCK_MAX_SIZE (1 << BLOCK_MAX_BITS) |
#define | BLOCK_NB_SIZES (BLOCK_MAX_BITS - BLOCK_MIN_BITS + 1) |
#define | HIGH_BAND_MAX_SIZE 16 |
#define | NB_LSP_COEFS 10 |
#define | MAX_CODED_SUPERFRAME_SIZE 16384 |
#define | MAX_CHANNELS 2 |
#define | NOISE_TAB_SIZE 8192 |
#define | LSP_POW_BITS 7 |
#define | VLCBITS 9 |
#define | VLCMAX ((22+VLCBITS-1)/VLCBITS) |
Typedefs | |
typedef struct CoefVLCTable | CoefVLCTable |
typedef struct WMACodecContext | WMACodecContext |
Functions | |
int | ff_wma_init (AVCodecContext *avctx, int flags2) |
int | ff_wma_total_gain_to_bits (int total_gain) |
int | ff_wma_end (AVCodecContext *avctx) |
Variables | |
const uint16_t | ff_wma_hgain_huffcodes [37] |
const uint8_t | ff_wma_hgain_huffbits [37] |
const float | ff_wma_lsp_codebook [NB_LSP_COEFS][16] |
const uint32_t | ff_wma_scale_huffcodes [121] |
const uint8_t | ff_wma_scale_huffbits [121] |
#define BLOCK_MIN_BITS 7 |
Definition at line 29 of file wma.h.
Referenced by ff_wma_init().
#define HIGH_BAND_MAX_SIZE 16 |
Definition at line 36 of file wma.h.
Referenced by wma_decode_block().
#define LSP_POW_BITS 7 |
Definition at line 47 of file wma.h.
Referenced by pow_m1_4(), and wma_lsp_to_curve_init().
#define MAX_CODED_SUPERFRAME_SIZE 16384 |
Definition at line 41 of file wma.h.
Referenced by wma_decode_superframe().
#define NB_LSP_COEFS 10 |
Definition at line 38 of file wma.h.
Referenced by decode_exp_lsp(), and wma_lsp_to_curve().
#define NOISE_TAB_SIZE 8192 |
Definition at line 45 of file wma.h.
Referenced by ff_wma_init(), and wma_decode_block().
#define VLCBITS 9 |
Definition at line 50 of file wma.h.
Referenced by init_coef_vlc(), and wma_decode_block().
#define VLCMAX ((22+VLCBITS-1)/VLCBITS) |
Definition at line 51 of file wma.h.
Referenced by wma_decode_block().
typedef struct CoefVLCTable CoefVLCTable |
typedef struct WMACodecContext WMACodecContext |
int ff_wma_end | ( | AVCodecContext * | avctx | ) |
int ff_wma_init | ( | AVCodecContext * | avctx, | |
int | flags2 | |||
) |
Definition at line 65 of file wma.c.
Referenced by encode_init(), and wma_decode_init().
int ff_wma_total_gain_to_bits | ( | int | total_gain | ) |
Definition at line 354 of file wma.c.
Referenced by encode_block(), and wma_decode_block().
const uint8_t ff_wma_hgain_huffbits[37] |
Definition at line 67 of file wmadata.h.
Referenced by wma_decode_init().
const uint16_t ff_wma_hgain_huffcodes[37] |
Definition at line 59 of file wmadata.h.
Referenced by wma_decode_init().
const float ff_wma_lsp_codebook[NB_LSP_COEFS][16] |
Definition at line 75 of file wmadata.h.
Referenced by decode_exp_lsp().
const uint8_t ff_wma_scale_huffbits[121] |
Definition at line 114 of file wmadata.h.
Referenced by encode_exp_vlc(), and wma_decode_init().
const uint32_t ff_wma_scale_huffcodes[121] |
Definition at line 95 of file wmadata.h.
Referenced by encode_exp_vlc(), and wma_decode_init().