FLACContext Struct Reference

Data Fields

FLACSTREAMINFO AVCodecContext * avctx
 parent AVCodecContext More...
 
AVFrame frame
 
GetBitContext gb
 GetBitContext initialized to start at the current frame. More...
 
int blocksize
 number of samples in the current frame More...
 
int curr_bps
 bps for current subframe, adjusted for channel correlation and wasted bits More...
 
int sample_shift
 shift required to make output samples 16-bit or 32-bit More...
 
int is32
 flag to indicate if output should be 32-bit instead of 16-bit More...
 
int ch_mode
 channel decorrelation type in the current frame More...
 
int got_streaminfo
 indicates if the STREAMINFO has been read More...
 
int32_t * decoded [FLAC_MAX_CHANNELS]
 decoded samples More...
 

Detailed Description

Definition at line 48 of file flacdec.c.

Field Documentation

int FLACContext::blocksize

number of samples in the current frame

Definition at line 55 of file flacdec.c.

Referenced by decode_frame(), decode_residuals(), decode_subframe(), decode_subframe_fixed(), decode_subframe_lpc(), and flac_decode_frame().

int FLACContext::ch_mode

channel decorrelation type in the current frame

Definition at line 59 of file flacdec.c.

Referenced by decode_frame(), decode_subframe(), and flac_decode_frame().

int FLACContext::curr_bps

bps for current subframe, adjusted for channel correlation and wasted bits

Definition at line 56 of file flacdec.c.

Referenced by decode_subframe(), decode_subframe_fixed(), and decode_subframe_lpc().

int32_t* FLACContext::decoded[FLAC_MAX_CHANNELS]
AVFrame FLACContext::frame

Definition at line 52 of file flacdec.c.

Referenced by flac_decode_frame(), and flac_decode_init().

GetBitContext FLACContext::gb

GetBitContext initialized to start at the current frame.

Definition at line 53 of file flacdec.c.

Referenced by decode_frame(), decode_residuals(), decode_subframe(), decode_subframe_fixed(), decode_subframe_lpc(), and flac_decode_frame().

int FLACContext::got_streaminfo

indicates if the STREAMINFO has been read

Definition at line 60 of file flacdec.c.

Referenced by decode_frame(), flac_decode_frame(), flac_decode_init(), and parse_streaminfo().

int FLACContext::is32

flag to indicate if output should be 32-bit instead of 16-bit

Definition at line 58 of file flacdec.c.

Referenced by decode_frame(), and flac_decode_frame().

int FLACContext::sample_shift

shift required to make output samples 16-bit or 32-bit

Definition at line 57 of file flacdec.c.

Referenced by decode_frame(), and flac_decode_frame().


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