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