| OLD | NEW |
| 1 #if !defined(_FX_JPEG_TURBO_) | |
| 2 /* | 1 /* |
| 3 * jdmarker.c | 2 * jdmarker.c |
| 4 * | 3 * |
| 5 * Copyright (C) 1991-1998, Thomas G. Lane. | 4 * Copyright (C) 1991-1998, 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 routines to decode JPEG datastream markers. | 8 * This file contains routines to decode JPEG datastream markers. |
| 10 * Most of the complexity arises from our desire to support input | 9 * Most of the complexity arises from our desire to support input |
| 11 * suspension: if not all of the data for a marker is available, | 10 * suspension: if not all of the data for a marker is available, |
| (...skipping 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1385 { | 1384 { |
| 1386 my_marker_ptr marker = (my_marker_ptr) cinfo->marker; | 1385 my_marker_ptr marker = (my_marker_ptr) cinfo->marker; |
| 1387 | 1386 |
| 1388 if (marker_code == (int) M_COM) | 1387 if (marker_code == (int) M_COM) |
| 1389 marker->process_COM = routine; | 1388 marker->process_COM = routine; |
| 1390 else if (marker_code >= (int) M_APP0 && marker_code <= (int) M_APP15) | 1389 else if (marker_code >= (int) M_APP0 && marker_code <= (int) M_APP15) |
| 1391 marker->process_APPn[marker_code - (int) M_APP0] = routine; | 1390 marker->process_APPn[marker_code - (int) M_APP0] = routine; |
| 1392 else | 1391 else |
| 1393 ERREXIT1(cinfo, JERR_UNKNOWN_MARKER, marker_code); | 1392 ERREXIT1(cinfo, JERR_UNKNOWN_MARKER, marker_code); |
| 1394 } | 1393 } |
| 1395 | |
| 1396 #endif //_FX_JPEG_TURBO_ | |
| OLD | NEW |