CMMFVideoPlayHwDevice Class Reference

class CMMFVideoPlayHwDevice : public CMMFVideoHwDevice

A base class for all video playback (decoder and post-processor) hardware devices. Since both decoders and post-processors can implement post-processing functionality, this class includes all post-processing related methods. The main difference between decoder and post-processor devices is that decoders can input coded data and write decoded pictures to another device, while post-processor devices can accept decoded pictures from the client or from another device.

Inherits from

Public Member Functions
voidAbortDirectScreenAccess()
voidCancelTimedSnapshot()
voidCommitL()
voidFreezePicture(const TTimeIntervalMicroSeconds &)
voidGetComplexityLevelInfo(TUint, CMMFDevVideoPlay::TComplexityLevelInfo &)
voidGetOutputFormatListL(RArray< TUncompressedVideoFormat > &)
voidGetPictureCounters(CMMFDevVideoPlay::TPictureCounters &)
TBool GetSnapshotL(TPictureData &, const TUncompressedVideoFormat &)
voidGetSupportedSnapshotFormatsL(RArray< TUncompressedVideoFormat > &)
voidGetTimedSnapshotL(TPictureData *, const TUncompressedVideoFormat &, const TTimeIntervalMicroSeconds &)
voidGetTimedSnapshotL(TPictureData *, const TUncompressedVideoFormat &, const TPictureId &)
voidInitialize()
voidInputEnd()
TBool IsPlaying()
TUint NumComplexityLevels()
voidPause()
TUint PictureBufferBytes()
TTimeIntervalMicroSeconds PlaybackPosition()
CPostProcessorInfo *PostProcessorInfoLC()
voidRedraw()
voidReleaseFreeze(const TTimeIntervalMicroSeconds &)
voidResume()
voidReturnPicture(TVideoPicture *)
voidRevert()
voidSetClockSource(MMMFClockSource *)
voidSetComplexityLevel(TUint)
voidSetInputCropOptionsL(const TRect &)
voidSetOutputCropOptionsL(const TRect &)
voidSetOutputFormatL(const TUncompressedVideoFormat &)
voidSetPauseOnClipFail(TBool)
voidSetPosition(const TTimeIntervalMicroSeconds &)
voidSetPostProcSpecificOptionsL(const TDesC8 &)
voidSetPostProcessTypesL(TUint32)
voidSetRotateOptionsL(TRotationType)
voidSetScaleOptionsL(const TSize &, TBool)
voidSetScreenClipRegion(const TRegion &)
voidSetVideoDestScreenL(TBool)
voidSetYuvToRgbOptionsL(const TYuvToRgbOptions &, const TYuvFormat &, TRgbFormat)
voidSetYuvToRgbOptionsL(const TYuvToRgbOptions &)
voidStart()
voidStartDirectScreenAccessL(const TRect &, CFbsScreenDevice &, const TRegion &)
voidStop()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CMMFVideoHwDevice::CustomInterface(TUid)

Member Functions Documentation

AbortDirectScreenAccess()

voidAbortDirectScreenAccess()[pure virtual]
Aborts Direct Screen Access completely, to be called from MAbortDirectScreenAccess::AbortNow() and similar methods. DSA can be resumed by calling StartDirectScreenAccessL().
Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

CancelTimedSnapshot()

voidCancelTimedSnapshot()[pure virtual]
Cancels a timed snapshot request.
Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

CommitL()

voidCommitL()[pure virtual]

Commit all changes since the last CommitL(), Revert() or Initialize() to the hardware device. This only applies to methods which can be called both before AND after DevVideoPlay has been initialized.

SetPostProcessTypesL SetInputCropOptionsL SetYuvToRgbOptionsL SetRotateOptionsL SetScaleOptionsL SetOutputCropOptionsL SetPostProcSpecificOptionsL
leave
"The method will leave if an error occurs."
Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

FreezePicture(const TTimeIntervalMicroSeconds &)

voidFreezePicture(const TTimeIntervalMicroSeconds &aTimestamp)[pure virtual]

Freezes a picture on the screen. After the picture has been frozen, no new pictures are displayed until the freeze is released with ReleaseFreeze(). If the device output is being written to memory buffers or to another plug-in, instead of the screen, no decoded pictures will be delivered while the freeze is active, and they are simply discarded.

Parameters

const TTimeIntervalMicroSeconds & aTimestamp"The presentation timestamp of the picture to freeze. The frozen picture will be the first picture with a timestamp greater than or equal to this parameter." @pre "This method can only be called after the hwdevice has been initialized with Initialize()."

GetComplexityLevelInfo(TUint, CMMFDevVideoPlay::TComplexityLevelInfo &)

voidGetComplexityLevelInfo(TUintaLevel,
CMMFDevVideoPlay::TComplexityLevelInfo &aInfo
)[pure virtual]

Gets information about a computational complexity level. This method can be called after NumComplexityLevels() has returned a non-zero value - at that point the information is guaranteed to be available. Some hardware device implementations may not be able to provide all values, in that case the values will be approximated.

Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

Parameters

TUint aLevel"The computational complexity level to query. The level numbers range from zero (the most complex) to NumComplexityLevels()-1."
CMMFDevVideoPlay::TComplexityLevelInfo & aInfo"The information structure to fill."

GetOutputFormatListL(RArray< TUncompressedVideoFormat > &)

voidGetOutputFormatListL(RArray< TUncompressedVideoFormat > &aFormats)[pure virtual]

Retrieves the list of the output formats that the device supports. The list is ordered in plug-in preference order, with the preferred formats at the beginning of the list. The list can depend on the device source format, and therefore SetSourceFormatL() must be called before calling this method.

leave
"This method may leave with one of the system-wide error codes. @pre "This method may only be called before the hwdevice has been initialized using Initialize()."

Parameters

RArray< TUncompressedVideoFormat > & aFormats"An array for the result format list. The array must be created and destroyed by the caller."

GetPictureCounters(CMMFDevVideoPlay::TPictureCounters &)

voidGetPictureCounters(CMMFDevVideoPlay::TPictureCounters &aCounters)[pure virtual]

Reads various counters related to decoded pictures. The counters are reset when Initialize() or this method is called, and thus they only include pictures processed since the last call.

Post-processor devices return the number of input pictures in iPicturesDecoded and iTotalPictures. If the decoded pictures are written to another plug-in, they are considered to be "virtually displayed".

Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

Parameters

CMMFDevVideoPlay::TPictureCounters & aCounters"The counter structure to fill."

GetSnapshotL(TPictureData &, const TUncompressedVideoFormat &)

TBool GetSnapshotL(TPictureData &aPictureData,
const TUncompressedVideoFormat &aFormat
)[pure virtual]

Gets a copy of the latest picture sent to output.

leave
"The method will leave if an error occurs. Typical error codes used: KErrNotSupported - The requested data format or picture size is not supported, or the plug-in does not support snapshots." @pre "This method can only be called after the hwdevice has been initialized with Initialize()."

Parameters

TPictureData & aPictureData"Target picture. The memory for the picture must be allocated by the caller, and initialized properly. The data formats must match the snapshot format requested." @param "aFormat" "The picture format to use for the snapshot."
const TUncompressedVideoFormat & aFormat

GetSupportedSnapshotFormatsL(RArray< TUncompressedVideoFormat > &)

voidGetSupportedSnapshotFormatsL(RArray< TUncompressedVideoFormat > &aFormats)[pure virtual]

Gets a list of the supported snapshot picture formats.

leave
"This method may leave with one of the standard error codes."
Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

Parameters

RArray< TUncompressedVideoFormat > & aFormats"An array for the result format list. The array must be created and destroyed by the caller."

GetTimedSnapshotL(TPictureData *, const TUncompressedVideoFormat &, const TTimeIntervalMicroSeconds &)

voidGetTimedSnapshotL(TPictureData *aPictureData,
const TUncompressedVideoFormat &aFormat,
const TTimeIntervalMicroSeconds &aPresentationTimestamp
)[pure virtual]

When the snapshot is available, it will be returned to the client using the TimedSnapshotComplete() callback. To cancel a timed snapshot request, use CancelTimedSnapshot(). Only one timed snapshot request can be active at a time.

leave
"The method will leave if an error occurs. Typical error codes used: KErrNotSupported - The requested data format or picture size is not supported or the plug-in does not support timed snapshots." @pre "This method can only be called after the hwdevice has been initialized with Initialize()."

Parameters

TPictureData * aPictureData"Target picture. The memory for the picture must be allocated by the caller, and initialized properly. The data formats must match the snapshot format requested. The picture must remain valid until the snapshot has been taken or until the request has been cancelled with CancelTimedSnapshot()." @param "aFormat" "The picture format to use for the snapshot." @param "aPresentationTimestamp" "Presentation timestamp for the picture to copy."
const TUncompressedVideoFormat & aFormat
const TTimeIntervalMicroSeconds & aPresentationTimestamp

GetTimedSnapshotL(TPictureData *, const TUncompressedVideoFormat &, const TPictureId &)

voidGetTimedSnapshotL(TPictureData *aPictureData,
const TUncompressedVideoFormat &aFormat,
const TPictureId &aPictureId
)[pure virtual]

When the snapshot is available, it will be returned to the client using the TimedSnapshotComplete() callback. To cancel a timed snapshot request, use CancelTimedSnapshot(). Only one timed snapshot request can be active at a time.

leave
"The method will leave if an error occurs. Typical error codes used: KErrNotSupported - The requested data format or picture size is not supported or the plug-in does not support timed snapshots." @pre "This method can only be called after the hwdevice has been initialized with Initialize()."

Parameters

TPictureData * aPictureData"Target picture. The memory for the picture must be allocated by the caller, and initialized properly. The data formats must match the snapshot format requested. The picture must remain valid until the snapshot has been taken or until the request has been cancelled with CancelTimedSnapshot()." @param "aFormat" "The picture format to use for the snapshot." @param "aPictureId" "Picture identifier for the picture to copy."
const TUncompressedVideoFormat & aFormat
const TPictureId & aPictureId

Initialize()

voidInitialize()[pure virtual]

Initializes the device. This method is asynchronous, the device will call MMFVideoPlayProxy::MdvppInitializeComplete() after initialization has completed. After this method has successfully completed, further configuration changes are not possible except where separately noted.

InputEnd()

voidInputEnd()[pure virtual]

Notifies the hardware device that the end of input data has been reached and no more input data will be written. The hardware device can use this signal to ensure that the remaining data gets processed, without waiting for new data. For example when the data type is not EDuCodedPicture, calling this method is necessary otherwise a hardware device implementation might be looking for the start code for the next picture to ensure it has a complete picture before starting to decode the previous one.

After the remaining data has been processed (and displayed, if applicable), the hardware device must notify the proxy with the MdvppStreamEnd() callback.

DevVideo clients are encouraged to call this method, but its use is not mandatory for synchronized processing. For synchronized playback, all video pictures are processed or discarded according to their timestamps, and so the client can easily infer when processing is complete. However, it should be noted that the last picture might not be displayed if this method is not called and the input data type is not EDuCodedPicture.

For non-synchronized playback (e.g. file conversion), a client must call this method otherwise it will never find out when the hardware device has finished processing the data.

Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

IsPlaying()

TBool IsPlaying()[pure virtual]

Indicates whether playback is proceeding. This method can be used to check whether playback was paused or not in response to a new clipping region or DSA abort.

Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

NumComplexityLevels()

TUint NumComplexityLevels()[pure virtual]

Gets the number of complexity levels available.

Pause()

voidPause()[pure virtual]
Pauses video playback, including decoding, post-processing, and rendering. No pictures will be decoded, post-processed, or rendered until playback has been resumed.
Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

PictureBufferBytes()

TUint PictureBufferBytes()[pure virtual]

Returns the total amount of memory allocated for uncompressed pictures. This figure only includes the pictures actually allocated by the plug-in itself, so that the total number of bytes allocated in the system can be calculated by taking the sum of the values from all plug-ins.

Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

PlaybackPosition()

TTimeIntervalMicroSeconds PlaybackPosition()[pure virtual]

Returns the current playback position, i.e. the timestamp for the most recently displayed or virtually displayed picture. If the device output is written to another device, the most recent output picture is used.

Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

PostProcessorInfoLC()

CPostProcessorInfo *PostProcessorInfoLC()[pure virtual]

Retrieves post-processing information about this hardware device. The device creates a CPostProcessorInfo structure, fills it with correct data, pushes it to the cleanup stack and returns it. The client will delete the object when it is no longer needed.

leave
"This method may leave with one of the system-wide error codes.

Redraw()

voidRedraw()[pure virtual]
Re-draws the latest video picture. Only available when DSA is being used. If DSA is aborted or a non-supported clipping region has been set, the request may be ignored.
Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

ReleaseFreeze(const TTimeIntervalMicroSeconds &)

voidReleaseFreeze(const TTimeIntervalMicroSeconds &aTimestamp)[pure virtual]

Releases a picture frozen with FreezePicture().

Parameters

const TTimeIntervalMicroSeconds & aTimestamp"The presentation timestamp of the picture to release. The first picture displayed after the release will be the first picture with a timestamp greater than or equal to this parameter. To release the freeze immediately, set the timestamp to zero." @pre "This method can only be called after the hwdevice has been initialized with Initialize()."

Resume()

voidResume()[pure virtual]
Resumes video playback after a pause.
Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

ReturnPicture(TVideoPicture *)

voidReturnPicture(TVideoPicture *aPicture)[pure virtual]

Returns a picture back to the device. This method is called by CMMFDevVideoPlay to return pictures from the client (after they have been written with NewPicture()), or by the output device when it has finished using a picture.

Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

Parameters

TVideoPicture * aPicture"The picture to return. The device can re-use the memory for the picture."

Revert()

voidRevert()[pure virtual]

Revert all changes since the last CommitL(), Revert() or Initialize() back to their previous settings. This only applies to methods which can be called both before AND after DevVideoPlay has been initialized.

SetPostProcessTypesL SetInputCropOptionsL SetYuvToRgbOptionsL SetRotateOptionsL SetScaleOptionsL SetOutputCropOptionsL SetPostProcSpecificOptionsL
Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

SetClockSource(MMMFClockSource *)

voidSetClockSource(MMMFClockSource *aClock)[pure virtual]

Sets the clock source to use for video timing. If no clock source is set. video playback will not be synchronized, but will proceed as fast as possible, depending on input data and output buffer availability.

Pre-condition
"This method can only be called before the hwdevice has been initialized with Initialize()."

Parameters

MMMFClockSource * aClock"The clock source to be used."

SetComplexityLevel(TUint)

voidSetComplexityLevel(TUintaLevel)[pure virtual]

Sets the computational complexity level to use. If separate complexity levels are not available, the method call is ignored. If the level specified is not available, the results are undefined. Typically the device will either ignore the request or use the nearest suitable level.

The complexity level can be changed at any point during playback.

Parameters

TUint aLevel"The computational complexity level to use. Level zero (0) is the most complex one, with the highest quality. Higher level numbers require less processing and may have lower quality." @pre "This method can only be called after the hwdevice has been initialized with Initialize()."

SetInputCropOptionsL(const TRect &)

voidSetInputCropOptionsL(const TRect &aRect)[pure virtual]

Sets post-processing options for input (pan-scan) cropping.

leave
"This method may leave with one of the system-wide error codes. @pre "This method can be called either before or after the hwdevice has been initialized with Initialize(). If called after initialization, the change must only be committed when CommitL() is called."

Parameters

const TRect & aRect"The cropping rectangle to use."

SetOutputCropOptionsL(const TRect &)

voidSetOutputCropOptionsL(const TRect &aRect)[pure virtual]

Sets post-processing options for output cropping. SetPostProcessTypesL() must be called before this method is used.

leave
"This method may leave with one of the system-wide error codes. @pre "This method can be called either before or after the hwdevice has been initialized with Initialize(). If called after initialization, the change must only be committed when CommitL() is called."

Parameters

const TRect & aRect"Output cropping area."

SetOutputFormatL(const TUncompressedVideoFormat &)

voidSetOutputFormatL(const TUncompressedVideoFormat &aFormat)[pure virtual]

Sets the device output format.

leave
"This method may leave with one of the system-wide error codes. @pre "This method may only be called before the hwdevice has been initialized using Initialize()."

Parameters

const TUncompressedVideoFormat & aFormat"The format to use."

SetPauseOnClipFail(TBool)

voidSetPauseOnClipFail(TBoolaPause)[pure virtual]

Sets whether the system should pause playback when it gets a clipping region it cannot handle, or Direct Screen Access is aborted completely. If not, processing will proceed normally, but no video will be drawn. By default, playback is paused.

Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

Parameters

TBool aPause"True if playback should be paused when clipping fails, false if not. If playback is not paused, it will be continued without video display."

SetPosition(const TTimeIntervalMicroSeconds &)

voidSetPosition(const TTimeIntervalMicroSeconds &aPlaybackPosition)[pure virtual]

Changes to a new decoding and playback position, used for randomly accessing (seeking) the input stream. The position change flushes all input and output buffers. Pre-decoder and post-decoder buffering are handled as if a new bitstream was being decoded. If the device still has buffered pictures that precede the new playback position, they will be discarded. If playback is synchronized to a clock source, the client is responsible for setting the clock source to the new position.

Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

Parameters

const TTimeIntervalMicroSeconds & aPlaybackPosition"The new playback position in the video stream."

SetPostProcSpecificOptionsL(const TDesC8 &)

voidSetPostProcSpecificOptionsL(const TDesC8 &aOptions)[pure virtual]

Sets post-processing plug-in specific options. SetPostProcessTypesL() must be called before this method is used.

leave
"This method may leave with one of the system-wide error codes. @pre "This method can be called either before or after the hwdevice has been initialized with Initialize(). If called after initialization, the change must only be committed when CommitL() is called."

Parameters

const TDesC8 & aOptions"The options. The format is plug-in specific."

SetPostProcessTypesL(TUint32)

voidSetPostProcessTypesL(TUint32aPostProcCombination)[pure virtual]

Sets the post-processing types to be used.

leave
"This method may leave with one of the system-wide error codes. @pre "This method can be called either before or after the hwdevice has been initialized with Initialize(). If called after initialization, the change must only be committed when CommitL() is called."

Parameters

TUint32 aPostProcCombination"The post-processing steps to perform, a bitwise OR of values from TPostProcessType."

SetRotateOptionsL(TRotationType)

voidSetRotateOptionsL(TRotationTypeaRotationType)[pure virtual]

Sets post-processing options for rotation. SetPostProcessTypesL() must be called before this method is used.

leave
"This method may leave with one of the system-wide error codes. @pre "This method can be called either before or after the hwdevice has been initialized with Initialize(). If called after initialization, the change must only be committed when CommitL() is called."

Parameters

TRotationType aRotationType"The rotation to perform."

SetScaleOptionsL(const TSize &, TBool)

voidSetScaleOptionsL(const TSize &aTargetSize,
TBoolaAntiAliasFiltering
)[pure virtual]

Sets post-processing options for scaling. SetPostProcessTypesL() must be called before this method is used.

leave
"This method may leave with one of the system-wide error codes. @pre "This method can be called either before or after the hwdevice has been initialized with Initialize(). If called after initialization, the change must only be committed when CommitL() is called."

Parameters

const TSize & aTargetSize"Scaling target size. If a fixed scale factor size is used, the new dimensions must be set to width=floor(factor*width), height=floor(factor*height). For example, scaling a QCIF (176x144) picture up by a factor of 4/3 yields a size of 234x192." @param "aAntiAliasFiltering" "True if anti-aliasing filtering should be used. If the post-processor does not support anti-aliased scaling, or supports anti-aliased scaling only, this argument is ignored."
TBool aAntiAliasFiltering

SetScreenClipRegion(const TRegion &)

voidSetScreenClipRegion(const TRegion &aRegion)[pure virtual]

Sets a new clipping region for Direct Screen Access. After the method returns, no video will be drawn outside of the region. If clipping is not supported, or the clipping region is too complex, either playback will pause or will resume without video display, depending on the current setting of SetPauseOnClipFail(), and the result can be verified with IsPlaying(). Clipping can be disabled by setting a new clipping region that includes the whole video window.

Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

Parameters

const TRegion & aRegion"The new clipping region. After the method returns, no video will be drawn outside the region."

SetVideoDestScreenL(TBool)

voidSetVideoDestScreenL(TBoolaScreen)[pure virtual]

Sets the device video output destination. The destination can be the screen (using direct screen access) or memory buffers. By default memory buffers are used. If data is written to another device, this method is ignored, and suitable memory buffers are always used.

leave
"This method may leave with one of the system-wide error codes. @pre "This method can only be called before the hwdevice has been initialized with Initialize()."

Parameters

TBool aScreen"True if video output destination is the screen, false if memory buffers."

SetYuvToRgbOptionsL(const TYuvToRgbOptions &, const TYuvFormat &, TRgbFormat)

voidSetYuvToRgbOptionsL(const TYuvToRgbOptions &aOptions,
const TYuvFormat &aYuvFormat,
TRgbFormataRgbFormat
)[pure virtual]

Sets post-processing options for YUV to RGB color space conversion. Specifies the input YUV and output RGB formats to use explicitly. SetSourceFormatL(), SetOutputFormatL(), and SetPostProcessTypesL() must be called before this method is used.

leave
"This method may leave with one of the system-wide error codes. @pre "This method can be called either before or after the hwdevice has been initialized with Initialize(). If called after initialization, the change must only be committed when CommitL() is called."

Parameters

const TYuvToRgbOptions & aOptions"The conversion options to use."
const TYuvFormat & aYuvFormat"Conversion source YUV format"
TRgbFormat aRgbFormat"Conversion target RGB format"

SetYuvToRgbOptionsL(const TYuvToRgbOptions &)

voidSetYuvToRgbOptionsL(const TYuvToRgbOptions &aOptions)[pure virtual]

Sets post-processing options for YUV to RGB color space conversion. Uses the device input and output formats. For decoder devices the default YUV format used is the format specified in the input bitstream. SetSourceFormatL(), SetOutputFormatL(), and SetPostProcessTypesL() must be called before this method is used.

leave
"This method may leave with one of the system-wide error codes. @pre "This method can be called either before or after the hwdevice has been initialized with Initialize(). If called after initialization, the change must only be committed when CommitL() is called."

Parameters

const TYuvToRgbOptions & aOptions"The conversion options to use."

Start()

voidStart()[pure virtual]
Starts video playback, including decoding, post-processing, and rendering. Playback will proceed until it has been stopped or paused, or the end of the bitstream is reached.
Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."

StartDirectScreenAccessL(const TRect &, CFbsScreenDevice &, const TRegion &)

voidStartDirectScreenAccessL(const TRect &aVideoRect,
CFbsScreenDevice &aScreenDevice,
const TRegion &aClipRegion
)[pure virtual]

Starts writing output directly to the display frame buffer using Direct Screen Access.

leave
"This method may leave with one of the system-wide error codes. @pre "This method can only be called after the hwdevice has been initialized with Initialize()."

Parameters

const TRect & aVideoRect"The video output rectangle on screen."
CFbsScreenDevice & aScreenDevice"The screen device to use. The screen device object must be valid in the current thread."
const TRegion & aClipRegion"Initial clipping region to use."

Stop()

voidStop()[pure virtual]
Stops video playback. No new pictures will be decoded, post-processed, or rendered.
Pre-condition
"This method can only be called after the hwdevice has been initialized with Initialize()."