![]() |
Oyranos Colour Management System API |
node connection descriptor More...
#include <oyranos_cmm.h>


Data Fields | |
| oyStruct_Copy_f | copy |
| oyStruct_Release_f | release |
| oyCMMGetText_f | getText |
| const char ** | texts |
| char * | connector_type |
| oyCMMFilterSocket_MatchPlug_f | filterSocket_MatchPlug |
| int | is_plug |
| oyDATATYPE_e * | data_types |
| int | data_types_n |
| int | can_planar |
| int | can_interwoven |
| int | can_swap |
| int | can_swap_bytes |
| int | can_revert |
| int | can_subpixel |
| oyCHANNELTYPE_e * | channel_types |
| int | channel_types_n |
| int | id |
node connection descriptor
This structure holds informations about the connection capabilities. It holds common structure members of oyFilterPlug_s and oyFilterSocket_s.
To signal a value is not initialised or does not apply, set the according integer value to -1.
can read continuous channels
can read separated channels
revert 1 -> 0 and 0 -> 1
understand subpixel order
can swap colour channels (BGR)
non host byte order
describe which channel types the connector requires
count in channel_types
The following types should have a "data" attribute in the application level as these connectors pass the imaging data.
The following types should have a "text" attribute in the application level as this connector type passes text.
Reimplemented from oyConnector_s.
| oyStruct_Copy_f oyConnectorImaging_s::copy |
copy function
Reimplemented from oyConnector_s.
supported float's and int's
# elements in data_types array
| oyCMMFilterSocket_MatchPlug_f oyConnectorImaging_s::filterSocket_MatchPlug |
Check if two oyCMMapi7_s filter connectors of type oyConnector_s can match each other inside a given socket and a plug. For a imaging plugin just add here oyFilterSocket_MatchImagingPlug
Reimplemented from oyConnector_s.
translated UI texts
Reimplemented from oyConnector_s.
relative to oyFilterCore_s, e.g. 1 connector is mandatory or optional, important for modules
1 - make requests and receive data, by part of oyFilterPlug_s; 0 - receive requests and provide data, oyFilterSocket_s
Reimplemented from oyConnector_s.
| oyStruct_Release_f oyConnectorImaging_s::release |
release function
Reimplemented from oyConnector_s.
| const char** oyConnectorImaging_s::texts |
zero terminated categories for getText. Support at least "name", e.g. {"name",0}
The "name" texts shall include information about the connector. The oyNAME_NICK is a very small shorthand for the cnnnector. e.g. "Img" oyNAME_NAME should contain the connectors name, e.g. "Image" oyNAME_DESCRIPTION can contain some help text, e.g. "Image[PNG] File Input".
Reimplemented from oyConnector_s.