Method
OmniTransformerStatetransform_uniform_async
Declaration
void
omni_transformer_state_transform_uniform_async (
OmniTransformerState* self,
OmniTransformUniformContext* context,
OmniTransformerContext* transformer_context,
OmniPipelineSnapshot* snapshot,
GCancellable* cancellable,
GAsyncReadyCallback callback,
void* user_data
)
Description
Produce output batches for a certain time range.
Before returning, this method must call the following methods on
context in order:
-
Call
omni_transform_uniform_context_advance()zero or more times. -
Call
omni_transform_uniform_context_blocked_by()once. This is optional and ignored ifomni_transform_uniform_context_advance()was called at least once.
It is recommended to impose a finite bound on the amount of work (by some measure) performed during a single method call. For example, it could return to the caller as soon as the above call order requirement is fulfilled.
Parameters
context-
Type:
OmniTransformUniformContextNo description available.
The data is owned by the caller of the method. transformer_context-
Type:
OmniTransformerContextNo description available.
The data is owned by the caller of the method. snapshot-
Type:
OmniPipelineSnapshotNo description available.
The data is owned by the caller of the method. cancellable-
Type:
GCancellableNo description available.
The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackNo description available.
The argument can be NULL. user_data-
Type:
void*No description available.
The argument can be NULL.The data is owned by the caller of the method.