spandsp 3.0.0
g722_encode_state_s Struct Reference

#include <g722.h>

Public Attributes

bool itu_test_mode
 
bool packed
 
bool eight_k
 
int bits_per_sample
 
int16_t x [12]
 
int16_t y [12]
 
int ptr
 
g722_band_t band [2]
 
uint32_t out_buffer
 
int out_bits
 

Detailed Description

G.722 encode state

Member Data Documentation

◆ bits_per_sample

int g722_encode_state_s::bits_per_sample

6 for 48000kbps, 7 for 56000kbps, or 8 for 64000kbps.

Referenced by g722_encode(), and g722_encode_init().

◆ eight_k

bool g722_encode_state_s::eight_k

True if encoding from 8k samples/second

Referenced by g722_encode(), and g722_encode_init().

◆ itu_test_mode

bool g722_encode_state_s::itu_test_mode

True if operating in the special ITU test mode, with the band split filters disabled.

Referenced by g722_encode().

◆ packed

bool g722_encode_state_s::packed

True if the G.722 data is packed

Referenced by g722_encode(), and g722_encode_init().

◆ x

int16_t g722_encode_state_s::x[12]

Signal history for the QMF

Referenced by g722_encode().


The documentation for this struct was generated from the following file: