MDisplaySink Class Reference

class MDisplaySink

MDisplaySink

DisplaySink.lib

Public Member Functions
void Destroy ()
void NextFrame ()
void Pause ()
void Release ()
void Resume ()
void SetBitmapAvailable ( TBitmapNo )
void UpdateSinkParamsL (const TDisplaySinkParams &, TBool &)
operator MVTVideoSink & ()
Public Member Enumerations
enum TBitmapNo { EFirstBitmap  = 0, ESecondBitmap }

Member Functions Documentation

Destroy()

void Destroy ( ) [pure virtual]

Deletes instance and frees all memory.

NextFrame()

void NextFrame ( ) [pure virtual]

This method is called by the VT engine when engine has finished handling of previous frame and is ready to handle a new one.

Pause()

void Pause ( ) [pure virtual]

Pauses sending of remote video to VT engine.

Release()

void Release ( ) [pure virtual]

Cancels sink so that it does not convert bitmaps even it receives data.

Resume()

void Resume ( ) [pure virtual]

Resumes sending of remote video to VT engine.

SetBitmapAvailable(TBitmapNo)

void SetBitmapAvailable ( TBitmapNo aBitmapNo ) [pure virtual]

Mark the bitmap available for use.

Parameters

TBitmapNo aBitmapNo One of the enumerated TBitmapNo values.

UpdateSinkParamsL(const TDisplaySinkParams &, TBool &)

void UpdateSinkParamsL ( const TDisplaySinkParams & aParams,
TBool & aUpdated
) [pure virtual]
Updates display sink parameters, e.g. when display mode changes.
Exceptions
May

leave with one of the system wide error codes (e.g. in out of memory situaton).

Parameters

const TDisplaySinkParams & aParams Structure that contains new bitmap handles.
TBool & aUpdated Reference to boolean variable that will be set to ETrue when display sink parameter update has been completed.

operator MVTVideoSink &()

operator MVTVideoSink & ( ) [pure virtual]

Operator returns this instance .

Member Enumerations Documentation

Enum TBitmapNo

Enumerators

EFirstBitmap = 0
ESecondBitmap