jpegless.h

来自「dicom file 查看工具 DICOM文件是医疗设备使用的文件格式。」· C头文件 代码 · 共 58 行

H
58
字号
/* * JPEGLess.h * * --------------------------------------------------------------- * * Lossless JPEG compression and decompression algorithms. * * --------------------------------------------------------------- * * It is based on the program originally named ljpgtopnm and pnmtoljpg. * Major portions taken from the Independetn JPEG Group' software, and * from the Cornell lossless JPEG code (the original copyright notices * for those packages appears below). * * --------------------------------------------------------------- * * This is the main routine for the lossless JPEG decoder.  Large * parts are stolen from the IJG code *//* * $Id: jpegless.h,v 1.1 2002/10/14 21:56:02 enlf Exp $ */#include "jpeg.h"#ifndef _JPEGLOSSLESS_#define _JPEGLOSSLESS_#if defined(__cplusplus)extern "C"{#endif/* Global variables for lossless encoding process */int psvSet[7];        /* the PSV (prediction selection value) set    */int numSelValue;      /* number of PSVs in psvSet                    */long inputFileBytes;  /* the input file size in bytes                */long outputFileBytes; /* the output file size in bytes               */long totalHuffSym[7]; /* total bits of category symbols for each PSV */long totalAddBits[7]; /* total bits of additional bits for each PSV  */int  verbose;         /* the verbose flag                            *//* * read a JPEG lossless (8 or 16 bit) image in a file and decode it */short JPEGLosslessDecodeImage (StreamIN, unsigned short *, int , int);#if defined(__cplusplus)}#endif#endif /* _JPEGLOSSLESS_ */

⌨️ 快捷键说明

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