Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Side by Side Diff: third_party/libjpeg/fpdfapi_jdmarker.c

Issue 1433803002: Get rid of _FX_JPEG_TURBO_ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libjpeg/fpdfapi_jdmainct.c ('k') | third_party/libjpeg/fpdfapi_jdmaster.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « third_party/libjpeg/fpdfapi_jdmainct.c ('k') | third_party/libjpeg/fpdfapi_jdmaster.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698