| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 */ |
| OLD | NEW |