#include <limits.h>
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"
#include "get_bits.h"
#include "put_bits.h"
Go to the source code of this file.
Data Structures | |
struct | Float11 |
G.726 11bit float. More... | |
struct | G726Tables |
struct | G726Context |
Functions | |
static Float11 * | i2f (int i, Float11 *f) |
static int16_t | mult (Float11 *f1, Float11 *f2) |
static int | sgn (int value) |
static uint8_t | quant (G726Context *c, int d) |
Para 4.2.2 page 18: Adaptive quantizer. | |
static int16_t | inverse_quant (G726Context *c, int i) |
Para 4.2.3 page 22: Inverse adaptive quantizer. | |
static int16_t | g726_decode (G726Context *c, int I) |
static av_cold int | g726_reset (G726Context *c) |
Variables | |
static const int | quant_tbl16 [] |
16kbit/s 2bits per sample | |
static const int16_t | iquant_tbl16 [] |
static const int16_t | W_tbl16 [] |
static const uint8_t | F_tbl16 [] |
static const int | quant_tbl24 [] |
24kbit/s 3bits per sample | |
static const int16_t | iquant_tbl24 [] |
static const int16_t | W_tbl24 [] |
static const uint8_t | F_tbl24 [] |
static const int | quant_tbl32 [] |
32kbit/s 4bits per sample | |
static const int16_t | iquant_tbl32 [] |
static const int16_t | W_tbl32 [] |
static const uint8_t | F_tbl32 [] |
static const int | quant_tbl40 [] |
40kbit/s 5bits per sample | |
static const int16_t | iquant_tbl40 [] |
static const int16_t | W_tbl40 [] |
static const uint8_t | F_tbl40 [] |
static const G726Tables | G726Tables_pool [] |
static int16_t g726_decode | ( | G726Context * | c, | |
int | I | |||
) | [static] |
static av_cold int g726_reset | ( | G726Context * | c | ) | [static] |
static int16_t inverse_quant | ( | G726Context * | c, | |
int | i | |||
) | [inline, static] |
Definition at line 54 of file g726.c.
Referenced by encode_block(), encode_frame(), g726_decode(), select_palette(), and wma_decode_block().
static uint8_t quant | ( | G726Context * | c, | |
int | d | |||
) | [inline, static] |
const G726Tables G726Tables_pool[] [static] |
Initial value:
{{ quant_tbl16, iquant_tbl16, W_tbl16, F_tbl16 }, { quant_tbl24, iquant_tbl24, W_tbl24, F_tbl24 }, { quant_tbl32, iquant_tbl32, W_tbl32, F_tbl32 }, { quant_tbl40, iquant_tbl40, W_tbl40, F_tbl40 }}
const int16_t iquant_tbl16[] [static] |
const int16_t iquant_tbl24[] [static] |
const int16_t iquant_tbl32[] [static] |
const int16_t iquant_tbl40[] [static] |
const int quant_tbl16[] [static] |
const int quant_tbl24[] [static] |
const int quant_tbl32[] [static] |
const int quant_tbl40[] [static] |