Lines Matching refs:cmsUInt32Number
44 cmsUInt32Number Pointer; // Points to current location
48 cmsUInt32Number NULLRead(cmsIOHANDLER* iohandler, void *Buffer, cmsUInt32Number size, cmsUInt32Number count)
52 cmsUInt32Number len = size * count;
60 cmsBool NULLSeek(cmsIOHANDLER* iohandler, cmsUInt32Number offset)
69 cmsUInt32Number NULLTell(cmsIOHANDLER* iohandler)
76 cmsBool NULLWrite(cmsIOHANDLER* iohandler, cmsUInt32Number size, const void *Ptr)
140 cmsUInt32Number Size; // Size of allocated memory
141 cmsUInt32Number Pointer; // Points to current location
147 cmsUInt32Number MemoryRead(struct _cms_io_handler* iohandler, void *Buffer, cmsUInt32Number size, cmsUInt32Number count)
151 cmsUInt32Number len = size * count;
170 cmsBool MemorySeek(struct _cms_io_handler* iohandler, cmsUInt32Number offset)
185 cmsUInt32Number MemoryTell(struct _cms_io_handler* iohandler)
196 cmsBool MemoryWrite(struct _cms_io_handler* iohandler, cmsUInt32Number size, const void *Ptr)
238 cmsIOHANDLER* CMSEXPORT cmsOpenIOhandlerFromMem(cmsContext ContextID, void *Buffer, cmsUInt32Number size, const char* AccessMode)
315 cmsUInt32Number FileRead(cmsIOHANDLER* iohandler, void *Buffer, cmsUInt32Number size, cmsUInt32Number count)
317 cmsUInt32Number nReaded = (cmsUInt32Number) fread(Buffer, size, count, (FILE*) iohandler->stream);
329 cmsBool FileSeek(cmsIOHANDLER* iohandler, cmsUInt32Number offset)
342 cmsUInt32Number FileTell(cmsIOHANDLER* iohandler)
344 return (cmsUInt32Number) ftell((FILE*)iohandler ->stream);
349 cmsBool FileWrite(cmsIOHANDLER* iohandler, cmsUInt32Number size, const void* Buffer)
397 iohandler -> ReportedSize = (cmsUInt32Number) fileLen;
452 iohandler -> ReportedSize = (cmsUInt32Number) fileSize;
534 cmsTagSignature CMSEXPORT cmsGetTagSignature(cmsHPROFILE hProfile, cmsUInt32Number n)
548 cmsUInt32Number i;
676 cmsUInt32Number _validatedVersion(cmsUInt32Number DWord)
699 cmsUInt32Number i, j;
700 cmsUInt32Number HeaderSize;
702 cmsUInt32Number TagCount;
758 if (!_cmsReadUInt32Number(io, (cmsUInt32Number *) &Tag.sig)) return FALSE;
790 cmsBool _cmsWriteHeader(_cmsICCPROFILE* Icc, cmsUInt32Number UsedSpace)
793 cmsUInt32Number i;
869 cmsUInt32Number CMSEXPORT cmsGetHeaderRenderingIntent(cmsHPROFILE hProfile)
875 void CMSEXPORT cmsSetHeaderRenderingIntent(cmsHPROFILE hProfile, cmsUInt32Number RenderingIntent)
881 cmsUInt32Number CMSEXPORT cmsGetHeaderFlags(cmsHPROFILE hProfile)
884 return (cmsUInt32Number) Icc -> flags;
887 void CMSEXPORT cmsSetHeaderFlags(cmsHPROFILE hProfile, cmsUInt32Number Flags)
890 Icc -> flags = (cmsUInt32Number) Flags;
893 cmsUInt32Number CMSEXPORT cmsGetHeaderManufacturer(cmsHPROFILE hProfile)
899 void CMSEXPORT cmsSetHeaderManufacturer(cmsHPROFILE hProfile, cmsUInt32Number manufacturer)
905 cmsUInt32Number CMSEXPORT cmsGetHeaderCreator(cmsHPROFILE hProfile)
911 cmsUInt32Number CMSEXPORT cmsGetHeaderModel(cmsHPROFILE hProfile)
917 void CMSEXPORT cmsSetHeaderModel(cmsHPROFILE hProfile, cmsUInt32Number model)
990 cmsUInt32Number CMSEXPORT cmsGetEncodedICCversion(cmsHPROFILE hProfile)
996 void CMSEXPORT cmsSetEncodedICCversion(cmsHPROFILE hProfile, cmsUInt32Number Version)
1004 cmsUInt32Number BaseToBase(cmsUInt32Number in, int BaseIn, int BaseOut)
1008 cmsUInt32Number out;
1029 Icc -> Version = BaseToBase((cmsUInt32Number) floor(Version * 100.0 + 0.5), 10, 16) << 16;
1035 cmsUInt32Number n = Icc -> Version >> 16;
1156 cmsHPROFILE CMSEXPORT cmsOpenProfileFromMemTHR(cmsContext ContextID, const void* MemPtr, cmsUInt32Number dwSize)
1180 cmsHPROFILE CMSEXPORT cmsOpenProfileFromMem(const void* MemPtr, cmsUInt32Number dwSize)
1192 cmsUInt32Number i;
1193 cmsUInt32Number Begin;
1219 cmsUInt32Number TagSize = FileOrig -> TagSizes[i];
1220 cmsUInt32Number TagOffset = FileOrig -> TagOffsets[i];
1305 cmsUInt32Number i;
1328 cmsUInt32Number CMSEXPORT cmsSaveProfileToIOhandler(cmsHPROFILE hProfile, cmsIOHANDLER* io)
1333 cmsUInt32Number UsedSpace;
1424 cmsBool CMSEXPORT cmsSaveProfileToMem(cmsHPROFILE hProfile, void *MemPtr, cmsUInt32Number* BytesNeeded)
1456 cmsUInt32Number i;
1504 cmsUInt32Number i, nMaxTypes;
1527 cmsUInt32Number Offset, TagSize;
1528 cmsUInt32Number ElemCount;
1773 cmsInt32Number CMSEXPORT cmsReadRawTag(cmsHPROFILE hProfile, cmsTagSignature sig, void* data, cmsUInt32Number BufferSize)
1782 cmsUInt32Number rc;
1783 cmsUInt32Number Offset, TagSize;
1894 cmsBool CMSEXPORT cmsWriteRawTag(cmsHPROFILE hProfile, cmsTagSignature sig, const void* data, cmsUInt32Number Size)