hvirtual/toolame-02l/encode.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void create_ana_filter (double[SBLIMIT][64])
void encode_info (frame_info *, Bit_stream_struc *)
void combine_LR (double[2][3][SCALE_BLOCK][SBLIMIT], double[3][SCALE_BLOCK][SBLIMIT], int)
void scale_factor_calc (double[][3][SCALE_BLOCK][SBLIMIT], unsigned int[][3][SBLIMIT], int, int)
void pick_scale (unsigned int[2][3][SBLIMIT], frame_info *, double[2][SBLIMIT])
void put_scale (unsigned int[2][3][SBLIMIT], frame_info *, double[2][SBLIMIT])
void transmission_pattern (unsigned int[2][3][SBLIMIT], unsigned int[2][SBLIMIT], frame_info *)
void encode_scale (unsigned int[2][SBLIMIT], unsigned int[2][SBLIMIT], unsigned int[2][3][SBLIMIT], frame_info *, Bit_stream_struc *)
int bits_for_nonoise (double[2][SBLIMIT], unsigned int[2][SBLIMIT], frame_info *)
void main_bit_allocation (double[2][SBLIMIT], unsigned int[2][SBLIMIT], unsigned int[2][SBLIMIT], int *, frame_info *, options *)
int a_bit_allocation (double[2][SBLIMIT], unsigned int[2][SBLIMIT], unsigned int[2][SBLIMIT], int *, frame_info *)
void subband_quantization (unsigned int[2][3][SBLIMIT], double[2][3][SCALE_BLOCK][SBLIMIT], unsigned int[3][SBLIMIT], double[3][SCALE_BLOCK][SBLIMIT], unsigned int[2][SBLIMIT], unsigned int[2][3][SCALE_BLOCK][SBLIMIT], frame_info *)
void encode_bit_alloc (unsigned int[2][SBLIMIT], frame_info *, Bit_stream_struc *)
void sample_encoding (unsigned int[2][3][SCALE_BLOCK][SBLIMIT], unsigned int[2][SBLIMIT], frame_info *, Bit_stream_struc *)
void encode_CRC (unsigned int, Bit_stream_struc *)
void maxmnr (double mnr[2][SBLIMIT], char used[2][SBLIMIT], int sblimit, int stereo, int *min_sb, int *min_ch)
int VBR_bits_for_nonoise (double perm_smr[2][SBLIMIT], unsigned int scfsi[2][SBLIMIT], frame_info *frame, int vbrlevel)
void VBR_maxmnr (double mnr[2][SBLIMIT], char used[2][SBLIMIT], int sblimit, int stereo, int *min_sb, int *min_ch, options *glopts)
int VBR_bit_allocation (double perm_smr[2][SBLIMIT], unsigned int scfsi[2][SBLIMIT], unsigned int bit_alloc[2][SBLIMIT], int *adb, frame_info *frame, options *glopts)


Function Documentation

int a_bit_allocation ( double  [2][SBLIMIT],
unsigned  int[2][SBLIMIT],
unsigned  int[2][SBLIMIT],
int *  ,
frame_info  
)

int bits_for_nonoise ( double  [2][SBLIMIT],
unsigned  int[2][SBLIMIT],
frame_info  
)

void combine_LR ( double  [2][3][SCALE_BLOCK][SBLIMIT],
double  [3][SCALE_BLOCK][SBLIMIT],
int   
)

Definition at line 61 of file encode.c.

References SCALE_BLOCK.

Referenced by toolame().

void create_ana_filter ( double  [SBLIMIT][64]  ) 

void encode_bit_alloc ( unsigned  int[2][SBLIMIT],
frame_info ,
Bit_stream_struc  
)

Definition at line 1158 of file encode.c.

References frame_info::alloc, bit_alloc(), frame_info::jsbound, frame_info::nch, putbits(), and frame_info::sblimit.

Referenced by toolame().

Here is the call graph for this function:

void encode_CRC ( unsigned  int,
Bit_stream_struc  
)

Definition at line 1221 of file encode.c.

References putbits().

Referenced by toolame().

Here is the call graph for this function:

void encode_info ( frame_info ,
Bit_stream_struc  
)

void encode_scale ( unsigned  int[2][SBLIMIT],
unsigned  int[2][SBLIMIT],
unsigned  int[2][3][SBLIMIT],
frame_info ,
Bit_stream_struc  
)

Definition at line 289 of file encode.c.

References bit_alloc(), frame_info::nch, putbits(), and frame_info::sblimit.

Referenced by toolame().

Here is the call graph for this function:

void main_bit_allocation ( double  [2][SBLIMIT],
unsigned  int[2][SBLIMIT],
unsigned  int[2][SBLIMIT],
int *  ,
frame_info ,
options  
)

void maxmnr ( double  mnr[2][SBLIMIT],
char  used[2][SBLIMIT],
int  sblimit,
int  stereo,
int *  min_sb,
int *  min_ch 
)

Definition at line 816 of file encode.c.

Referenced by a_bit_allocation().

void pick_scale ( unsigned  int[2][3][SBLIMIT],
frame_info ,
double  [2][SBLIMIT] 
)

Definition at line 174 of file encode.c.

References multiple, frame_info::nch, and frame_info::sblimit.

Referenced by toolame().

void put_scale ( unsigned  int[2][3][SBLIMIT],
frame_info ,
double  [2][SBLIMIT] 
)

void sample_encoding ( unsigned  int[2][3][SCALE_BLOCK][SBLIMIT],
unsigned  int[2][SBLIMIT],
frame_info ,
Bit_stream_struc  
)

Definition at line 1185 of file encode.c.

References frame_info::alloc, bit_alloc(), bits, frame_info::jsbound, frame_info::nch, putbits(), and frame_info::sblimit.

Referenced by toolame().

Here is the call graph for this function:

void scale_factor_calc ( double  [][3][SCALE_BLOCK][SBLIMIT],
unsigned  int[][3][SBLIMIT],
int  ,
int   
)

Definition at line 91 of file encode.c.

References multiple, SCALE_BLOCK, and t.

Referenced by toolame().

void subband_quantization ( unsigned  int[2][3][SBLIMIT],
double  [2][3][SCALE_BLOCK][SBLIMIT],
unsigned  int[3][SBLIMIT],
double  [3][SCALE_BLOCK][SBLIMIT],
unsigned  int[2][SBLIMIT],
unsigned  int[2][3][SCALE_BLOCK][SBLIMIT],
frame_info  
)

Definition at line 1021 of file encode.c.

References frame_info::alloc, bit_alloc(), fprintf, frame_info::jsbound, multiple, frame_info::nch, and frame_info::sblimit.

Referenced by toolame().

Here is the call graph for this function:

void transmission_pattern ( unsigned  int[2][3][SBLIMIT],
unsigned  int[2][SBLIMIT],
frame_info  
)

Definition at line 207 of file encode.c.

References frame_info::nch, and frame_info::sblimit.

Referenced by toolame().

int VBR_bit_allocation ( double  perm_smr[2][SBLIMIT],
unsigned int  scfsi[2][SBLIMIT],
unsigned int  bit_alloc[2][SBLIMIT],
int *  adb,
frame_info frame,
options glopts 
)

Definition at line 687 of file encode.c.

References frame_info::alloc, bit_alloc(), frame_header::error_protection, frame_info::header, init, frame_info::jsbound, frame_info::nch, frame_info::sblimit, and VBR_maxmnr().

Referenced by main_bit_allocation().

Here is the call graph for this function:

int VBR_bits_for_nonoise ( double  perm_smr[2][SBLIMIT],
unsigned int  scfsi[2][SBLIMIT],
frame_info frame,
int  vbrlevel 
)

void VBR_maxmnr ( double  mnr[2][SBLIMIT],
char  used[2][SBLIMIT],
int  sblimit,
int  stereo,
int *  min_sb,
int *  min_ch,
options glopts 
)

Definition at line 657 of file encode.c.

Referenced by VBR_bit_allocation().


Generated on Mon Apr 28 14:09:07 2008 for Cinelerra by  doxygen 1.5.5