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

Side by Side Diff: third_party/libopenjpeg20/openjpeg.h

Issue 1196523002: Reapply Foxit's libopenjpeg modifications. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: with test Created 5 years, 3 months 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/libopenjpeg20/jp2.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * The copyright in this software is being made available under the 2-clauses 2 * The copyright in this software is being made available under the 2-clauses
3 * BSD License, included below. This software may be subject to other third 3 * BSD License, included below. This software may be subject to other third
4 * party and contributor rights, including patent rights, and no such rights 4 * party and contributor rights, including patent rights, and no such rights
5 * are granted under this license. 5 * are granted under this license.
6 * 6 *
7 * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium 7 * Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium
8 * Copyright (c) 2002-2014, Professor Benoit Macq 8 * Copyright (c) 2002-2014, Professor Benoit Macq
9 * Copyright (c) 2001-2003, David Janssens 9 * Copyright (c) 2001-2003, David Janssens
10 * Copyright (c) 2002-2003, Yannick Verschueren 10 * Copyright (c) 2002-2003, Yannick Verschueren
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 /** number of components in the image */ 670 /** number of components in the image */
671 OPJ_UINT32 numcomps; 671 OPJ_UINT32 numcomps;
672 /** color space: sRGB, Greyscale or YUV */ 672 /** color space: sRGB, Greyscale or YUV */
673 OPJ_COLOR_SPACE color_space; 673 OPJ_COLOR_SPACE color_space;
674 /** image components */ 674 /** image components */
675 opj_image_comp_t *comps; 675 opj_image_comp_t *comps;
676 /** 'restricted' ICC profile */ 676 /** 'restricted' ICC profile */
677 OPJ_BYTE *icc_profile_buf; 677 OPJ_BYTE *icc_profile_buf;
678 /** size of ICC profile */ 678 /** size of ICC profile */
679 OPJ_UINT32 icc_profile_len; 679 OPJ_UINT32 icc_profile_len;
680
681 /** Whether to apply PCLR or not */
682 OPJ_BOOL pdfium_use_colorspace;
680 } opj_image_t; 683 } opj_image_t;
681 684
682 685
683 /** 686 /**
684 * Component parameters structure used by the opj_image_create function 687 * Component parameters structure used by the opj_image_create function
685 * */ 688 * */
686 typedef struct opj_image_comptparm { 689 typedef struct opj_image_comptparm {
687 /** XRsiz: horizontal separation of a sample of ith component with respe ct to the reference grid */ 690 /** XRsiz: horizontal separation of a sample of ith component with respe ct to the reference grid */
688 OPJ_UINT32 dx; 691 OPJ_UINT32 dx;
689 /** YRsiz: vertical separation of a sample of ith component with respect to the reference grid */ 692 /** YRsiz: vertical separation of a sample of ith component with respect to the reference grid */
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
1554 OPJ_INT32 * p_dc_shift, 1557 OPJ_INT32 * p_dc_shift,
1555 OPJ_UINT32 pNbComp); 1558 OPJ_UINT32 pNbComp);
1556 1559
1557 1560
1558 1561
1559 #ifdef __cplusplus 1562 #ifdef __cplusplus
1560 } 1563 }
1561 #endif 1564 #endif
1562 1565
1563 #endif /* OPENJPEG_H */ 1566 #endif /* OPENJPEG_H */
OLDNEW
« no previous file with comments | « third_party/libopenjpeg20/jp2.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698