Oyranos Colour Management System API
Macros | Functions
oyranos_alpha.c File Reference

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_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 <dlfcn.h>
#include <math.h>
#include <locale.h>
#include <limits.h>

Macros

#define PT_ANY   0 /* Don't check colorspace */

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
OYAPI oyProfile_s *OYEXPORT oyProfile_FromTaxiDB (oyOptions_s *options, oyObject_s object)
 look up a profile of a device from Taxi DB
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, double delta)
 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
int oyGetMonitorInfo (const char *display_name, char **manufacturer, char **model, char **serial, char **system_port, char **display_geometry, oyBlob_s **edid, oyAlloc_f allocate_func)
 brief pick up monitor information with Xlib
int oyGetScreenFromPosition (const char *display_name, int x, int y)
 screen number from position
char * oyGetDisplayNameFromPosition2 (const char *device_type, const char *device_class, const char *display_name, int x, int y, oyAlloc_f allocateFunc)
 display name from position
char * oyGetDisplayNameFromPosition (const char *display_name, int x, int y, oyAlloc_f allocateFunc)
 display name from position
char * oyGetMonitorProfile (const char *device_name, size_t *size, oyAlloc_f allocate_func)
 get the monitor profile from the server
char * oyMonitorProfileNameFromDB (oyConfig_s *device, oyAlloc_f allocateFunc)
 get the monitor profile filename from the device database
char * oyGetMonitorProfileNameFromDB (const char *display_name, oyAlloc_f allocateFunc)
 get the monitor profile filename from the device profile database
int oySetMonitorProfile (const char *display_name, const char *profile_name)
 set the monitor profile by filename
int oyActivateMonitorProfiles (const char *display_name)
 activate the monitor using the stored configuration

Detailed Description

object APIs

Oyranos is an open source Colour Management System

Copyright:
2004-2012 (C) Kai-Uwe Behrmann
Author:
Kai-Uwe Behrmann ku.b@.nosp@m.gmx..nosp@m.de
License:
new BSD http://www.opensource.org/licenses/bsd-license.php
Since:
2004/11/25