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)
void | CopyBufferToDescriptor | ( | TDes8 & | aBuffer, |
| const TDesC8 & | aSource, |
| TInt | aPosition, |
| TInt | aSize |
| ) | [pure virtual] |
Lock()
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)
void | SaveFrameCount | ( | TInt | aFrameCount | ) | [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.
ShouldAbort()
TBool
| ShouldAbort | ( | ) | const [pure virtual] |
Indicate if a decode should abort early (ie. following a Cancel). Always false unless in a thread.
Unlock()
void | Unlock | ( | ) | [pure virtual] |
Mutual exclusion unlock - opposit of Lock() For non-threaded implementation will be a no-op.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.