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

Side by Side Diff: core/src/fxcodec/codec/codec_int.h

Issue 1783933002: Change colorspace's number of components to be unsigned (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments Created 4 years, 9 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
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp ('k') | core/src/fxcodec/codec/fx_codec_icc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698