spandsp 3.0.0
ima_adpcm_state_s Struct Reference

#include <ima_adpcm.h>

Public Attributes

int variant
int chunk_size
 The size of a chunk, in samples.
int last
 The last state of the ADPCM algorithm.
int step_index
 Current index into the step size table.
uint16_t ima_byte
 The current IMA code byte in progress.
int bits

Detailed Description

IMA (DVI/Intel) ADPCM conversion state descriptor. This defines the state of a single working instance of the IMA ADPCM converter. This is used for either linear to ADPCM or ADPCM to linear conversion.

Member Data Documentation

◆ chunk_size

int ima_adpcm_state_s::chunk_size

The size of a chunk, in samples.

Referenced by ima_adpcm_decode(), ima_adpcm_encode(), and ima_adpcm_init().

◆ ima_byte

uint16_t ima_adpcm_state_s::ima_byte

The current IMA code byte in progress.

Referenced by ima_adpcm_encode().

◆ last

int ima_adpcm_state_s::last

The last state of the ADPCM algorithm.

Referenced by ima_adpcm_decode(), and ima_adpcm_encode().

◆ step_index

int ima_adpcm_state_s::step_index

Current index into the step size table.

Referenced by ima_adpcm_decode(), and ima_adpcm_encode().


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