#[repr(C)]pub struct ZL_StaticGraphParameters {
pub name: *const c_char,
pub localParams: *const ZL_LocalParams,
}Expand description
@defgroup Group_Compressor_StaticGraphCreation Static Graph Creation
There are two types of graphs in OpenZL: static graphs and dynamic graphs. Static graphs take a single input, pass that input to a codec, and the outputs of that codec are sent to the successor graphs. Dynamic graphs are graphs that inspect the input at runtime to make different decisions. These are either function graphs or selectors.
This API allows the construction of static graphs. The head node and the successor graphs must be specified. Additionally, a name can be provided for the graph, which can aid in debugging. Finally, the graph can be parameterized, which sends the local parameters to the head node.
The main function is @ref ZL_Compressor_buildStaticGraph. The other functions are older variants that will eventually be removed. @{
Fields§
§name: *const c_charOptionally a name for the graph for debugging. If NULL, then the static graph will not have a name.
localParams: *const ZL_LocalParamsOptionally local parameters to pass to the head node. If NULL, then the head node’s local parameters will not be overridden.
Trait Implementations§
Source§impl Clone for ZL_StaticGraphParameters
impl Clone for ZL_StaticGraphParameters
Source§fn clone(&self) -> ZL_StaticGraphParameters
fn clone(&self) -> ZL_StaticGraphParameters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more