FrameFilterImpl::checkTransformTypes Method

Determines whether a specific conversion is supported by the filter.
Syntax:
virtual bool checkTransformTypes( const FrameTypeInfo& in_type,
                                  const FrameTypeInfo& out_type ) const;

Parameter Description
in_type

Suggested input frame type.

out_type

Suggested output frame type.

Return Value:

Value Description
true The transformation is possible.
false The transformation is not possible.

Remarks:

You can override this method when you need some filter-specific behavior.

The default implementation calls getTransformOutputTypes to check whether the transformation is possible.

See also: FrameFilterImpl, FrameTypeInfo

<< FrameFilterImpl