Oyranos  0.9.7
Oyranos is a full featured Color Management System
Functions | Variables
oyranos_cmm_oicc.c File Reference

color management policy module for Oyranos More...

#include "oyranos_config_internal.h"
#include "oyranos_oicc.h"
#include "oyCMM_s.h"
#include "oyCMMapi9_s_.h"
#include "oyCMMobjectType_s_.h"
#include "oyProfiles_s.h"
#include "oyranos_cmm.h"
#include "oyranos_definitions.h"
#include "oyranos_helper.h"
#include "oyranos_icc.h"
#include "oyranos_i18n.h"
#include "oyranos_io.h"
#include "oyranos_module_internal.h"
#include "oyranos_string.h"
#include "oyranos_texts.h"
#include <math.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <dlfcn.h>

Functions

int oiccFilterMessageFuncSet (oyMessage_f message_func)
 
int oiccFilterInit (oyStruct_s *filter OY_UNUSED)
 API requirement. More...
 
int oiccInit (oyStruct_s *filter OY_UNUSED)
 API requirement. More...
 
oyOptions_soicc_defaultICCValidateOptions (oyFilterCore_s *filter, oyOptions_s *validate OY_UNUSED, int statical OY_UNUSED, uint32_t *result)
 dummy More...
 
oyStruct_soiccProfileLoadFromMem (size_t buf_size, const oyPointer buf, uint32_t flags, oyObject_s object)
 load a ICC profile from a in memory data blob More...
 
int oiccObjectScan (oyPointer buf, size_t buf_size, char **intern, char **filename, oyAlloc_f allocateFunc)
 load ICC profile informations from a in memory data blob More...
 
void oiccChangeNodeOption (oyOptions_s *f_options, oyOptions_s *db_options, const char *key, oyConversion_s *cc OY_UNUSED, int verbose, int flags, int type)
 
const char * oiccInfoGetText (const char *select, oyNAME_e type, oyStruct_s *context OY_UNUSED)
 

Variables

oyCMMapi9_s_ oicc_api9
 oicc oyCMMapi9_s implementation More...
 
oyCMM_s oicc_cmm_module
 oicc module infos More...
 

Detailed Description

color management policy module for Oyranos

Oyranos is an open source Color Management System

Copyright:
2008-2017 (C) Kai-Uwe Behrmann

Function Documentation

◆ oicc_defaultICCValidateOptions()

oyOptions_s* oicc_defaultICCValidateOptions ( oyFilterCore_s filter,
oyOptions_s *validate  OY_UNUSED,
int statical  OY_UNUSED,
uint32_t *  result 
)

dummy

Function oicc_defaultICCValidateOptions

Version
Oyranos: 0.1.9
Since
2008/11/13 (Oyranos: 0.1.9)
Date
2008/11/13

◆ oiccChangeNodeOption()

void oiccChangeNodeOption ( oyOptions_s f_options,
oyOptions_s db_options,
const char *  key,
oyConversion_s *cc  OY_UNUSED,
int  verbose,
int  flags,
int  type 
)

Set missing options and overwrite filter inbuild fallbacks. Do not touch edits.

References oyNAME_PATTERN, and oyOptions_s::oyOptions_Find().

◆ oiccFilterInit()

int oiccFilterInit ( oyStruct_s *filter  OY_UNUSED)

API requirement.

Function oiccFilterInit

Version
Oyranos: 0.1.10
Since
2009/07/24 (Oyranos: 0.1.10)
Date
2009/12/17

◆ oiccFilterMessageFuncSet()

int oiccFilterMessageFuncSet ( oyMessage_f  message_func)

Function oiccFilterMessageFuncSet

Version
Oyranos: 0.1.10
Date
2007/11/00
Since
2007/11/00 (Oyranos: 0.1.8)

◆ oiccInfoGetText()

const char* oiccInfoGetText ( const char *  select,
oyNAME_e  type,
oyStruct_s *context  OY_UNUSED 
)

This function implements oyCMMGetText_f.

Version
Oyranos: 0.1.10
Since
2008/12/23 (Oyranos: 0.1.10)
Date
2008/12/30

References oyNAME_NICK.

◆ oiccInit()

int oiccInit ( oyStruct_s *filter  OY_UNUSED)

API requirement.

Function oiccInit

Version
Oyranos: 0.9.5
Since
2013/12/11 (Oyranos: 0.9.5)
Date
2013/12/11

◆ oiccObjectScan()

int oiccObjectScan ( oyPointer  buf,
size_t  buf_size,
char **  intern,
char **  filename,
oyAlloc_f  allocateFunc 
)

load ICC profile informations from a in memory data blob

Function oiccObjectScan

Version
Oyranos: 0.1.10
Since
2008/11/23 (Oyranos: 0.1.9)
Date
2009/09/14

References oyNAME_DESCRIPTION, oyProfile_s::oyProfile_FromMem(), oyProfile_s::oyProfile_GetFileName(), oyProfile_s::oyProfile_GetText(), and oyProfile_s::oyProfile_Release().

◆ oiccProfileLoadFromMem()

oyStruct_s* oiccProfileLoadFromMem ( size_t  buf_size,
const oyPointer  buf,
uint32_t  flags,
oyObject_s  object 
)

load a ICC profile from a in memory data blob

Function oiccObjectLoadFromMem

Version
Oyranos: 0.1.10
Since
2008/11/23 (Oyranos: 0.1.9)
Date
2009/09/14

Variable Documentation

◆ oicc_api9

oyCMMapi9_s_ oicc_api9

oicc oyCMMapi9_s implementation

oicc_api9 A module to match ICC CMM default settings to Oyranos policy settings. Per object user settings have priority and are not touched.

Version
Oyranos: 0.1.10
Since
2008/11/13 (Oyranos: 0.1.9)
Date
2009/07/23

◆ oicc_cmm_module

oyCMM_s oicc_cmm_module
Initial value:
= {
0,0,0,
CMM_NICK,
"0.9.6",
(char**)oicc_texts,
&oicc_icon,
}
const char * oiccInfoGetText(const char *select, oyNAME_e type, oyStruct_s *context OY_UNUSED)
Definition: oyranos_cmm_oicc.c:1115
the basic API interface
Definition: oyCMMapi_s.h:88
#define OYRANOS_VERSION
Definition: oyranos_version.h:11
oyCMMapi9_s_ oicc_api9
oicc oyCMMapi9_s implementation
Definition: oyranos_cmm_oicc.c:1058
Definition: oyranos_object.h:161
int oiccInit(oyStruct_s *filter OY_UNUSED)
API requirement.
Definition: oyranos_cmm_oicc.c:85

oicc module infos

oicc_cmm_module

Version
Oyranos: 0.1.10
Since
2009/07/23 (Oyranos: 0.1.10)
Date
2009/07/23