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

Side by Side Diff: third_party/libjpeg/fpdfapi_jccoefct.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_jcapistd.c ('k') | third_party/libjpeg/fpdfapi_jccolor.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 * jccoefct.c 2 * jccoefct.c
4 * 3 *
5 * Copyright (C) 1994-1997, Thomas G. Lane. 4 * Copyright (C) 1994-1997, 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 coefficient buffer controller for compression. 8 * This file contains the coefficient buffer controller for compression.
10 * This controller is the top level of the JPEG compressor proper. 9 * This controller is the top level of the JPEG compressor proper.
11 * The coefficient buffer lies between forward-DCT and entropy encoding steps. 10 * The coefficient buffer lies between forward-DCT and entropy encoding steps.
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 440
442 buffer = (JBLOCKROW) 441 buffer = (JBLOCKROW)
443 (*cinfo->mem->alloc_large) ((j_common_ptr) cinfo, JPOOL_IMAGE, 442 (*cinfo->mem->alloc_large) ((j_common_ptr) cinfo, JPOOL_IMAGE,
444 C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK)); 443 C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK));
445 for (i = 0; i < C_MAX_BLOCKS_IN_MCU; i++) { 444 for (i = 0; i < C_MAX_BLOCKS_IN_MCU; i++) {
446 coef->MCU_buffer[i] = buffer + i; 445 coef->MCU_buffer[i] = buffer + i;
447 } 446 }
448 coef->whole_image[0] = NULL; /* flag for no virtual arrays */ 447 coef->whole_image[0] = NULL; /* flag for no virtual arrays */
449 } 448 }
450 } 449 }
451
452 #endif //_FX_JPEG_TURBO_
OLDNEW
« no previous file with comments | « third_party/libjpeg/fpdfapi_jcapistd.c ('k') | third_party/libjpeg/fpdfapi_jccolor.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698