![]() |
Lumiera 0.pre.04
»edit your freedom«
|
Test-Rand-Ontology : definition structures similar to a media-library.
Namespaces | |
| namespace | anonymous_namespace{test-rand-ontology.cpp} |
Typedefs | |
| using | FraNo = size_t |
| using | ChaNo = uint |
| using | Flavr = uint |
| using | Factr = double |
| using | Param = uint64_t |
| using | Spec = TestRandOntology::Spec |
Classes | |
| struct | ConfGen |
| extended config for Generator operations More... | |
| struct | ConfMan |
| extended config for Manipulator/Filter operations More... | |
| struct | ConfMix |
| extended config for combining/mixing operations More... | |
Functions | |
| void | generateFrame (TestFrame *buff, FraNo frameNr=0, Flavr flavour=0) |
| produce sequences of frames with (reproducible) random data | |
| void | generateMultichan (TestFrame *buffArry, ChaNo chanCnt, FraNo frameNr=0, Flavr flavour=0) |
| produce planar multi channel output of random data frames | |
| void | duplicateMultichan (TestFrame *outArry, TestFrame *inArry, ChaNo chanCnt) |
| create an identical clone copy of the planar multi channel frame array | |
| void | manipulateMultichan (TestFrame *buffArry, ChaNo chanCnt, Param param) |
| »process« a planar multi channel array of data frames in-place | |
| void | manipulateFrame (TestFrame *out, TestFrame const *in, Param param) |
| »process« random frame date by hash-chaining with a parameter | |
| void | combineFrames (TestFrame *out, TestFrame const *srcA, TestFrame const *srcB, Factr mix) |
| mix two random data frames by a parameter-controlled proportion | |
| void | dummyOp (int *num_in_buff) |
| the simplest possible function, which can be bound as Render Node | |
Variables | |
| int | dummyNum {-1} |
| a dummy value | |
| const Literal | OID {"Test"} |
| classificatory prefix for functionality provided by this „library“ | |
| const Literal | TYPE_TESTFRAME {"TestFrame"} |
| a stream implementation type with a frame of reproducible random data | |
| const Literal | DUMMY_NODE_ID {"Test:dummy"} |
| const Literal | DUMMY_PROC_ID {"op(int)"} |
| using FraNo = size_t |
Definition at line 57 of file test-rand-ontology.hpp.
Definition at line 58 of file test-rand-ontology.hpp.
Definition at line 59 of file test-rand-ontology.hpp.
| using Factr = double |
Definition at line 60 of file test-rand-ontology.hpp.
| using Param = uint64_t |
Definition at line 61 of file test-rand-ontology.hpp.
| using Spec = TestRandOntology::Spec |
Definition at line 170 of file test-rand-ontology.hpp.
produce sequences of frames with (reproducible) random data
| buff | a sufficiently sized allocation to place the result data into |
| frameNr | the frame of the »source feed« to generate (determines actual random data) |
| flavour | a further seed parameter to determine the actual (reproducibly) random data |
Definition at line 59 of file test-rand-ontology.cpp.
Referenced by ConfGen::binding(), and NodeDevel_test::processing_generateFrame().
Here is the caller graph for this function:produce planar multi channel output of random data frames
| chanCnt | size of the array of frames to generate |
| buffArry | pointer to an allocation sufficiently sized to hold TestFrame[chanCnt] |
| frameNr | the frame of the »source feed« to use commonly on all those frames in the output |
| flavour | a further seed parameter used as starting offest for the output's family parameters |
frameNr and consecutive family parameters, which will be offset commonly by adding the flavour parameter. Definition at line 76 of file test-rand-ontology.cpp.
Referenced by NodeDevel_test::processing_duplicateMultichan(), NodeDevel_test::processing_generateMultichan(), and NodeDevel_test::processing_manipulateMultichan().
Here is the caller graph for this function:create an identical clone copy of the planar multi channel frame array
| chanCnt | size of the array of frames to clone |
| inArry | pointer to storage holding a TestFrame[chanCnt] |
| outArry | pointer to allocated storage sufficient to hold a clone copy of these |
Definition at line 89 of file test-rand-ontology.cpp.
Referenced by NodeDevel_test::processing_duplicateMultichan(), and NodeDevel_test::processing_manipulateMultichan().
Here is the caller graph for this function:»process« a planar multi channel array of data frames in-place
| chanCnt | size of the array of frames to manipulate |
| buffArry | pointer to an array of several frames (channels) |
| param | parameter to control or »mark« the data manipulation (hash-combining) |
Definition at line 106 of file test-rand-ontology.cpp.
References lib::hash::combine(), and TestFrame::data64().
Referenced by NodeDevel_test::processing_manipulateMultichan().
Here is the call graph for this function:
Here is the caller graph for this function:»process« random frame date by hash-chaining with a parameter
| out | existing allocation to place the generated TestFrame into |
| in | allocation holding the input TestFrame data |
| param | parameter to control or »mark« the data manipulation (hash-combining) |
Definition at line 132 of file test-rand-ontology.cpp.
References lib::hash::combine(), TestFrame::data64(), and TestFrame::markChecksum().
Referenced by ConfMan::binding(), NodeDevel_test::processing_manipulateFrame(), OutputProxyProvider_test::run(), NodeDevel_test::testRand_buildFilterNode(), and NodeLink_test::trigger_node_port_invocation().
Here is the call graph for this function:
Here is the caller graph for this function:mix two random data frames by a parameter-controlled proportion
| out | existing allocation to receive the calculated result TestFrame |
| srcA | a buffer holding the input data for feed-A |
| srcB | a buffer holding the input data for feed-B |
| mix | degree of mixing (by integer arithmetics): 100 means 100% feed-B |
Definition at line 151 of file test-rand-ontology.cpp.
References TestFrame::data(), and TestFrame::markChecksum().
Referenced by ConfMix::binding(), NodeDevel_test::processing_combineFrames(), NodeDevel_test::testRand_buildMixNode(), and NodeLink_test::trigger_node_port_invocation().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
the simplest possible function, which can be bound as Render Node
Definition at line 72 of file test-rand-ontology.hpp.
References dummyNum.
Referenced by NodeLink_test::build_simple_node().
Here is the caller graph for this function:| int dummyNum {-1} |
a dummy value
Definition at line 47 of file test-rand-ontology.cpp.
Referenced by dummyOp().
| const Literal OID {"Test"} |
classificatory prefix for functionality provided by this „library“
Definition at line 63 of file test-rand-ontology.hpp.
Referenced by TestRandOntology::Builder< CONF >::nodeID().
| const Literal TYPE_TESTFRAME {"TestFrame"} |
a stream implementation type with a frame of reproducible random data
Definition at line 64 of file test-rand-ontology.hpp.
Referenced by TestRandOntology::setupCombinator(), TestRandOntology::setupGenerator(), and TestRandOntology::setupManipulator().
| const Literal DUMMY_NODE_ID {"Test:dummy"} |
Definition at line 77 of file test-rand-ontology.hpp.
Referenced by NodeLink_test::build_simple_node().
| const Literal DUMMY_PROC_ID {"op(int)"} |
Definition at line 78 of file test-rand-ontology.hpp.
Referenced by NodeLink_test::build_simple_node().