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

Side by Side Diff: third_party/libjpeg/fpdfapi_jcprepct.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_jcphuff.c ('k') | third_party/libjpeg/fpdfapi_jcsample.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 * jcprepct.c 2 * jcprepct.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 compression preprocessing controller. 8 * This file contains the compression preprocessing controller.
10 * This controller manages the color conversion, downsampling, 9 * This controller manages the color conversion, downsampling,
11 * and edge expansion steps. 10 * and edge expansion steps.
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components; 345 for (ci = 0, compptr = cinfo->comp_info; ci < cinfo->num_components;
347 ci++, compptr++) { 346 ci++, compptr++) {
348 prep->color_buf[ci] = (*cinfo->mem->alloc_sarray) 347 prep->color_buf[ci] = (*cinfo->mem->alloc_sarray)
349 ((j_common_ptr) cinfo, JPOOL_IMAGE, 348 ((j_common_ptr) cinfo, JPOOL_IMAGE,
350 (JDIMENSION) (((long) compptr->width_in_blocks * DCTSIZE * 349 (JDIMENSION) (((long) compptr->width_in_blocks * DCTSIZE *
351 cinfo->max_h_samp_factor) / compptr->h_samp_factor), 350 cinfo->max_h_samp_factor) / compptr->h_samp_factor),
352 (JDIMENSION) cinfo->max_v_samp_factor); 351 (JDIMENSION) cinfo->max_v_samp_factor);
353 } 352 }
354 } 353 }
355 } 354 }
356
357 #endif //_FX_JPEG_TURBO_
OLDNEW
« no previous file with comments | « third_party/libjpeg/fpdfapi_jcphuff.c ('k') | third_party/libjpeg/fpdfapi_jcsample.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698