OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ | 7 #ifndef CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ |
8 #define CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ | 8 #define CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ |
9 | 9 |
10 #include <limits.h> | 10 #include <limits.h> |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 void* CreateTransform(ICodec_IccModule::IccParam* pInputParam, | 280 void* CreateTransform(ICodec_IccModule::IccParam* pInputParam, |
281 ICodec_IccModule::IccParam* pOutputParam, | 281 ICodec_IccModule::IccParam* pOutputParam, |
282 ICodec_IccModule::IccParam* pProofParam = NULL, | 282 ICodec_IccModule::IccParam* pProofParam = NULL, |
283 FX_DWORD dwIntent = Icc_INTENT_PERCEPTUAL, | 283 FX_DWORD dwIntent = Icc_INTENT_PERCEPTUAL, |
284 FX_DWORD dwFlag = Icc_FLAGS_DEFAULT, | 284 FX_DWORD dwFlag = Icc_FLAGS_DEFAULT, |
285 FX_DWORD dwPrfIntent = Icc_INTENT_ABSOLUTE_COLORIMETRIC, | 285 FX_DWORD dwPrfIntent = Icc_INTENT_ABSOLUTE_COLORIMETRIC, |
286 FX_DWORD dwPrfFlag = Icc_FLAGS_SOFTPROOFING) override; | 286 FX_DWORD dwPrfFlag = Icc_FLAGS_SOFTPROOFING) override; |
287 void* CreateTransform_sRGB( | 287 void* CreateTransform_sRGB( |
288 const uint8_t* pProfileData, | 288 const uint8_t* pProfileData, |
289 FX_DWORD dwProfileSize, | 289 FX_DWORD dwProfileSize, |
290 int32_t& nComponents, | 290 FX_DWORD& nComponents, |
291 int32_t intent = 0, | 291 int32_t intent = 0, |
292 FX_DWORD dwSrcFormat = Icc_FORMAT_DEFAULT) override; | 292 FX_DWORD dwSrcFormat = Icc_FORMAT_DEFAULT) override; |
293 void* CreateTransform_CMYK( | 293 void* CreateTransform_CMYK( |
294 const uint8_t* pSrcProfileData, | 294 const uint8_t* pSrcProfileData, |
295 FX_DWORD dwSrcProfileSize, | 295 FX_DWORD dwSrcProfileSize, |
296 int32_t& nSrcComponents, | 296 FX_DWORD& nSrcComponents, |
297 const uint8_t* pDstProfileData, | 297 const uint8_t* pDstProfileData, |
298 FX_DWORD dwDstProfileSize, | 298 FX_DWORD dwDstProfileSize, |
299 int32_t intent = 0, | 299 int32_t intent = 0, |
300 FX_DWORD dwSrcFormat = Icc_FORMAT_DEFAULT, | 300 FX_DWORD dwSrcFormat = Icc_FORMAT_DEFAULT, |
301 FX_DWORD dwDstFormat = Icc_FORMAT_DEFAULT) override; | 301 FX_DWORD dwDstFormat = Icc_FORMAT_DEFAULT) override; |
302 void DestroyTransform(void* pTransform) override; | 302 void DestroyTransform(void* pTransform) override; |
303 void Translate(void* pTransform, | 303 void Translate(void* pTransform, |
304 FX_FLOAT* pSrcValues, | 304 FX_FLOAT* pSrcValues, |
305 FX_FLOAT* pDestValues) override; | 305 FX_FLOAT* pDestValues) override; |
306 void TranslateScanline(void* pTransform, | 306 void TranslateScanline(void* pTransform, |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, | 419 OPJ_SIZE_T opj_read_from_memory(void* p_buffer, |
420 OPJ_SIZE_T nb_bytes, | 420 OPJ_SIZE_T nb_bytes, |
421 void* p_user_data); | 421 void* p_user_data); |
422 OPJ_SIZE_T opj_write_from_memory(void* p_buffer, | 422 OPJ_SIZE_T opj_write_from_memory(void* p_buffer, |
423 OPJ_SIZE_T nb_bytes, | 423 OPJ_SIZE_T nb_bytes, |
424 void* p_user_data); | 424 void* p_user_data); |
425 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); | 425 OPJ_OFF_T opj_skip_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); |
426 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); | 426 OPJ_BOOL opj_seek_from_memory(OPJ_OFF_T nb_bytes, void* p_user_data); |
427 | 427 |
428 #endif // CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ | 428 #endif // CORE_SRC_FXCODEC_CODEC_CODEC_INT_H_ |
OLD | NEW |