Lets #GstBaseTransform sub-classes know the memory allocator used by the base class and its params.
See if trans is configured as a in_place transform.
See if trans is configured as a passthrough transform.
Queries if the transform will handle QoS.
Negotiates src pad caps with downstream elements if the source pad is marked as needing reconfiguring. Unmarks GST_PAD_FLAG_NEED_RECONFIGURE in any case. But marks it again if negotiation fails.
Instructs trans to request renegotiation upstream. This function is typically called after properties on the transform were set that influence the input format.
Instructs trans to renegotiate a new downstream transform on the next buffer. This function is typically called after properties on the transform were set that influence the output format.
If gap_aware is false (the default), output buffers will have the gst.types.BufferFlags.Gap flag unset.
Determines whether a non-writable buffer will be copied before passing to the transform_ip function.
Set passthrough mode for this filter by default. This is mostly useful for filters that do not care about negotiation.
If prefer_passthrough is true (the default), trans will check and prefer passthrough caps from the list of caps returned by the transform_caps vmethod.
Enable or disable QoS handling in the transform.
Set the QoS parameters in the transform. This function is called internally when a QOS event is received but subclasses can provide custom information when needed.
Updates the srcpad caps and sends the caps downstream. This function can be used by subclasses when they have already negotiated their caps but found a change in them (or computed new information). This way, they can notify downstream about that change without losing any buffer.
Provides useful functions and a base class for video filters.
The videofilter will by default enable QoS on the parent GstBaseTransform to implement frame dropping.