OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jutils.c | 2 * jutils.c |
4 * | 3 * |
5 * Copyright (C) 1991-1996, Thomas G. Lane. | 4 * Copyright (C) 1991-1996, Thomas G. Lane. |
6 * This file is part of the Independent JPEG Group's software. | 5 * This file is part of the Independent JPEG Group's software. |
7 * For conditions of distribution and use, see the accompanying README file. | 6 * For conditions of distribution and use, see the accompanying README file. |
8 * | 7 * |
9 * This file contains tables and miscellaneous utility routines needed | 8 * This file contains tables and miscellaneous utility routines needed |
10 * for both compression and decompression. | 9 * for both compression and decompression. |
11 * Note we prefix all global names with "j" to minimize conflicts with | 10 * Note we prefix all global names with "j" to minimize conflicts with |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 FMEMZERO(target, bytestozero); | 170 FMEMZERO(target, bytestozero); |
172 #else | 171 #else |
173 register char FAR * ptr = (char FAR *) target; | 172 register char FAR * ptr = (char FAR *) target; |
174 register size_t count; | 173 register size_t count; |
175 | 174 |
176 for (count = bytestozero; count > 0; count--) { | 175 for (count = bytestozero; count > 0; count--) { |
177 *ptr++ = 0; | 176 *ptr++ = 0; |
178 } | 177 } |
179 #endif | 178 #endif |
180 } | 179 } |
181 | |
182 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |