![]() |
Oyranos
git-devel
Oyranos is a full featured Color Management System
|
A FilterGraph object. More...
#include <oyFilterGraph_s.h>
Public Member Functions | |
OYAPI oyFilterGraph_s *OYEXPORT | oyFilterGraph_New (oyObject_s object) |
allocate a new FilterGraph object More... | |
OYAPI oyFilterGraph_s *OYEXPORT | oyFilterGraph_Copy (oyFilterGraph_s *filtergraph, oyObject_s object) |
Copy or Reference a FilterGraph object. More... | |
OYAPI int OYEXPORT | oyFilterGraph_Release (oyFilterGraph_s **filtergraph) |
release and possibly deallocate a oyFilterGraph_s object More... | |
OYAPI oyFilterGraph_s *OYEXPORT | oyFilterGraph_FromNode (oyFilterNode_s *node, int flags) |
Get a graphs adjazency list. More... | |
OYAPI oyFilterNode_s *OYEXPORT | oyFilterGraph_GetNode (oyFilterGraph_s *graph, int pos, const char *registration, const char *mark) |
Select a node. More... | |
OYAPI int OYEXPORT | oyFilterGraph_CountNodes (oyFilterGraph_s *graph, const char *registration, const char *mark) |
Count nodes. More... | |
OYAPI oyFilterPlug_s *OYEXPORT | oyFilterGraph_GetEdge (oyFilterGraph_s *graph, int pos) |
Get edges. More... | |
OYAPI int OYEXPORT | oyFilterGraph_CountEdges (oyFilterGraph_s *graph) |
Count edges. More... | |
OYAPI int OYEXPORT | oyFilterGraph_PrepareContexts (oyFilterGraph_s *graph, int flags) |
Iterate over a filter graph and possibly prepare contexts. More... | |
OYAPI int OYEXPORT | oyFilterGraph_SetFromNode (oyFilterGraph_s *graph, oyFilterNode_s *node, const char *mark, int flags) |
Get a graphs adjazency list. More... | |
OYAPI oyOptions_s *OYEXPORT | oyFilterGraph_GetOptions (oyFilterGraph_s *graph) |
Get options. More... | |
void | oyFilterGraph_Release__Members (oyFilterGraph_s_ *filtergraph) |
Custom FilterGraph destructor. More... | |
int | oyFilterGraph_Init__Members (oyFilterGraph_s_ *filtergraph) |
Custom FilterGraph constructor. More... | |
int | oyFilterGraph_Copy__Members (oyFilterGraph_s_ *dst, oyFilterGraph_s_ *src) |
Custom FilterGraph copy constructor. More... | |
OYAPI char *OYEXPORT | oyFilterGraph_ToText (oyFilterGraph_s *graph, oyFilterNode_s *input, oyFilterNode_s *output, const char *head_line, int reserved OY_UNUSED, oyAlloc_f allocateFunc OY_UNUSED) |
Text description of a graph. More... | |
![]() | |
const char * | oyStruct_GetTextFromModule (oyStruct_s *obj, oyNAME_e name_type, uint32_t flags) |
get object infos from a module More... | |
const char * | oyStruct_GetText (oyStruct_s *obj, oyNAME_e name_type, uint32_t flags) |
Get a text dump. More... | |
int | oyStruct_RegisterStaticMessageFunc (int type, oyStruct_RegisterStaticMessageFunc_f msg, oyStruct_RegisterStaticFreeFunc_f free_func) |
register a function for verbosity More... | |
const char * | oyStruct_GetInfo (oyPointer context_object, oyNAME_e type, int flags) |
get a additional string from a object More... | |
const char * | oyStructTypeToText (oyOBJECT_e type) |
Objects type to small string. More... | |
Data Fields | |
const oyOBJECT_e | type_ |
Type of object. More... | |
oyStruct_Copy_f | copy |
Copy function. More... | |
oyStruct_Release_f | release |
Release function. More... | |
oyObject_s | oy_ |
Oyranos internal object. More... | |
![]() | |
const oyOBJECT_e | type_ |
Type of object. More... | |
oyStruct_Copy_f | copy |
Copy function. More... | |
oyStruct_Release_f | release |
Release function. More... | |
oyObject_s | oy_ |
Oyranos internal object. More... | |
A FilterGraph object.
OYAPI oyFilterGraph_s *OYEXPORT oyFilterGraph_Copy | ( | oyFilterGraph_s * | filtergraph, |
oyObject_s | object | ||
) |
Copy or Reference a FilterGraph object.
Function oyFilterGraph_Copy
The function is for copying and for referencing. The reference is the most often used way, which saves resourcs and time.
[in] | filtergraph | FilterGraph struct object |
object | NULL - means reference, the optional object triggers a real copy |
int oyFilterGraph_Copy__Members | ( | oyFilterGraph_s_ * | dst, |
oyFilterGraph_s_ * | src | ||
) |
Custom FilterGraph copy constructor.
Function oyFilterGraph_Copy__Members
OYAPI int OYEXPORT oyFilterGraph_CountEdges | ( | oyFilterGraph_s * | graph | ) |
Count edges.
Function oyFilterGraph_CountEdges
[in] | graph | a filter graph |
OYAPI int OYEXPORT oyFilterGraph_CountNodes | ( | oyFilterGraph_s * | graph, |
const char * | registration, | ||
const char * | mark | ||
) |
Count nodes.
Function oyFilterGraph_CountNodes
[in] | graph | a filter graph |
[in] | registration | criterium to generate the matching list, or zero for no criterium |
[in] | mark | marking string to use as a selector |
OYAPI oyFilterGraph_s *OYEXPORT oyFilterGraph_FromNode | ( | oyFilterNode_s * | node, |
int | flags | ||
) |
Get a graphs adjazency list.
Function oyFilterGraph_FromNode
[in] | node | filter node |
[in] | flags | - OY_INPUT omit input direction
|
Referenced by oyConversion_s::oyConversion_GetGraph().
OYAPI oyFilterPlug_s *OYEXPORT oyFilterGraph_GetEdge | ( | oyFilterGraph_s * | graph, |
int | pos | ||
) |
Get edges.
Function oyFilterGraph_GetEdge
[in] | graph | a filter graph |
[in] | pos | the desired index |
OYAPI oyFilterNode_s *OYEXPORT oyFilterGraph_GetNode | ( | oyFilterGraph_s * | graph, |
int | pos, | ||
const char * | registration, | ||
const char * | mark | ||
) |
Select a node.
Function oyFilterGraph_GetNode
[in] | graph | a filter graph |
[in] | pos | the position in a matching list, or -1 to select the first match |
[in] | registration | criterium to generate the matching list, or zero for no criterium |
[in] | mark | marking string to use as a selector |
OYAPI oyOptions_s *OYEXPORT oyFilterGraph_GetOptions | ( | oyFilterGraph_s * | graph | ) |
Get options.
Function oyFilterGraph_GetOptions
[in] | graph | a filter graph |
Referenced by oyPixelAccess_s::oyPixelAccess_SetFromString(), and oyPixelAccess_s::oyPixelAccess_Show().
int oyFilterGraph_Init__Members | ( | oyFilterGraph_s_ * | filtergraph | ) |
Custom FilterGraph constructor.
Function oyFilterGraph_Init__Members
OYAPI oyFilterGraph_s *OYEXPORT oyFilterGraph_New | ( | oyObject_s | object | ) |
allocate a new FilterGraph object
Function oyFilterGraph_New
OYAPI int OYEXPORT oyFilterGraph_PrepareContexts | ( | oyFilterGraph_s * | graph, |
int | flags | ||
) |
Iterate over a filter graph and possibly prepare contexts.
Function oyFilterGraph_PrepareContexts
[in,out] | graph | a filter graph |
[in] | flags | 1 - enforce a context preparation |
OYAPI int OYEXPORT oyFilterGraph_Release | ( | oyFilterGraph_s ** | filtergraph | ) |
release and possibly deallocate a oyFilterGraph_s object
Function oyFilterGraph_Release
[in,out] | filtergraph | FilterGraph struct object |
Referenced by oyPixelAccess_s::oyPixelAccess_SetFromString().
void oyFilterGraph_Release__Members | ( | oyFilterGraph_s_ * | filtergraph | ) |
Custom FilterGraph destructor.
Function oyFilterGraph_Release__Members
OYAPI int OYEXPORT oyFilterGraph_SetFromNode | ( | oyFilterGraph_s * | graph, |
oyFilterNode_s * | node, | ||
const char * | mark, | ||
int | flags | ||
) |
Get a graphs adjazency list.
Function oyFilterGraph_SetFromNode
[in] | graph | a graph object |
[in] | node | filter node |
[in] | mark | a selection |
[in] | flags | - OY_INPUT omit input direction
|
OYAPI char *OYEXPORT oyFilterGraph_ToText | ( | oyFilterGraph_s * | graph, |
oyFilterNode_s * | input, | ||
oyFilterNode_s * | output, | ||
const char * | head_line, | ||
int reserved | OY_UNUSED, | ||
oyAlloc_f allocateFunc | OY_UNUSED | ||
) |
Text description of a graph.
Function oyFilterGraph_ToText
[in] | graph | graphy object |
[in] | input | start node of a oyConversion_s |
[in] | output | end node and if present a switch to interprete input and output as start and end node of a oyConversion_s |
[in] | head_line | text for inclusion |
[in] | reserved | future format selector (dot, xml ...) |
[in] | allocateFunc | allocation function; not implemented |
The function is more verbose with the oy_debug variable set.
oyStruct_Copy_f oyFilterGraph_s::copy |
Copy function.
oyObject_s oyFilterGraph_s::oy_ |
Oyranos internal object.
Features name and hash. Do not change during object life time.
oyStruct_Release_f oyFilterGraph_s::release |
Release function.
const oyOBJECT_e oyFilterGraph_s::type_ |
Type of object.
The struct type tells Oyranos how to interprete hidden fields.