
Go to the source code of this file.
Data Structures | |
| struct | WMADecodeContext |
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 | M_PI 3.14159265358979323846 |
| #define | M_PI_F 0x3243f |
| #define | TWO_M_PI_F 0x6487f |
| #define | MAX_CHANNELS 2 |
| #define | NOISE_TAB_SIZE 8192 |
| #define | LSP_POW_BITS 7 |
Functions | |
| int | wma_decode_init (WMADecodeContext *s, asf_waveformatex_t *wfx) |
| int | wma_decode_superframe_init (WMADecodeContext *s, uint8_t *buf, int buf_size) |
| int | wma_decode_superframe_frame (WMADecodeContext *s, int32_t *samples, uint8_t *buf, int buf_size) |
| #define BLOCK_MAX_BITS 11 |
| #define BLOCK_MAX_SIZE (1 << BLOCK_MAX_BITS) |
Referenced by DecodeFrame(), and wma_decode_block().
| #define BLOCK_MIN_BITS 7 |
Referenced by wma_decode_init().
| #define BLOCK_NB_SIZES (BLOCK_MAX_BITS - BLOCK_MIN_BITS + 1) |
| #define HIGH_BAND_MAX_SIZE 16 |
Referenced by wma_decode_block().
| #define LSP_POW_BITS 7 |
Referenced by pow_m1_4(), and wma_lsp_to_curve_init().
| #define M_PI 3.14159265358979323846 |
Referenced by cache_trigo(), FilterHough(), FilterPacked(), FilterPlanar(), gaussianblur_InitDistribution(), and Generate().
| #define M_PI_F 0x3243f |
Referenced by wma_lsp_to_curve_init().
| #define MAX_CHANNELS 2 |
Referenced by DecodeFrame(), and wma_decode_block().
| #define MAX_CODED_SUPERFRAME_SIZE 16384 |
Referenced by wma_decode_superframe_frame().
| #define NB_LSP_COEFS 10 |
Referenced by decode_exp_lsp(), and wma_lsp_to_curve().
| #define NOISE_TAB_SIZE 8192 |
Referenced by wma_decode_block(), and wma_decode_init().
| #define TWO_M_PI_F 0x6487f |
| int wma_decode_init | ( | WMADecodeContext * | s, | |
| asf_waveformatex_t * | wfx | |||
| ) |
References a, ASF_CODEC_ID_WMAV1, ASF_CODEC_ID_WMAV2, av_log2(), b, WMADecodeContext::bit_rate, asf_waveformatex_s::bitrate, WMADecodeContext::block_align, BLOCK_MIN_BITS, asf_waveformatex_s::blockalign, WMADecodeContext::byte_offset_bits, asf_waveformatex_s::channels, asf_waveformatex_s::codec_id, WMADecodeContext::coef_vlc, coef_vlcs, WMADecodeContext::coefs, WMADecodeContext::coefs_end, WMADecodeContext::coefs_start, coefsarray, asf_waveformatex_s::data, asf_waveformatex_s::datalen, WMADecodeContext::exp_vlc, exponent_band_22050, exponent_band_32000, exponent_band_44100, WMADecodeContext::exponent_bands, WMADecodeContext::exponent_high_bands, WMADecodeContext::exponent_high_sizes, WMADecodeContext::exponent_sizes, EXPVLCBITS, ff_mdct_init(), fixdiv32(), fixdiv64(), fixmul32(), fixtoi32, fixtoi64, WMADecodeContext::frame_len, WMADecodeContext::frame_len_bits, fsincos(), hgain_huffbits, hgain_huffcodes, WMADecodeContext::hgain_vlc, HGAINVLCBITS, WMADecodeContext::high_band_start, i, init_coef_vlc(), init_vlc(), itofix32, itofix64, WMADecodeContext::last_bitoffset, WMADecodeContext::last_superframe_len, WMADecodeContext::level_table, levtab0, levtab1, levtabarray, WMADecodeContext::mdct_ctx, mdct_init_global(), WMADecodeContext::nb_block_sizes, WMADecodeContext::nb_channels, WMADecodeContext::noise_mult, NOISE_TAB_SIZE, WMADecodeContext::noise_table, noisetable_exp, asf_waveformatex_s::rate, WMADecodeContext::reset_block_lengths, WMADecodeContext::run_table, runtab0, runtab1, runtabarray, WMADecodeContext::sample_rate, scale_huffbits, scale_huffcodes, stat0, stat1, stat2, stat3, stat4, VLC::table, VLC::table_allocated, WMADecodeContext::use_bit_reservoir, WMADecodeContext::use_exp_vlc, WMADecodeContext::use_noise_coding, WMADecodeContext::use_variable_block_len, WMADecodeContext::version, vlcbuf1, VLCBUF1SIZE, vlcbuf2, VLCBUF2SIZE, vlcbuf3, VLCBUF3SIZE, vlcbuf4, VLCBUF4SIZE, WMADecodeContext::windows, wma_critical_freqs, and wma_lsp_to_curve_init().
Referenced by OpenDecoder().
| int wma_decode_superframe_frame | ( | WMADecodeContext * | s, | |
| int32_t * | samples, | |||
| uint8_t * | buf, | |||
| int | buf_size | |||
| ) |
References WMADecodeContext::bit_offset, WMADecodeContext::byte_offset_bits, WMADecodeContext::current_frame, WMADecodeContext::frame_len, WMADecodeContext::gb, get_bits(), get_bits_count(), init_get_bits(), WMADecodeContext::last_bitoffset, WMADecodeContext::last_superframe, WMADecodeContext::last_superframe_len, MAX_CODED_SUPERFRAME_SIZE, WMADecodeContext::nb_frames, WMADecodeContext::reset_block_lengths, skip_bits(), WMADecodeContext::use_bit_reservoir, and wma_decode_frame().
Referenced by DecodeFrame().
| int wma_decode_superframe_init | ( | WMADecodeContext * | s, | |
| uint8_t * | buf, | |||
| int | buf_size | |||
| ) |
1.5.6