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, unsigned int *qmatrix)
 
void PostshiftIDctMatrix (int *matrix, int shift)
 
void BoundIDctMatrix (int *matrix, int Bound)
 
void WriteOneBlock (int *store, unsigned 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.

Referenced by decode_block().

Here is the caller graph for this function:

◆ ChenIDct()

void ChenIDct ( int *  x,
int *  y 
)

Definition at line 79 of file chenidct.c.

Referenced by decode_block().

Here is the caller graph for this function:

◆ decode_block()

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

Definition at line 329 of file decode.c.

References BoundIDctMatrix(), ChenIDct(), DCTSIZE2, DecodeHuffMCU(), IDCT_BOUNT, IDCT_SHIFT, IQuantize(), IZigzagMatrix(), p_jinfo_comps_info_quant_tbl_no, p_jinfo_quant_tbl_quantval, and PostshiftIDctMatrix().

Referenced by decode_start().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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 
)

Definition at line 352 of file decode.c.

References CurHuffReadBuf, DCTSIZE2, decode_block(), NUM_COMPONENT, OutData_comp_buf, p_jinfo_image_height, p_jinfo_image_width, p_jinfo_jpeg_data, p_jinfo_NumMCU, p_jinfo_smp_fact, rgb_buf, RGB_NUM, SF1_1_1, Write4Blocks(), WriteBlock(), and YuvToRgb().

Referenced by jpeg_read().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IQuantize()

void IQuantize ( int *  matrix,
unsigned int *  qmatrix 
)

Definition at line 91 of file decode.c.

References DCTSIZE2.

Referenced by decode_block().

Here is the caller graph for this function:

◆ IZigzagMatrix()

void IZigzagMatrix ( int *  imatrix,
int *  omatrix 
)

Definition at line 72 of file decode.c.

References DCTSIZE2, and zigzag_index.

Referenced by decode_block().

Here is the caller graph for this function:

◆ PostshiftIDctMatrix()

void PostshiftIDctMatrix ( int *  matrix,
int  shift 
)

Definition at line 108 of file decode.c.

References DCTSIZE2.

Referenced by decode_block().

Here is the caller graph for this function:

◆ 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().

Referenced by decode_start().

Here is the call graph for this function:
Here is the caller 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().

Referenced by decode_start().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteOneBlock()

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

Definition at line 143 of file decode.c.

References DCTSIZE.

Referenced by Write4Blocks(), and WriteBlock().

Here is the caller graph for this function:

◆ 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.

Referenced by decode_start().

Here is the caller graph for this function:

Variable Documentation

◆ rgb_buf

int rgb_buf[4][RGB_NUM][DCTSIZE2]

Definition at line 53 of file decode.c.

Referenced by decode_start(), and YuvToRgb().

◆ 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.

Referenced by IZigzagMatrix().


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