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

Side by Side Diff: third_party/libjpeg/fpdfapi_jddctmgr.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_jdcolor.c ('k') | third_party/libjpeg/fpdfapi_jdhuff.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 * jddctmgr.c 2 * jddctmgr.c
4 * 3 *
5 * Copyright (C) 1994-1996, Thomas G. Lane. 4 * Copyright (C) 1994-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 the inverse-DCT management logic. 8 * This file contains the inverse-DCT management logic.
10 * This code selects a particular IDCT implementation to be used, 9 * This code selects a particular IDCT implementation to be used,
11 * and it performs related housekeeping chores. No code in this file 10 * and it performs related housekeeping chores. No code in this file
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 ci++, compptr++) { 260 ci++, compptr++) {
262 /* Allocate and pre-zero a multiplier table for each component */ 261 /* Allocate and pre-zero a multiplier table for each component */
263 compptr->dct_table = 262 compptr->dct_table =
264 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, 263 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
265 SIZEOF(multiplier_table)); 264 SIZEOF(multiplier_table));
266 MEMZERO(compptr->dct_table, SIZEOF(multiplier_table)); 265 MEMZERO(compptr->dct_table, SIZEOF(multiplier_table));
267 /* Mark multiplier table not yet set up for any method */ 266 /* Mark multiplier table not yet set up for any method */
268 idct->cur_method[ci] = -1; 267 idct->cur_method[ci] = -1;
269 } 268 }
270 } 269 }
271
272 #endif //_FX_JPEG_TURBO_
OLDNEW
« no previous file with comments | « third_party/libjpeg/fpdfapi_jdcolor.c ('k') | third_party/libjpeg/fpdfapi_jdhuff.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698