PandA-2024.02
|
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] |
void BoundIDctMatrix | ( | int * | matrix, |
int | Bound | ||
) |
Definition at line 123 of file decode.c.
References DCTSIZE2.
Referenced by decode_block().
void ChenIDct | ( | int * | x, |
int * | y | ||
) |
Definition at line 79 of file chenidct.c.
Referenced by 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().
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().
void IQuantize | ( | int * | matrix, |
unsigned int * | qmatrix | ||
) |
Definition at line 91 of file decode.c.
References DCTSIZE2.
Referenced by decode_block().
void IZigzagMatrix | ( | int * | imatrix, |
int * | omatrix | ||
) |
Definition at line 72 of file decode.c.
References DCTSIZE2, and zigzag_index.
Referenced by decode_block().
void PostshiftIDctMatrix | ( | int * | matrix, |
int | shift | ||
) |
Definition at line 108 of file decode.c.
References DCTSIZE2.
Referenced by decode_block().
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().
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().
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().
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().
Definition at line 53 of file decode.c.
Referenced by decode_start(), and YuvToRgb().
const int zigzag_index[64] |
Definition at line 55 of file decode.c.
Referenced by IZigzagMatrix().