a profile and its attributes More...
#include <oyranos_alpha.h>
Data Fields | |
| oyOBJECT_e | type_ |
| oyStruct_Copy_f | copy |
| oyStruct_Release_f | release |
| oyObject_s | oy_ |
| char * | file_name_ |
| size_t | size_ |
| void * | block_ |
| icColorSpaceSignature | sig_ |
| oyPROFILE_e | use_default_ |
| oyObject_s * | names_chan_ |
| int | channels_n_ |
| oyStructList_s * | tags_ |
Related Functions | |
(Note that these are not member functions.) | |
| oyProfile_s * | oyProfile_FromStd (oyPROFILE_e type, oyObject_s object) |
| create from default colour space settings | |
| OYAPI oyProfile_s *OYEXPORT | oyProfile_FromFile (const char *name, uint32_t flags, oyObject_s object) |
| create from file | |
| OYAPI oyProfile_s *OYEXPORT | oyProfile_FromMem (size_t size, const oyPointer block, uint32_t flags, oyObject_s object) |
| create from in memory blob | |
| OYAPI oyProfile_s *OYEXPORT | oyProfile_FromSignature (icSignature sig, oySIGNATURE_TYPE_e type, oyObject_s object) |
| create a fractional profile from signature | |
| OYAPI oyProfile_s *OYEXPORT | oyProfile_Copy (oyProfile_s *profile, oyObject_s object) |
| copy from existing profile struct | |
| int | oyProfile_Release (oyProfile_s **obj) |
| release correctly | |
| int | oyProfile_GetChannelsCount (oyProfile_s *profile) |
| number of channels in a colour space | |
| OYAPI icSignature OYEXPORT | oyProfile_GetSignature (oyProfile_s *s, oySIGNATURE_TYPE_e type) |
| get ICC colour space signature | |
| OYAPI int OYEXPORT | oyProfile_SetSignature (oyProfile_s *profile, icSignature sig, oySIGNATURE_TYPE_e type) |
| set signature | |
| void | oyProfile_SetChannelNames (oyProfile_s *profile, oyObject_s *names_chan) |
| set channel names | |
| const oyChar * | oyProfile_GetChannelName (oyProfile_s *profile, int pos, oyNAME_e type) |
| get a channels name | |
| const oyObject_s * | oyProfile_GetChannelNames (oyProfile_s *profile) |
| get channel names | |
| OYAPI const oyChar *OYEXPORT | oyProfile_GetID (oyProfile_s *s) |
| get unique name | |
| OYAPI const oyChar *OYEXPORT | oyProfile_GetText (oyProfile_s *s, oyNAME_e type) |
| get a presentable name | |
| OYAPI oyPointer OYEXPORT | oyProfile_GetMem (oyProfile_s *profile, size_t *size, uint32_t flag, oyAlloc_f allocateFunc) |
| get the ICC profile in memory | |
| const oyChar * | oyProfile_GetFileName (oyProfile_s *profile, int dl_pos) |
| get the ICC profile location in the filesystem | |
| oyProfileTag_s * | oyProfile_GetTagById (oyProfile_s *profile, icTagSignature id) |
| get a profile tag by its tag signature | |
| oyProfileTag_s * | oyProfile_GetTagByPos_ (oyProfile_s *profile, int pos) |
| get a profile tag | |
| oyProfileTag_s * | oyProfile_GetTagByPos (oyProfile_s *profile, int pos) |
| get a profile tag | |
| int | oyProfile_GetTagCount (oyProfile_s *profile) |
| int | oyProfile_AddTag (oyProfile_s *profile, oyProfileTag_s **obj, int pos) |
| add a tag to a profile | |
| int | oyProfile_TagReleaseAt (oyProfile_s *profile, int pos) |
| remove a tag from a profile | |
a profile and its attributes
| void* oyProfile_s::block_ |
ICC profile data
Referenced by oyProfile_GetMem(), oyProfile_GetSignature(), oyProfile_GetTagByPos_(), oyProfile_Release(), and oyProfile_SetSignature().
number of channels
Referenced by oyProfile_GetChannelsCount(), and oyProfile_Release().
| oyStruct_Copy_f oyProfile_s::copy |
copy function
| char* oyProfile_s::file_name_ |
file name for loading on request
Referenced by oyDumpColourToCGATS(), oyProfile_GetFileName(), oyProfile_GetID(), oyProfile_GetText(), and oyProfile_Release().
user visible channel description
Referenced by oyProfile_GetChannelName(), oyProfile_GetChannelNames(), oyProfile_Release(), and oyProfile_SetChannelNames().
base object
Referenced by oyProfile_AddTag(), oyProfile_Copy(), oyProfile_GetChannelNames(), oyProfile_GetFileName(), oyProfile_GetID(), oyProfile_GetMem(), oyProfile_GetTagById(), oyProfile_GetTagByPos(), oyProfile_GetText(), oyProfile_Release(), oyProfile_SetChannelNames(), oyProfile_SetSignature(), and oyProfile_TagReleaseAt().
| oyStruct_Release_f oyProfile_s::release |
release function
| icColorSpaceSignature oyProfile_s::sig_ |
ICC profile signature
Referenced by oyProfile_GetChannelsCount(), oyProfile_GetSignature(), oyProfile_Release(), and oyProfile_SetSignature().
| size_t oyProfile_s::size_ |
ICC profile size
Referenced by oyProfile_GetMem(), oyProfile_GetTagByPos_(), oyProfile_Release(), oyProfile_SetSignature(), and oyProfiles_s::oyProfiles_Create().
| oyStructList_s* oyProfile_s::tags_ |
list of header + tags
Referenced by oyProfile_AddTag(), oyProfile_GetMem(), oyProfile_GetTagByPos_(), oyProfile_GetTagCount(), oyProfile_Release(), and oyProfile_TagReleaseAt().
struct type oyOBJECT_PROFILE_S
Referenced by oyProfile_GetFileName(), oyProfile_GetMem(), oyProfile_GetTagById(), oyProfile_GetTagByPos_(), oyProfile_GetTagCount(), oyProfile_Release(), oyProfile_TagReleaseAt(), and oyProfiles_s::oyProfiles_MoveIn().
if > 0 : take from settings
Referenced by oyProfile_FromStd(), oyProfile_GetID(), and oyProfile_GetText().
1.6.1