Lines Matching refs:cmsUInt32Number
43 cmsUInt32Number Pointer; // Points to current location
47 cmsUInt32Number NULLRead(cmsIOHANDLER* iohandler, void *Buffer, cmsUInt32Number size, cmsUInt32Number count)
51 cmsUInt32Number len = size * count;
59 cmsBool NULLSeek(cmsIOHANDLER* iohandler, cmsUInt32Number offset)
68 cmsUInt32Number NULLTell(cmsIOHANDLER* iohandler)
75 cmsBool NULLWrite(cmsIOHANDLER* iohandler, cmsUInt32Number size, const void *Ptr)
139 cmsUInt32Number Size; // Size of allocated memory
140 cmsUInt32Number Pointer; // Points to current location
146 cmsUInt32Number MemoryRead(struct _cms_io_handler* iohandler, void *Buffer, cmsUInt32Number size, cmsUInt32Number count)
150 cmsUInt32Number len = size * count;
169 cmsBool MemorySeek(struct _cms_io_handler* iohandler, cmsUInt32Number offset)
184 cmsUInt32Number MemoryTell(struct _cms_io_handler* iohandler)
195 cmsBool MemoryWrite(struct _cms_io_handler* iohandler, cmsUInt32Number size, const void *Ptr)
237 cmsIOHANDLER* CMSEXPORT cmsOpenIOhandlerFromMem(cmsContext ContextID, void *Buffer, cmsUInt32Number size, const char* AccessMode)
314 cmsUInt32Number FileRead(cmsIOHANDLER* iohandler, void *Buffer, cmsUInt32Number size, cmsUInt32Number count)
316 cmsUInt32Number nReaded = (cmsUInt32Number) fread(Buffer, size, count, (FILE*) iohandler->stream);
328 cmsBool FileSeek(cmsIOHANDLER* iohandler, cmsUInt32Number offset)
341 cmsUInt32Number FileTell(cmsIOHANDLER* iohandler)
343 return (cmsUInt32Number) ftell((FILE*)iohandler ->stream);
348 cmsBool FileWrite(cmsIOHANDLER* iohandler, cmsUInt32Number size, const void* Buffer)
386 iohandler -> ReportedSize = (cmsUInt32Number) cmsfilelength(fm);
433 iohandler -> ReportedSize = (cmsUInt32Number) cmsfilelength(Stream);
507 cmsTagSignature CMSEXPORT cmsGetTagSignature(cmsHPROFILE hProfile, cmsUInt32Number n)
521 cmsUInt32Number i;
646 cmsUInt32Number i, j;
647 cmsUInt32Number HeaderSize;
649 cmsUInt32Number TagCount;
705 if (!_cmsReadUInt32Number(io, (cmsUInt32Number *) &Tag.sig)) return FALSE;
736 cmsBool _cmsWriteHeader(_cmsICCPROFILE* Icc, cmsUInt32Number UsedSpace)
739 cmsUInt32Number i;
815 cmsUInt32Number CMSEXPORT cmsGetHeaderRenderingIntent(cmsHPROFILE hProfile)
821 void CMSEXPORT cmsSetHeaderRenderingIntent(cmsHPROFILE hProfile, cmsUInt32Number RenderingIntent)
827 cmsUInt32Number CMSEXPORT cmsGetHeaderFlags(cmsHPROFILE hProfile)
830 return (cmsUInt32Number) Icc -> flags;
833 void CMSEXPORT cmsSetHeaderFlags(cmsHPROFILE hProfile, cmsUInt32Number Flags)
836 Icc -> flags = (cmsUInt32Number) Flags;
839 cmsUInt32Number CMSEXPORT cmsGetHeaderManufacturer(cmsHPROFILE hProfile)
845 void CMSEXPORT cmsSetHeaderManufacturer(cmsHPROFILE hProfile, cmsUInt32Number manufacturer)
851 cmsUInt32Number CMSEXPORT cmsGetHeaderCreator(cmsHPROFILE hProfile)
857 cmsUInt32Number CMSEXPORT cmsGetHeaderModel(cmsHPROFILE hProfile)
863 void CMSEXPORT cmsSetHeaderModel(cmsHPROFILE hProfile, cmsUInt32Number model)
936 cmsUInt32Number CMSEXPORT cmsGetEncodedICCversion(cmsHPROFILE hProfile)
942 void CMSEXPORT cmsSetEncodedICCversion(cmsHPROFILE hProfile, cmsUInt32Number Version)
950 cmsUInt32Number BaseToBase(cmsUInt32Number in, int BaseIn, int BaseOut)
954 cmsUInt32Number out;
975 Icc -> Version = BaseToBase((cmsUInt32Number) floor(Version * 100.0 + 0.5), 10, 16) << 16;
981 cmsUInt32Number n = Icc -> Version >> 16;
1102 cmsHPROFILE CMSEXPORT cmsOpenProfileFromMemTHR(cmsContext ContextID, const void* MemPtr, cmsUInt32Number dwSize)
1126 cmsHPROFILE CMSEXPORT cmsOpenProfileFromMem(const void* MemPtr, cmsUInt32Number dwSize)
1138 cmsUInt32Number i;
1139 cmsUInt32Number Begin;
1165 cmsUInt32Number TagSize = FileOrig -> TagSizes[i];
1166 cmsUInt32Number TagOffset = FileOrig -> TagOffsets[i];
1251 cmsUInt32Number i;
1274 cmsUInt32Number CMSEXPORT cmsSaveProfileToIOhandler(cmsHPROFILE hProfile, cmsIOHANDLER* io)
1279 cmsUInt32Number UsedSpace;
1361 cmsBool CMSEXPORT cmsSaveProfileToMem(cmsHPROFILE hProfile, void *MemPtr, cmsUInt32Number* BytesNeeded)
1393 cmsUInt32Number i;
1441 cmsUInt32Number i, nMaxTypes;
1464 cmsUInt32Number Offset, TagSize;
1465 cmsUInt32Number ElemCount;
1699 cmsInt32Number CMSEXPORT cmsReadRawTag(cmsHPROFILE hProfile, cmsTagSignature sig, void* data, cmsUInt32Number BufferSize)
1708 cmsUInt32Number rc;
1709 cmsUInt32Number Offset, TagSize;
1820 cmsBool CMSEXPORT cmsWriteRawTag(cmsHPROFILE hProfile, cmsTagSignature sig, const void* data, cmsUInt32Number Size)