mw::mo::filter::Deblocker::Apply Function

Syntax


DeblockerReturn Apply (const mw::mo::filter::YuvImage& inYuvImage, mw::mo::filter::YuvImage& outYuvImage, DeblockerQuality deblockerQuality = mw::mo::filter::DEBLOCKER_QUALITY_HIGH);

Arguments

Name Description
in inYuvImage The YUV image to deblock.
out outYuvImage The resulting deblocked YUV image.
in deblockerQuality The wanted deblocking quality, the default value is mw::mo::filter::DEBLOCKER_QUALITY_HIGH.

Returns

mw::mo::filter::DEBLOCKER_RETURN_OK if success.
mw::mo::filter::DEBLOCKER_RETURN_NULL if Create method was not previously called.
mw::mo::filter::DEBLOCKER_RETURN_BAD_YUV_IMAGE if at least one of the deblocker YuvImage instances given in parameter is invalid: the yuv image instance is not one of the instances returned by GetImage method of GenericVideoDecoder class..
mw::mo::filter::DEBLOCKER_RETURN_FATAL if a fatal error in encountered.
mw::mo::filter::DEBLOCKER_RETURN_NOT_WRITABLE if outYuvImage parameter is internally flagged as read only: the yuv image instances returned by GetImage method of MobiclipVideoDecoder class are all internally flagged as read only.
mw::mo::filter::DEBLOCKER_RETURN_INVALID_FLAG if deblockerQuality parameter is invalid.
mw::mo::filter::DEBLOCKER_RETURN_NOT_ENOUGH_MEMORY if not enough memory.

Description

Performs a deblocking process on YuvImage instances given in parameter.

Revision History

2010/05/05
Initial version.