Searched refs:CLUT (Results 1 - 6 of 6) sorted by relevance

/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
H A Dcmsopt.c32 // Optimization for 8 bits, Shaper-CLUT (3 inputs only)
46 // Generic optimization for 16 bits Shaper-CLUT-Shaper (any inputs)
320 // Sampler implemented by another LUT. This is a clean way to precalculate the devicelink 3D CLUT for
369 cmsBool PatchLUT(cmsStage* CLUT, cmsUInt16Number At[], cmsUInt16Number Value[], argument
372 _cmsStageCLutData* Grid = (_cmsStageCLutData*) CLUT ->Data;
378 if (CLUT -> Type != cmsSigCLutElemType) {
379 cmsSignalError(CLUT->ContextID, cmsERROR_INTERNAL, "(internal) Attempt to PatchLUT on non-lut stage");
384 cmsSignalError(CLUT->ContextID, cmsERROR_INTERNAL, "(internal) %d Channels are not supported on PatchLUT", nChannelsIn);
440 cmsSignalError(CLUT->ContextID, cmsERROR_INTERNAL, "(internal) %d Channels are not supported on PatchLUT", nChannelsIn);
472 cmsStage *PreLin = NULL, *CLUT local
554 cmsStage* CLUT; local
[all...]
H A Dcmscnvrt.c724 cmsStage* CLUT; local
773 // Create the CLUT. 16 bits
774 CLUT = cmsStageAllocCLut16bit(ContextID, nGridPoints, 4, 4, NULL);
775 if (CLUT == NULL) goto Error;
778 if (!cmsPipelineInsertStage(Result, cmsAT_BEGIN, CLUT))
782 if (!cmsStageSampleCLut16bit(CLUT, BlackPreservingGrayOnlySampler, (void*) &bp, 0))
818 // The CLUT will be stored at 16 bits, but calculations are performed at cmsFloat32Number precision
916 cmsStage* CLUT; local
993 CLUT = cmsStageAllocCLut16bit(ContextID, nGridPoints, 4, 4, NULL);
994 if (CLUT
[all...]
H A Dcmsvirt.c399 cmsStage* CLUT; local
435 CLUT = cmsStageAllocCLut16bit(ContextID, 17, nChannels, nChannels, NULL);
436 if (CLUT == NULL) goto Error;
438 if (!cmsStageSampleCLut16bit(CLUT, InkLimitingSampler, (void*) &Limit, 0)) goto Error;
441 !cmsPipelineInsertStage(LUT, cmsAT_END, CLUT) ||
739 cmsStage* CLUT; local
773 CLUT = cmsStageAllocCLut16bitGranular(ContextID, Dimensions, 3, 3, NULL);
774 if (CLUT == NULL) return NULL;
777 if (!cmsStageSampleCLut16bit(CLUT, bchswSampler, (void*) &bchsw, 0)) {
783 if (!cmsPipelineInsertStage(Pipeline, cmsAT_END, CLUT)) {
[all...]
H A Dcmsgmt.c297 cmsStage* CLUT; local
322 // of input and output CLUT may result in differences.
390 CLUT = cmsStageAllocCLut16bit(ContextID, nGridpoints, nChannels, 1, NULL);
391 if (!cmsPipelineInsertStage(Gamut, cmsAT_BEGIN, CLUT)) {
396 cmsStageSampleCLut16bit(CLUT, GamutSampler, (void*) &Chain, 0);
H A Dcmstypes.c1602 (matrix) -> (1d input tables) -> (multidimensional lookup table - CLUT) -> (1d output tables)
1607 10 1 Number of CLUT grid points (identical for each side) (g) uInt8Number
1730 // That will create a MPE LUT with Matrix, pre tables, CLUT and post tables.
1749 if (CLUTpoints == 1) goto Error; // Impossible value, 0 for no CLUT and then 2 at least
1784 // Get 3D CLUT. Check the overflow....
1919 // The 3D CLUT.
2078 if (CLUTpoints == 1) goto Error; // Impossible value, 0 for no CLUT and then 2 at least
2083 // Get 3D CLUT
2232 // The 3D CLUT.
2314 // V4 stuff. Read CLUT par
2322 cmsStage* CLUT; local
2617 _cmsStageCLutData* CLUT = ( _cmsStageCLutData*) mpe -> Data; local
2668 cmsStage * CLUT = NULL; local
2853 cmsStage *CLUT = NULL; local
[all...]
H A Dcmsio1.c520 // Change CLUT interpolation to trilinear
532 _cmsStageCLutData* CLUT = (_cmsStageCLutData*) Stage ->Data; local
534 CLUT ->Params->dwFlags |= CMS_LERP_FLAGS_TRILINEAR;
535 _cmsSetInterpolationRoutine(Lut->ContextID, CLUT ->Params);
824 // Returns TRUE if the intent is implemented as CLUT

Completed in 77 milliseconds