PandA-2024.02
Functions | Variables
decode.c File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ChenIDct (int *x, int *y)
 
void IZigzagMatrix (int *imatrix, int *omatrix)
 
void IQuantize (int *matrix, int *qmatrix)
 
void PostshiftIDctMatrix (int *matrix, int shift)
 
void BoundIDctMatrix (int *matrix, int Bound)
 
void WriteOneBlock (int *store, char *out_buf, int width, int height, int voffs, int hoffs)
 
void WriteBlock (int *store, int *p_out_vpos, int *p_out_hpos, unsigned char *p_out_buf)
 
void Write4Blocks (int *store1, int *store2, int *store3, int *store4, int *p_out_vpos, int *p_out_hpos, unsigned char *p_out_buf)
 
void YuvToRgb (int p, int *y_buf, int *u_buf, int *v_buf)
 
void decode_block (int comp_no, int *out_buf, int *HuffBuff)
 
void decode_start (int *out_data_image_width, int *out_data_image_height, int *out_data_comp_vpos, int *out_data_comp_hpos)
 

Variables

int rgb_buf [4][RGB_NUM][DCTSIZE2]
 
const int zigzag_index [64]
 

Function Documentation

◆ BoundIDctMatrix()

void BoundIDctMatrix ( int *  matrix,
int  Bound 
)

Definition at line 123 of file decode.c.

References DCTSIZE2.

◆ ChenIDct()

void ChenIDct ( int *  x,
int *  y 
)

Definition at line 79 of file chenidct.c.

References a0, a1, a2, a3, b0, b1, b2, c0, c1, c1d16, c1d4, c1d8, c2, c3d16, c3d8, c5d16, c7d16, LS, and MSCALE.

◆ decode_block()

void decode_block ( int  comp_no,
int *  out_buf,
int *  HuffBuff 
)

◆ decode_start()

void decode_start ( int *  out_data_image_width,
int *  out_data_image_height,
int *  out_data_comp_vpos,
int *  out_data_comp_hpos 
)

◆ IQuantize()

void IQuantize ( int *  matrix,
int *  qmatrix 
)

Definition at line 91 of file decode.c.

References DCTSIZE2.

◆ IZigzagMatrix()

void IZigzagMatrix ( int *  imatrix,
int *  omatrix 
)

Definition at line 72 of file decode.c.

References DCTSIZE2, and zigzag_index.

◆ PostshiftIDctMatrix()

void PostshiftIDctMatrix ( int *  matrix,
int  shift 
)

Definition at line 108 of file decode.c.

References DCTSIZE2.

◆ Write4Blocks()

void Write4Blocks ( int *  store1,
int *  store2,
int *  store3,
int *  store4,
int *  p_out_vpos,
int *  p_out_hpos,
unsigned char *  p_out_buf 
)

Definition at line 223 of file decode.c.

References DCTSIZE, p_jinfo_image_height, p_jinfo_image_width, p_jinfo_MCUWidth, and WriteOneBlock().

Here is the call graph for this function:

◆ WriteBlock()

void WriteBlock ( int *  store,
int *  p_out_vpos,
int *  p_out_hpos,
unsigned char *  p_out_buf 
)

Definition at line 185 of file decode.c.

References DCTSIZE, p_jinfo_image_height, p_jinfo_image_width, p_jinfo_MCUWidth, and WriteOneBlock().

Here is the call graph for this function:

◆ WriteOneBlock()

void WriteOneBlock ( int *  store,
char *  out_buf,
int  width,
int  height,
int  voffs,
int  hoffs 
)

Definition at line 143 of file decode.c.

References DCTSIZE.

◆ YuvToRgb()

void YuvToRgb ( int  p,
int *  y_buf,
int *  u_buf,
int *  v_buf 
)

Definition at line 286 of file decode.c.

References DCTSIZE2, and rgb_buf.

Variable Documentation

◆ rgb_buf

int rgb_buf[4][RGB_NUM][DCTSIZE2]

Definition at line 53 of file decode.c.

◆ zigzag_index

const int zigzag_index[64]
Initial value:
=
{ 0, 1, 5, 6, 14, 15, 27, 28,
2, 4, 7, 13, 16, 26, 29, 42,
3, 8, 12, 17, 25, 30, 41, 43,
9, 11, 18, 24, 31, 40, 44, 53,
10, 19, 23, 32, 39, 45, 52, 54,
20, 22, 33, 38, 46, 51, 55, 60,
21, 34, 37, 47, 50, 56, 59, 61,
35, 36, 48, 49, 57, 58, 62, 63
}

Definition at line 55 of file decode.c.


Generated on Mon Feb 12 2024 13:03:07 for PandA-2024.02 by doxygen 1.8.13