Searched refs:nChannels (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A Dcmsgmt.c332 int nChannels, nGridpoints; local
382 nChannels = cmsChannelsOf(ColorSpace);
384 dwFormat = (CHANNELS_SH(nChannels)|BYTES_SH(2));
399 dwFormat = (CHANNELS_SH(nChannels)|BYTES_SH(2));
423 CLUT = cmsStageAllocCLut16bit(ContextID, nGridpoints, nChannels, 1, NULL);
H A Dcmsvirt.c307 int nChannels; local
322 nChannels = cmsChannelsOf(ColorSpace);
325 Pipeline = cmsPipelineAlloc(ContextID, nChannels, nChannels);
330 Lin = cmsStageAllocToneCurves(ContextID, nChannels, TransferFunctions);
414 int nChannels; local
447 nChannels = cmsChannelsOf(ColorSpace);
449 CLUT = cmsStageAllocCLut16bit(ContextID, 17, nChannels, nChannels, NULL);
454 cmsPipelineInsertStage(LUT, cmsAT_BEGIN, _cmsStageAllocIdentityCurves(ContextID, nChannels));
[all...]
H A Dcmspcs.c681 int nChannels; local
689 nChannels = cmsChannelsOf(Colorspace);
694 if (nChannels > 4)
697 if (nChannels == 4) // 23 for CMYK
707 if (nChannels > 4)
710 if (nChannels == 1)
717 if (nChannels > 4)
720 if (nChannels == 4)
H A Dcmsps2.c898 cmsUInt32Number nChannels; local
908 nChannels = T_CHANNELS(InputFormat);
930 switch (nChannels) {
958 cmsSignalError(m ->ContextID, cmsERROR_COLORSPACE_CHECK, "Only 3, 4 channels supported for CSA. This profile has %d channels.", nChannels);
1314 int i, nChannels; local
1331 nChannels = T_CHANNELS(OutputFormat);
1393 _cmsIOPrintf(m, " %d {} bind ", nChannels);
1395 for (i=1; i < nChannels; i++)
H A Dcmssamp.c99 cmsUInt32Number nChannels; local
120 if (!_cmsEndPointsBySpace(Space, NULL, &Black, &nChannels)) {
126 if (nChannels != T_CHANNELS(dwFormat)) {
H A Dcmslut.c99 cmsStage* CMSEXPORT cmsStageAllocIdentity(cmsContext ContextID, cmsUInt32Number nChannels) argument
103 nChannels, nChannels,
277 cmsStage* CMSEXPORT cmsStageAllocToneCurves(cmsContext ContextID, cmsUInt32Number nChannels, cmsToneCurve* const Curves[]) argument
284 NewMPE = _cmsStageAllocPlaceholder(ContextID, cmsSigCurveSetElemType, nChannels, nChannels,
296 NewElem ->nCurves = nChannels;
297 NewElem ->TheCurves = (cmsToneCurve**) _cmsCalloc(ContextID, nChannels, sizeof(cmsToneCurve*));
303 for (i=0; i < nChannels; i++) {
324 cmsStage* _cmsStageAllocIdentityCurves(cmsContext ContextID, int nChannels) argument
[all...]
H A Dcmstypes.c442 if (!_cmsWriteUInt16Number(io, 3)) return FALSE; // nChannels
1641 cmsBool Read8bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels) argument
1648 if (nChannels > cmsMAXCHANNELS) return FALSE;
1649 if (nChannels <= 0) return FALSE;
1656 for (i=0; i < nChannels; i++) {
1661 for (i=0; i < nChannels; i++) {
1673 mpe = cmsStageAllocToneCurves(ContextID, nChannels, Tables);
1678 for (i=0; i < nChannels; i++)
1684 for (i=0; i < nChannels; i++) {
1984 cmsBool Read16bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels, in argument
4615 cmsUInt16Number nChannels, nElems, nBytes; local
[all...]
H A Dlcms2_internal.h430 cmsStage* _cmsStageAllocIdentityCurves(cmsContext ContextID, int nChannels);
H A Dlcms2.h1205 CMSAPI cmsStage* CMSEXPORT cmsStageAllocIdentity(cmsContext ContextID, cmsUInt32Number nChannels);
1206 CMSAPI cmsStage* CMSEXPORT cmsStageAllocToneCurves(cmsContext ContextID, cmsUInt32Number nChannels, cmsToneCurve* const Curves[]);
1310 cmsUInt32Number nChannels; member in struct:__anon880
/openjdk7/jdk/src/windows/native/com/sun/media/sound/
H A DPLATFORM_API_WinOS_DirectSound.cpp636 format->Format.nChannels = (WORD) channels;
651 format->Format.nBlockAlign = (WORD)((format->Format.wBitsPerSample * format->Format.nChannels) / 8);

Completed in 128 milliseconds