📄 commondecls.h
字号:
#include <stdio.h>#include <stddef.h>#include <stdlib.h>#define SIZEOF(object) ((size_t) sizeof(object))typedef unsigned char JSAMPLE;typedef JSAMPLE *JSAMPROW; /* ptr to one image row of pixel samples. */typedef JSAMPROW *JSAMPARRAY; /* ptr to some rows (a 2-D sample array) */typedef long INT32;/* Datatype used for image dimensions. The JPEG standard only supports * images up to 64K*64K due to 16-bit fields in SOF markers. Therefore * "unsigned int" is sufficient on all machines. However, if you need to * handle larger images and you don't mind deviating from the spec, you * can change this datatype. */typedef unsigned int JDIMENSION; /*usigned int is 32 bits*/typedef unsigned char UINT8;/* UINT16 must hold at least the values 0..65535. */typedef unsigned short UINT16;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -