10 #define JPEG_INTERNALS 22 const int jpeg_zigzag_order[
DCTSIZE2] = {
23 0, 1, 5, 6, 14, 15, 27, 28,
24 2, 4, 7, 13, 16, 26, 29, 42,
25 3, 8, 12, 17, 25, 30, 41, 43,
26 9, 11, 18, 24, 31, 40, 44, 53,
27 10, 19, 23, 32, 39, 45, 52, 54,
28 20, 22, 33, 38, 46, 51, 55, 60,
29 21, 34, 37, 47, 50, 56, 59, 61,
30 35, 36, 48, 49, 57, 58, 62, 63
50 0, 1, 8, 16, 9, 2, 3, 10,
51 17, 24, 32, 25, 18, 11, 4, 5,
52 12, 19, 26, 33, 40, 48, 41, 34,
53 27, 20, 13, 6, 7, 14, 21, 28,
54 35, 42, 49, 56, 57, 50, 43, 36,
55 29, 22, 15, 23, 30, 37, 44, 51,
56 58, 59, 52, 45, 38, 31, 39, 46,
57 53, 60, 61, 54, 47, 55, 62, 63,
58 63, 63, 63, 63, 63, 63, 63, 63,
59 63, 63, 63, 63, 63, 63, 63, 63
72 return (
a +
b - 1L) /
b;
95 #ifndef NEED_FAR_POINTERS 96 #define FMEMCOPY(dest,src,size) MEMCOPY(dest,src,size) 97 #define FMEMZERO(target,size) MEMZERO(target,size) 100 #define FMEMCOPY(dest,src,size) _fmemcpy((void FAR *)(dest), (const void FAR *)(src), (size_t)(size)) 101 #define FMEMZERO(target,size) _fmemset((void FAR *)(target), 0, (size_t)(size)) 128 inptr = *input_array++;
134 *outptr++ = *inptr++;
154 *outptr++ = *inptr++;
168 char FAR * ptr = (
char FAR *) target;
jzero_far(void FAR *target, size_t bytestozero)
jdiv_round_up(long a, long b)
GLuint GLuint GLsizei count
jcopy_block_row(JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks)
jround_up(long a, long b)
jcopy_sample_rows(JSAMPARRAY input_array, int source_row, JSAMPARRAY output_array, int dest_row, int num_rows, JDIMENSION num_cols)
const int jpeg_natural_order[DCTSIZE2+16]
#define FMEMZERO(target, size)
int JSAMPARRAY int dest_row
JBLOCKROW JDIMENSION num_blocks
int JSAMPARRAY int int num_rows
int JSAMPARRAY int int JDIMENSION num_cols
GLenum GLenum GLvoid * row
GLubyte GLubyte GLubyte a
#define FMEMCOPY(dest, src, size)
int JSAMPARRAY output_array