Home
last modified time | relevance | path

Searched refs:nSrcComponents (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fxcodec/icc/
Diccmodule.cpp65 uint32_t nSrcComponents = cmsChannelsOf(srcCS); in CreateTransformSRGB() local
67 if (nSrcComponents != 1 && nSrcComponents != 3 && nSrcComponents != 4) in CreateTransformSRGB()
75 COLORSPACE_SH(PT_Lab) | CHANNELS_SH(nSrcComponents) | BYTES_SH(0); in CreateTransformSRGB()
79 COLORSPACE_SH(PT_ANY) | CHANNELS_SH(nSrcComponents) | BYTES_SH(1); in CreateTransformSRGB()
107 return pdfium::MakeUnique<CLcmsCmm>(hTransform, nSrcComponents, bLab, in CreateTransformSRGB()
113 uint32_t nSrcComponents, in Translate() argument
124 std::vector<double> inputs(std::max(nSrcComponents, 16u)); in Translate()
125 for (uint32_t i = 0; i < nSrcComponents; ++i) in Translate()
129 std::vector<uint8_t> inputs(std::max(nSrcComponents, 16u)); in Translate()
130 for (uint32_t i = 0; i < nSrcComponents; ++i) { in Translate()
Diccmodule.h50 uint32_t nSrcComponents,
/external/oss-fuzz/projects/lcms/
Dcms_transform_fuzzer.c19 cmsUInt32Number nSrcComponents = cmsChannelsOf(srcCS); in LLVMFuzzerTestOneInput() local
23 COLORSPACE_SH(PT_Lab) | CHANNELS_SH(nSrcComponents) | BYTES_SH(0); in LLVMFuzzerTestOneInput()
26 COLORSPACE_SH(PT_ANY) | CHANNELS_SH(nSrcComponents) | BYTES_SH(1); in LLVMFuzzerTestOneInput()
39 double input[nSrcComponents]; in LLVMFuzzerTestOneInput()
40 for (uint32_t i = 0; i < nSrcComponents; i++) input[i] = 0.5f; in LLVMFuzzerTestOneInput()
43 uint8_t input[nSrcComponents]; in LLVMFuzzerTestOneInput()
44 for (uint32_t i = 0; i < nSrcComponents; i++) input[i] = 128; in LLVMFuzzerTestOneInput()