10 #define JPEG_INTERNALS 21 const int jpeg_zigzag_order[
DCTSIZE2] = {
22 0, 1, 5, 6, 14, 15, 27, 28,
23 2, 4, 7, 13, 16, 26, 29, 42,
24 3, 8, 12, 17, 25, 30, 41, 43,
25 9, 11, 18, 24, 31, 40, 44, 53,
26 10, 19, 23, 32, 39, 45, 52, 54,
27 20, 22, 33, 38, 46, 51, 55, 60,
28 21, 34, 37, 47, 50, 56, 59, 61,
29 35, 36, 48, 49, 57, 58, 62, 63
50 0, 1, 8, 16, 9, 2, 3, 10, 17, 24, 32, 25, 18, 11, 4,
51 5, 12, 19, 26, 33, 40, 48, 41, 34, 27, 20, 13, 6, 7, 14,
52 21, 28, 35, 42, 49, 56, 57, 50, 43, 36, 29, 22, 15, 23, 30,
53 37, 44, 51, 58, 59, 52, 45, 38, 31, 39, 46, 53, 60, 61, 54,
54 47, 55, 62, 63, 63, 63, 63, 63, 63, 63, 63, 63,
56 63, 63, 63, 63, 63, 63, 63, 63};
65 {
return (
a +
b - 1L) /
b; }
84 #ifndef NEED_FAR_POINTERS 85 #define FMEMCOPY(dest, src, size) MEMCOPY(dest, src, size) 86 #define FMEMZERO(target, size) MEMZERO(target, size) 89 #define FMEMCOPY(dest, src, size) \ 90 _fmemcpy((void FAR*)(dest), (const void FAR*)(src), (size_t)(size)) 91 #define FMEMZERO(target, size) _fmemset((void FAR*)(target), 0, (size_t)(size)) 98 int dest_row,
int num_rows,
JDIMENSION num_cols)
113 input_array += source_row;
114 output_array += dest_row;
118 inptr = *input_array++;
157 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)
GLenum GLenum GLvoid * row
GLubyte GLubyte GLubyte a
#define FMEMCOPY(dest, src, size)