![]() |
Oyranos Colour Management System API |
object APIs More...
#include "oyPointer_s.h"#include "oyObserver_s.h"#include "oyOption_s.h"#include "oyOptions_s.h"#include "oyranos_types.h"#include "oyranos_alpha.h"#include "oyranos_alpha_internal.h"#include "oyranos_cmm.h"#include "oyranos_elektra.h"#include "oyranos_helper.h"#include "oyranos_i18n.h"#include "oyranos_io.h"#include "oyranos_sentinel.h"#include "oyranos_string.h"#include "oyranos_texts.h"#include "oyjl/oyjl_tree.h"#include <math.h>#include <locale.h>#include <limits.h>Defines | |
| #define | PT_ANY 0 |
Functions | |
| void | oyLab2XYZ (const double *CIELab, double *XYZ) |
| void | oyXYZ2Lab (const double *XYZ, double *lab) |
| void | oyCIEabsXYZ2ICCrelXYZ (const double *CIEXYZ, double *ICCXYZ, const double *XYZmin, const double *XYZmax, const double *XYZwhite) |
| CIE absolute colourimetric to ICC relative colorimetric. | |
| void | oyICCXYZrel2CIEabsXYZ (const double *ICCXYZ, double *CIEXYZ, const double *XYZmin, const double *XYZmax, const double *XYZwhite) |
| ICC relative colourimetric to CIE absolute colorimetric. | |
| oyChar * | oyDumpColourToCGATS (const double *channels, size_t n, oyProfile_s *prof, oyAlloc_f allocateFunc, const oyChar *DESCRIPTOR) |
| create CGATS text from double value array and a profile | |
| void | oyCopyColour (const double *from, double *to, int n, oyProfile_s *ref, int channels_n) |
| copy pure colours | |
| oyPointer | oyStruct_Allocate (oyStruct_s *st, size_t size) |
| let a object allocate some memory | |
| int | oyTextboolean_ (const char *text_a, const char *text_b, oyBOOLEAN_e type) |
| test a boolean operator | |
| OYAPI int OYEXPORT | oyDevicesGet (const char *device_type, const char *device_class, oyOptions_s *options, oyConfigs_s **devices) |
| get all devices matching to a device class and type | |
| OYAPI int OYEXPORT | oyDeviceGet (const char *device_type, const char *device_class, const char *device_name, oyOptions_s *options, oyConfig_s **device) |
| ask a module for device informations or other direct calls | |
| OYAPI int OYEXPORT | oyDeviceBackendCall (oyConfig_s *device, oyOptions_s *options) |
| get device answere from options | |
| OYAPI int OYEXPORT | oyDeviceSetup (oyConfig_s *device) |
| activate the device using the stored configuration | |
| int | oyDeviceUnset (oyConfig_s *device) |
| unset the device profile | |
| OYAPI int OYEXPORT | oyDeviceGetInfo (oyConfig_s *device, oyNAME_e type, oyOptions_s *options, char **info_text, oyAlloc_f allocateFunc) |
| get all devices matching to a device class and type | |
| OYAPI int OYEXPORT | oyDeviceGetProfile (oyConfig_s *device, oyOptions_s *options, oyProfile_s **profile) |
| order a device profile | |
| OYAPI int OYEXPORT | oyDeviceAskProfile2 (oyConfig_s *device, oyOptions_s *options, oyProfile_s **profile) |
| ask for the device profile | |
| int | oyDeviceSetProfile (oyConfig_s *device, const char *profile_name) |
| set the device profile | |
| OYAPI int OYEXPORT | oyDeviceProfileFromDB (oyConfig_s *device, char **profile_name, oyAlloc_f allocateFunc) |
| look up a profile of a device from DB | |
| OYAPI int OYEXPORT | oyDeviceSelectSimiliar (oyConfig_s *pattern, oyConfigs_s *heap, uint32_t flags, oyConfigs_s **matched_devices) |
| get similiar devices by a pattern from a list | |
| OYAPI int OYEXPORT | oyDeviceFromJSON (const char *json_text, oyOptions_s *options, oyConfig_s **device) |
| generate a device from a JSON device calibration | |
| OYAPI int OYEXPORT | oyDeviceToJSON (oyConfig_s *device, oyOptions_s *options, char **json_text, oyAlloc_f allocateFunc) |
| get JSON format device calibration text from a device | |
| int | oySizeofDatatype (oyDATATYPE_e t) |
| oyDATATYPE_e to byte mapping | |
| const char * | oyDatatypeToText (oyDATATYPE_e t) |
| oyDATATYPE_e to string mapping | |
| char * | oyFilterRegistrationToSTextField (const char *registration, oyFILTER_REG_e field, int *len) |
| analyse registration string | |
| char * | oyFilterRegistrationToText (const char *registration, oyFILTER_REG_e fields, oyAlloc_f allocateFunc) |
| analyse registration string | |
| int | oyFilterRegistrationMatch (const char *registration, const char *pattern, oyOBJECT_e api_number) |
| analyse registration string and compare with a given pattern | |
| int | oyFilterRegistrationMatchKey (const char *registration_a, const char *registration_b, oyOBJECT_e api_number) |
| compare two registration strings, skip key attributes | |
| int | oyTextIccDictMatch (const char *text, const char *pattern) |
| analyse a string and compare with a given pattern | |
| char | oyFilterRegistrationModify (const char *registration, oyFILTER_REG_MODE_e mode, char **result, oyAlloc_f allocateFunc) |
| process a registration string | |
object APIs
Oyranos is an open source Colour Management System