⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jddatatype.h

📁 void III_hufman_decode(struct Granule *gr,int part2_start, int freqline[SBLIMIT][SSLIMIT]) {
💻 H
字号:
#ifndef JDDATATYPE_H
#define JDDATATYPE_H

typedef char			INT8;
typedef unsigned char	UINT8;

typedef short			INT16;
typedef unsigned short	UINT16;

typedef int				INT32;
typedef unsigned int	UINT32;

typedef struct HUFFMAN_STRUCTURE
{
	UINT16 *huffval_table;
	INT32 *valptr_minus_mincode_table;
	INT32 *maxcode_table;
	UINT16 *huffsize_table;
} HUFFMAN_STRUCTURE;

typedef struct JPEG_DECODER_STRUCTURE
{
	UINT16 unread_marker;
	UINT16 sof_detected;
	UINT16 sof;

	UINT16 number_of_lines;
	UINT16 number_of_samples_per_line;
	UINT16 number_of_image_components_in_frame;
	UINT16 component_identifier [3];
	UINT16 horizontal_sampling_factor [3];
	UINT16 vertical_sampling_factor [3];
	UINT16 quantization_table_destination_selector [3];

	UINT16 image_format;
	UINT16 horizontal_mcus;
	UINT16 vertical_mcus;
	UINT16 mcu_size;
	UINT16 increment1;
	UINT32 increment2;
	UINT16 number_of_rows [2];
	UINT16 number_of_columns [2];
	void (* write_format) (INT16 *, UINT32 *);

	UINT16 number_of_image_components_in_scan;
	UINT16 component_index_in_frame [3];
	UINT16 dc_entropy_coding_table_destination_selector [3];
	UINT16 ac_entropy_coding_table_destination_selector [3];
	UINT16 start_of_spectral_selection;
	UINT16 end_of_spectral_selection;
	UINT16 successive_approximation_bit_position_high;
	UINT16 successive_approximation_bit_position_low;

	UINT16 restart_interval;
	UINT16 restarts_to_go;
	UINT16 next_restart_num;

	UINT16 *quantization_table [4];
	HUFFMAN_STRUCTURE huffman_structure [2][4];

	UINT8 *input_ptr;
	INT16 *mcu_buffer;
	UINT32 *image_buffer;
	UINT32 *external_image_buffer;
	UINT32 *const_image_buffer;
	INT16 *coefficient_buffer /* [5000000]*/ ;

	UINT32 lcode;
	UINT16 lsize;
	INT16 ldc[3];
	UINT32 eobrun;

} JPEG_DECODER_STRUCTURE;

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -