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

Side by Side Diff: third_party/libjpeg/fpdfapi_jdsample.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_jdpostct.c ('k') | third_party/libjpeg/fpdfapi_jdtrans.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 * jdsample.c 2 * jdsample.c
4 * 3 *
5 * Copyright (C) 1991-1996, Thomas G. Lane. 4 * Copyright (C) 1991-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 upsampling routines. 8 * This file contains upsampling routines.
10 * 9 *
11 * Upsampling input data is counted in "row groups". A row group 10 * Upsampling input data is counted in "row groups". A row group
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 ERREXIT(cinfo, JERR_FRACT_SAMPLE_NOTIMPL); 469 ERREXIT(cinfo, JERR_FRACT_SAMPLE_NOTIMPL);
471 if (need_buffer) { 470 if (need_buffer) {
472 upsample->color_buf[ci] = (*cinfo->mem->alloc_sarray) 471 upsample->color_buf[ci] = (*cinfo->mem->alloc_sarray)
473 ((j_common_ptr) cinfo, JPOOL_IMAGE, 472 ((j_common_ptr) cinfo, JPOOL_IMAGE,
474 (JDIMENSION) jround_up((long) cinfo->output_width, 473 (JDIMENSION) jround_up((long) cinfo->output_width,
475 (long) cinfo->max_h_samp_factor), 474 (long) cinfo->max_h_samp_factor),
476 (JDIMENSION) cinfo->max_v_samp_factor); 475 (JDIMENSION) cinfo->max_v_samp_factor);
477 } 476 }
478 } 477 }
479 } 478 }
480
481 #endif //_FX_JPEG_TURBO_
OLDNEW
« no previous file with comments | « third_party/libjpeg/fpdfapi_jdpostct.c ('k') | third_party/libjpeg/fpdfapi_jdtrans.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698