FFmpeg  4.0
Data Fields
MpegAudioContext Struct Reference

Data Fields

PutBitContext pb
 
int nb_channels
 
int lsf
 
int bitrate_index
 
int freq_index
 
int frame_size
 
int frame_frac
 
int frame_frac_incr
 
int do_padding
 
short samples_buf [MPA_MAX_CHANNELS][SAMPLES_BUF_SIZE]
 
int samples_offset [MPA_MAX_CHANNELS]
 
int sb_samples [MPA_MAX_CHANNELS][3][12][SBLIMIT]
 
unsigned char scale_factors [MPA_MAX_CHANNELS][SBLIMIT][3]
 
unsigned char scale_code [MPA_MAX_CHANNELS][SBLIMIT]
 
int sblimit
 
const unsigned char * alloc_table
 
int16_t filter_bank [512]
 
int scale_factor_table [64]
 
unsigned char scale_diff_table [128]
 
int8_t scale_factor_shift [64]
 
unsigned short scale_factor_mult [64]
 
unsigned short total_quant_bits [17]
 

Detailed Description

Definition at line 47 of file mpegaudioenc_template.c.

Field Documentation

◆ pb

PutBitContext MpegAudioContext::pb

Definition at line 48 of file mpegaudioenc_template.c.

Referenced by encode_frame(), and MPA_encode_frame().

◆ nb_channels

int MpegAudioContext::nb_channels

◆ lsf

int MpegAudioContext::lsf

Definition at line 50 of file mpegaudioenc_template.c.

Referenced by encode_frame(), and MPA_encode_init().

◆ bitrate_index

int MpegAudioContext::bitrate_index

Definition at line 51 of file mpegaudioenc_template.c.

Referenced by encode_frame(), and MPA_encode_init().

◆ freq_index

int MpegAudioContext::freq_index

Definition at line 52 of file mpegaudioenc_template.c.

Referenced by encode_frame(), and MPA_encode_init().

◆ frame_size

int MpegAudioContext::frame_size

Definition at line 53 of file mpegaudioenc_template.c.

Referenced by compute_bit_allocation(), and MPA_encode_init().

◆ frame_frac

int MpegAudioContext::frame_frac

Definition at line 55 of file mpegaudioenc_template.c.

Referenced by compute_bit_allocation(), and MPA_encode_init().

◆ frame_frac_incr

int MpegAudioContext::frame_frac_incr

Definition at line 55 of file mpegaudioenc_template.c.

Referenced by compute_bit_allocation(), and MPA_encode_init().

◆ do_padding

int MpegAudioContext::do_padding

Definition at line 55 of file mpegaudioenc_template.c.

Referenced by compute_bit_allocation(), and encode_frame().

◆ samples_buf

short MpegAudioContext::samples_buf[MPA_MAX_CHANNELS][SAMPLES_BUF_SIZE]

Definition at line 56 of file mpegaudioenc_template.c.

Referenced by filter().

◆ samples_offset

int MpegAudioContext::samples_offset[MPA_MAX_CHANNELS]

Definition at line 57 of file mpegaudioenc_template.c.

Referenced by filter(), and MPA_encode_init().

◆ sb_samples

int MpegAudioContext::sb_samples[MPA_MAX_CHANNELS][3][12][SBLIMIT]

◆ scale_factors

unsigned char MpegAudioContext::scale_factors[MPA_MAX_CHANNELS][SBLIMIT][3]

Definition at line 59 of file mpegaudioenc_template.c.

Referenced by compute_scale_factors(), encode_frame(), and MPA_encode_frame().

◆ scale_code

unsigned char MpegAudioContext::scale_code[MPA_MAX_CHANNELS][SBLIMIT]

◆ sblimit

int MpegAudioContext::sblimit

◆ alloc_table

const unsigned char* MpegAudioContext::alloc_table

Definition at line 63 of file mpegaudioenc_template.c.

Referenced by compute_bit_allocation(), encode_frame(), and MPA_encode_init().

◆ filter_bank

int16_t MpegAudioContext::filter_bank[512]

Definition at line 64 of file mpegaudioenc_template.c.

Referenced by filter(), and MPA_encode_init().

◆ scale_factor_table

int MpegAudioContext::scale_factor_table[64]

Definition at line 65 of file mpegaudioenc_template.c.

Referenced by compute_scale_factors(), and MPA_encode_init().

◆ scale_diff_table

unsigned char MpegAudioContext::scale_diff_table[128]

Definition at line 66 of file mpegaudioenc_template.c.

Referenced by compute_scale_factors(), and MPA_encode_init().

◆ scale_factor_shift

int8_t MpegAudioContext::scale_factor_shift[64]

Definition at line 70 of file mpegaudioenc_template.c.

Referenced by encode_frame(), and MPA_encode_init().

◆ scale_factor_mult

unsigned short MpegAudioContext::scale_factor_mult[64]

Definition at line 71 of file mpegaudioenc_template.c.

Referenced by encode_frame(), and MPA_encode_init().

◆ total_quant_bits

unsigned short MpegAudioContext::total_quant_bits[17]

Definition at line 73 of file mpegaudioenc_template.c.

Referenced by compute_bit_allocation(), and MPA_encode_init().


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