-
Notifications
You must be signed in to change notification settings - Fork 4
GstTIOVXSimo
This class inherits from GstElement
, and it serves as a base class for all the elements that have a Single input, Multiple output structure (1 to many).
- vx_context context;
- vx_graph graph;
- vx_node node;
- guint num_channels;
- GstTIOVXPad *sinkpad;
- GList *srcpads;
- GList *queueable_objects;
- GstTIOVXContext *tiovx_context;
-
init_module
: Required.
Subclasses must override to init the element-specific module.
-
create_graph
: Required.
Subclasses must override to init the element-specific graph.
-
get_node_info
: Required.
Subclasses must override to return node information on the element-specific node parameters.
-
configure_module
: Optional.
Subclasses may override to release vx_image memory allocated and do module configuration prior to starting the process graph if needed.
-
deinit_module
: Required.
Subclasses must override to deinit the element-specific module.
-
get_src_caps
: Optional.
Subclasses may override to manage custom implementation of src caps queries. Given the list of sink caps what should be the src caps? Default implementation is to fully intersect filter and sink caps.
-
get_sink_caps
: Optional.
Subclasses may override to manage custom implementation of sink caps queries. Given the list of source caps what should be the sink caps? Default implementation is to fully intersect filter and source caps list.
-
fixate_caps
: Optional.
Subclasses may override to manage custom implementation of caps events. Default implementation is to use gst_caps_fixate() to obtain caps that will be used in the src pads.
-
compare_caps
: Optional.
Used in renegotiation cases. Subclasses can use this interface to implement a custom function that compares former sink caps and current sink caps.
-
preprocess
: Optional.
Subclasses may implement this function to perform operations before processing.
-
postprocess
: Optional.
Subclasses may implement this function to perform operations after processing.