FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
g722.h File Reference
#include <stdint.h>
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  G722Context
 
struct  G722Context::G722Band
 The band[0] and band[1] correspond respectively to the lower band and higher band. More...
 
struct  G722Context::TrellisNode
 
struct  G722Context::TrellisPath
 

Macros

#define PREV_SAMPLES_BUF_SIZE   1024
 

Functions

void ff_g722_update_low_predictor (struct G722Band *band, const int ilow)
 
void ff_g722_update_high_predictor (struct G722Band *band, const int dhigh, const int ihigh)
 
void ff_g722_apply_qmf (const int16_t *prev_samples, int *xout1, int *xout2)
 

Variables

const int16_t ff_g722_high_inv_quant [4]
 
const int16_t ff_g722_low_inv_quant4 [16]
 
const int16_t ff_g722_low_inv_quant6 [64]
 

Macro Definition Documentation

#define PREV_SAMPLES_BUF_SIZE   1024

Definition at line 31 of file g722.h.

Referenced by filter_samples(), and g722_decode_frame().

Function Documentation

void ff_g722_update_low_predictor ( struct G722Band *  band,
const int  ilow 
)

Definition at line 139 of file g722.c.

Referenced by g722_decode_frame(), and g722_encode_trellis().

void ff_g722_update_high_predictor ( struct G722Band *  band,
const int  dhigh,
const int  ihigh 
)

Definition at line 150 of file g722.c.

Referenced by g722_decode_frame(), and g722_encode_trellis().

void ff_g722_apply_qmf ( const int16_t *  prev_samples,
int *  xout1,
int *  xout2 
)

Definition at line 161 of file g722.c.

Referenced by filter_samples(), and g722_decode_frame().

Variable Documentation

const int16_t ff_g722_high_inv_quant[4]

Definition at line 51 of file g722.c.

Referenced by g722_decode_frame(), and g722_encode_trellis().

const int16_t ff_g722_low_inv_quant4[16]

Definition at line 59 of file g722.c.

Referenced by ff_g722_update_low_predictor().

const int16_t ff_g722_low_inv_quant6[64]

Definition at line 63 of file g722.c.

Referenced by g722_encode_trellis().