Oyranos Colour Management System API
Data Fields
oyConnectorImaging_s Struct Reference

node connection descriptor More...

#include <oyranos_cmm.h>

Inheritance diagram for oyConnectorImaging_s:
Inheritance graph
[legend]
Collaboration diagram for oyConnectorImaging_s:
Collaboration graph
[legend]

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_edata_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_echannel_types
int channel_types_n
int id

Detailed Description

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.

Todo:
generalise the connector properties
Version:
Oyranos: 0.1.10
Since:
2008/07/26 (Oyranos: 0.1.8)
Date:
2010/06/25

Field Documentation

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.

  • a data manipulator. e.g. a normal filter - "//imaging/manipulator.data"
  • a data generator, e.g. checkerboard, gradient "//imaging/generator.data"
  • a pixel data provider, e.g. oyFILTER_TYPE_IMAGE "//imaging/image.data"
  • observer, a endpoint, only input, e.g. text log, thumbnail viewer "//imaging/observer.data"
  • a routing element, without data altering "//imaging/splitter.rectangle.data"
  • combines or splits image data, e.g. blending "//imaging/blender.rectangle.data"
  • converts pixel layout to other formats "//imaging/pixel.convertor.data"
  • converts pixel layout to other formats, with precission loss, e.g. float -> uint8_t, only relevant for output connectors "//imaging/pixel.convertor.lossy.data"
  • combines gray channels, e.g. from colour "//imaging/combiner.channels.data"
  • provides gray scale views of channels "//imaging/splitter.channels.data"

The following types should have a "text" attribute in the application level as this connector type passes text.

  • provides values or text, only output "///analysis.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.

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.