Media a generator produces, such as colour bars.
Symbols in this group are spelled otio_generator_reference_…. An SDK drops that prefix, which is why the name beside each call is the short one.
Returns which generator a generator reference names, such as `"SMPTEBars"`.
OtioStatus otio_generator_reference_kind(
const OtioDocument *source,
OtioNode node_handle,
OtioBuffer *out_kind,
OtioBuffer *out_error);| Parameter | Type | Role |
|---|---|---|
| source ? | document | the document, borrowed |
| node_handle | node | what the call is about |
| out_kind | text | written through, not read |
| out_error | text | why the call failed, or null to skip it |
Creates a media reference for generated media, such as colour bars.
OtioStatus otio_generator_reference_new(
OtioDocument *target,
const char *name,
const char *generator_kind,
OtioNode *out_node,
OtioBuffer *out_error);| Parameter | Type | Role |
|---|---|---|
| target | document | the document, changed |
| name ? | text | input |
| generator_kind ? | text | input |
| out_node | node | written through, not read |
| out_error | text | why the call failed, or null to skip it |
Sets which generator a generator reference names.
OtioStatus otio_generator_reference_set_kind(
OtioDocument *target,
OtioNode node_handle,
const char *kind,
OtioBuffer *out_error);| Parameter | Type | Role |
|---|---|---|
| target | document | the document, changed |
| node_handle | node | what the call is about |
| kind | text | input |
| out_error | text | why the call failed, or null to skip it |