CVisualFrameImpl Class Reference

class CVisualFrameImpl : public CImageFrame
CVisualFrameImpl IclExtJpegApi.lib
Since
3.2

Inherits from

Public Member Functions
~CVisualFrameImpl ()
const RChunk & DataChunkL ()
TInt DataContainer ()
TInt DataOffset ()
TPtr8 DataPtrL ()
TSize Dimension ()
TInt FrameFormat2 ()
const CVisualFrame::TFrameLayout & FrameLayout2 ()
CImageFrame * GetImageFrameL ()
TInt MaxSize ()
CVisualFrameImpl * NewL ( TDes8 &, const TSize &, TInt )
CVisualFrameImpl * NewL ( RChunk &, TInt , TInt , TInt , const TSize &, TInt )
CVisualFrameImpl * NewL ( TDes8 &, const TSize &, TInt , const CVisualFrame::TFrameLayout &)
CVisualFrameImpl * NewL ( RChunk &, TInt , TInt , const TSize &, TInt , const CVisualFrame::TFrameLayout &)
CVisualFrameImpl * NewL (const CImageFrame *)
void SetSizeL ( TInt )
TInt Size ()
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()
CImageFrame::CImageFrame()
CImageFrame::ConstructL(const RChunk *,TInt,TInt)
CImageFrame::ConstructL(const RChunk *,TInt,TInt,const TSize &,const TFrameFormatBase &,const TFrameLayoutBase &)
CImageFrame::ConstructL(const TDes8 &,TInt)
CImageFrame::ConstructL(const TDes8 &,TInt,const TSize &,const TFrameFormatBase &,const TFrameLayoutBase &)
CImageFrame::Data()
CImageFrame::Data()const
CImageFrame::DataChunk()
CImageFrame::FrameFormat()const
CImageFrame::FrameLayout()const
CImageFrame::FrameSizeInPixels()const
CImageFrame::IsChunk()const
CImageFrame::MaxBufferSize()const
CImageFrame::NewL(const RChunk *,TInt,TInt)
CImageFrame::NewL(const RChunk *,TInt,TInt,const TSize &,const TFrameFormatBase &,const TFrameLayoutBase &)
CImageFrame::NewL(const TDes8 &,TInt)
CImageFrame::NewL(const TDes8 &,TInt,const TSize &,const TFrameFormatBase &,const TFrameLayoutBase &)
CImageFrame::SetFrameFormatL(const TFrameFormatBase &)
CImageFrame::SetFrameLayoutL(const TFrameLayoutBase &)
CImageFrame::SetFrameSizeInPixels(const TSize &)
CImageFrame::~CImageFrame()
Private Attributes
CVisualFrame::TFrameLayout iFrameLayout2
TInt iSize

Constructor & Destructor Documentation

~CVisualFrameImpl()

~CVisualFrameImpl ( ) [virtual]

Destructor.

Member Functions Documentation

DataChunkL()

const RChunk & DataChunkL ( ) const
Returns a constant reference to the chunk containing the image data, if exists.
Since
3.2

DataContainer()

TInt DataContainer ( ) const
Returns the storage type of the image data.
Since
3.2

DataOffset()

TInt DataOffset ( ) const [virtual]
Returns the offset of the image data for non-planar, single-component or compressed images.
Since
3.2

DataPtrL()

TPtr8 DataPtrL ( ) const
Returns a descriptor pointer to the image data location, if exists
Since
3.2

Dimension()

TSize Dimension ( ) const
Returns the dimensions of the image.
Since
3.2

FrameFormat2()

TInt FrameFormat2 ( ) const
Return the image data format.
Since
3.2

FrameLayout2()

const CVisualFrame::TFrameLayout & FrameLayout2 ( ) const
Returns the layout of the image data for planar compressed images.
Since
3.2

GetImageFrameL()

CImageFrame * GetImageFrameL ( )
Get image frame
Since
3.2

MaxSize()

TInt MaxSize ( ) const
Returns the maximum size of the memory space reserved for image data
Since
3.2

NewL(TDes8 &, const TSize &, TInt)

CVisualFrameImpl * NewL ( TDes8 & aBuffer,
const TSize & aDimension,
TInt aFrameFormat
) [static]
Two-phased constructor.
Since
3.2

Parameters

TDes8 & aBuffer A descriptor reference to buffer containing the image data.
const TSize & aDimension The dimensions of the corresponding image data.
TInt aFrameFormat The frame format of the corresponding image data.

NewL(RChunk &, TInt, TInt, TInt, const TSize &, TInt)

CVisualFrameImpl * NewL ( RChunk & aChunk,
TInt aSize,
TInt aMaxSize,
TInt aDataOffset,
const TSize & aDimension,
TInt aFrameFormat
) [static]

Two-phased constructor.

Parameters

RChunk & aChunk An RChunk reference to buffer containing the image data.
TInt aSize The amount of image data in bytes.
TInt aMaxSize
TInt aDataOffset The offset value specifying the location of the image data in the chunk.
const TSize & aDimension The dimensions of the corresponding image data.
TInt aFrameFormat The frame format of the corresponding image data.

NewL(TDes8 &, const TSize &, TInt, const CVisualFrame::TFrameLayout &)

CVisualFrameImpl * NewL ( TDes8 & aBuffer,
const TSize & aDimension,
TInt aFrameFormat,
const CVisualFrame::TFrameLayout & aFrameLayout
) [static]

Two-phased constructor.

Parameters

TDes8 & aBuffer A descriptor reference to buffer containing the image data.
const TSize & aDimension The dimensions of the corresponding image data.
TInt aFrameFormat
const CVisualFrame::TFrameLayout & aFrameLayout The layout of the image color components.

NewL(RChunk &, TInt, TInt, const TSize &, TInt, const CVisualFrame::TFrameLayout &)

CVisualFrameImpl * NewL ( RChunk & aChunk,
TInt aSize,
TInt aMaxSize,
const TSize & aDimension,
TInt aFrameFormat,
const CVisualFrame::TFrameLayout & aFrameLayout
) [static]

Two-phased constructor.

Parameters

RChunk & aChunk An RChunk reference to buffer containing the image data.
TInt aSize The amount of image data in bytes.
TInt aMaxSize The maximum size of the memory reserved in the chunk for the image data.
const TSize & aDimension The dimensions of the corresponding image data.
TInt aFrameFormat The frame format of the corresponding image data.
const CVisualFrame::TFrameLayout & aFrameLayout The layout of the image color components. TFrameLayout contains the scan line lengths and offsets for each component in planar YUV case

NewL(const CImageFrame *)

CVisualFrameImpl * NewL ( const CImageFrame * aImageFrame ) [static]

Parameters

const CImageFrame * aImageFrame

SetSizeL(TInt)

void SetSizeL ( TInt aSize )
Sets the amount of image data to the given value. Should be called when the image data amount is modified explicitly.
Since
3.2

Parameters

TInt aSize

Size()

TInt Size ( ) const
Returns the amount of stored image data in bytes.
Since
3.2

Member Data Documentation

CVisualFrame::TFrameLayout iFrameLayout2

CVisualFrame::TFrameLayout iFrameLayout2 [private]

TInt iSize

TInt iSize [private]