14 #define JPEG_INTERNALS
25 0, 1, 5, 6, 14, 15, 27, 28,
26 2, 4, 7, 13, 16, 26, 29, 42,
27 3, 8, 12, 17, 25, 30, 41, 43,
28 9, 11, 18, 24, 31, 40, 44, 53,
29 10, 19, 23, 32, 39, 45, 52, 54,
30 20, 22, 33, 38, 46, 51, 55, 60,
31 21, 34, 37, 47, 50, 56, 59, 61,
32 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 - 1
L) /
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))
124 input_array += source_row;
125 output_array += dest_row;
127 for (row = num_rows; row > 0; row--) {
128 inptr = *input_array++;
129 outptr = *output_array++;
133 for (count = num_cols; count > 0; count--)
134 *outptr++ = *inptr++;
153 for (count = (
long) num_blocks *
DCTSIZE2; count > 0; count--) {
154 *outptr++ = *inptr++;
168 register char FAR * ptr = (
char FAR *) target;
169 register size_t count;
171 for (count = bytestozero; count > 0; count--) {
GLOBAL void jcopy_sample_rows(JSAMPARRAY input_array, int source_row, JSAMPARRAY output_array, int dest_row, int num_rows, JDIMENSION num_cols)
#define FMEMZERO(target, size)
GLOBAL long jdiv_round_up(long a, long b)
#define FMEMCOPY(dest, src, size)
GLuint GLuint GLsizei count
GLOBAL void jcopy_block_row(JBLOCKROW input_row, JBLOCKROW output_row, JDIMENSION num_blocks)
GLubyte GLubyte GLubyte a
GLOBAL void jzero_far(void FAR *target, size_t bytestozero)
const int jpeg_natural_order[DCTSIZE2+16]
GLenum GLenum GLvoid * row
GLOBAL long jround_up(long a, long b)
const int jpeg_zigzag_order[DCTSIZE2]