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

Side by Side Diff: third_party/libjpeg/fpdfapi_jctrans.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_jcsample.c ('k') | third_party/libjpeg/fpdfapi_jdapimin.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 * jctrans.c 2 * jctrans.c
4 * 3 *
5 * Copyright (C) 1995-1998, Thomas G. Lane. 4 * Copyright (C) 1995-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 library routines for transcoding compression, 8 * This file contains library routines for transcoding compression,
10 * that is, writing raw DCT coefficient arrays to an output JPEG file. 9 * that is, writing raw DCT coefficient arrays to an output JPEG file.
11 * The routines in jcapimin.c will also be needed by a transcoder. 10 * The routines in jcapimin.c will also be needed by a transcoder.
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 379
381 /* Allocate and pre-zero space for dummy DCT blocks. */ 380 /* Allocate and pre-zero space for dummy DCT blocks. */
382 buffer = (JBLOCKROW) 381 buffer = (JBLOCKROW)
383 (*cinfo->mem->alloc_large) ((j_common_ptr) cinfo, JPOOL_IMAGE, 382 (*cinfo->mem->alloc_large) ((j_common_ptr) cinfo, JPOOL_IMAGE,
384 C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK)); 383 C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK));
385 jzero_far((void FAR *) buffer, C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK)); 384 jzero_far((void FAR *) buffer, C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK));
386 for (i = 0; i < C_MAX_BLOCKS_IN_MCU; i++) { 385 for (i = 0; i < C_MAX_BLOCKS_IN_MCU; i++) {
387 coef->dummy_buffer[i] = buffer + i; 386 coef->dummy_buffer[i] = buffer + i;
388 } 387 }
389 } 388 }
390
391 #endif //_FX_JPEG_TURBO_
OLDNEW
« no previous file with comments | « third_party/libjpeg/fpdfapi_jcsample.c ('k') | third_party/libjpeg/fpdfapi_jdapimin.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698