![]() |
Oyranos Colour Management System API |
context creator More...
#include <oyranos_cmm.h>


Public Types | |
| typedef oyPointer(* | oyCMMFilterNode_ContextToMem_f )(oyFilterNode_s *node, size_t *size, oyAlloc_f allocateFunc) |
| store a CMM filter context into a memory blob | |
| typedef char *(* | oyCMMFilterNode_GetText_f )(oyFilterNode_s *node, oyNAME_e type, oyAlloc_f allocateFunc) |
| describe a CMM filter context | |
Data Fields | |
| oyOBJECT_e | type |
| oyPointer | dummya |
| oyPointer | dummyb |
| oyPointer | dummyc |
| oyCMMapi_s * | next |
| oyCMMInit_f | oyCMMInit |
| oyCMMMessageFuncSet_f | oyCMMMessageFuncSet |
| const char * | registration |
| int32_t | version [3] |
| int32_t | module_api [3] |
| oyCMMFilterNode_ContextToMem_f | oyCMMFilterNode_ContextToMem |
| oyCMMFilterNode_GetText_f | oyCMMFilterNode_GetText |
| char | context_type [8] |
| oyCMMui_s * | ui |
context creator
The structure contains functions to specify and prepare parameters or a context dedicated for a filter node class. UI elements can be included for manual settings. As per definition the result of this filter is serialised, and can therefore be cached by Oyranos' core.
Different filters have to provide this struct each one per filter.
The ::oyCMMFilterNode_ContextToMem
| char oyCMMapi4_s::context_type[8] |
the data type of the context returned by oyCMMapi4_s::oyCMMFilterNode_ContextToMem_f, mandatory for a set oyCMMFilterNode_ContextToMem e.g. oyCOLOUR_ICC_DEVICE_LINK / "oyDL"
| oyPointer oyCMMapi4_s::dummya |
keep to zero
Reimplemented from oyCMMapi_s.
| oyPointer oyCMMapi4_s::dummyb |
keep to zero
Reimplemented from oyCMMapi_s.
| oyPointer oyCMMapi4_s::dummyc |
keep to zero
Reimplemented from oyCMMapi_s.
| int32_t oyCMMapi4_s::module_api[3] |
0: last major Oyranos version during development time, e.g. 0 1: last minor Oyranos version during development time, e.g. 0 2: last Oyranos patch version during development time, e.g. 10
Reimplemented from oyCMMapiFilter_s.
the next CMM api
Reimplemented from oyCMMapiFilter_s.
mandatory for "//colour/icc" context producing filters
Referenced by oyFilterGraph_s::oyFilterGraph_PrepareContexts().
optional for a set oyCMMFilterNode_ContextToMem, used to override a Oyranos side hash creation
Reimplemented from oyCMMapiFilter_s.
Reimplemented from oyCMMapiFilter_s.
| const char* oyCMMapi4_s::registration |
e.g. "sw/oyranos.org/imaging/scale" or "sw/oyranos.org/colour/icc.lcms", see as well Registration
Reimplemented from oyCMMapiFilter_s.
Referenced by oyFilterGraph_s::oyFilterGraph_GetNode().
| oyOBJECT_e oyCMMapi4_s::type |
struct type oyOBJECT_CMM_API4_S
Reimplemented from oyCMMapiFilter_s.
a UI description Obligatory is a implemented oyCMMapi4_s::ui->getText( x, y ) call. The x argument shall cover "name" and "help" a UI description
Referenced by oyFilterCore_s::oyFilterCore_GetName(), and oyFilterNode_s::oyFilterNode_UiGet().
| int32_t oyCMMapi4_s::version[3] |
0: major - should be stable for the live time of a filter,
1: minor - mark new features,
2: patch version - correct errors
Reimplemented from oyCMMapiFilter_s.
Referenced by oyFilterCore_s::oyFilterCore_GetText().