MImageDecoderPrivSupport Class Reference

class MImageDecoderPrivSupport

Member Functions Documentation

AmInThread()

TBool AmInThread()const [pure virtual]

Indicate if running in a separate thread

CopyBufferToDescriptor(TDes8 &, const TDesC8 &, TInt, TInt)

voidCopyBufferToDescriptor(TDes8 &aBuffer,
const TDesC8 &aSource,
TIntaPosition,
TIntaSize
)[pure virtual]

Parameters

TDes8 & aBuffer
const TDesC8 & aSource
TInt aPosition
TInt aSize

Lock()

voidLock()[pure virtual]

Mutual exclusion lock - use on the frame tables to avoid update problems with threaded decode For non-threaded implementation will be a no-op.

MustUseBufferWithDescriptor()

TBool MustUseBufferWithDescriptor()const [pure virtual]

SaveFrameCount(TInt)

voidSaveFrameCount(TIntaFrameCount)[pure virtual]

Save the framecount - should be called whenever the framecount is successfully incremented Optionally used to avoid checking the framecount directly during threading. This call should only be made when we having finished setting up the frame's details. For non-threaded implementation will be a no-op.

Parameters

TInt aFrameCount

ShouldAbort()

TBool ShouldAbort()const [pure virtual]

Indicate if a decode should abort early (ie. following a Cancel). Always false unless in a thread.

Unlock()

voidUnlock()[pure virtual]

Mutual exclusion unlock - opposit of Lock() For non-threaded implementation will be a no-op.