Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
DPImageRGBBaseBodyC::DPImageRGBBaseBodyC(const Index2dC &)
DPImageRGBBaseBodyC::SetupForVariant(const StringC &)
DPImageRGBBaseBodyC::SetupForVariant(const Index2dC &)
DPImageRGBBaseBodyC::CalcOffset(UIntT) const
DPImageRGBBaseBodyC::CalcOffset(IntT) const
DPImageRGBBaseBodyC::WriteHdr(StringC)
DPImageRGBBaseBodyC::ReadHdr(StringC &)
DPImageRGBBaseBodyC::SetSequenceSize(UIntT)
DPImageRGBBaseBodyC::SeqSize(void) const
DPImageRGBBaseBodyC::is_odd(IndexT)
DPImageRGBBaseBodyC
 
Basic information about a raw rgb file
 
include "amma/Image/ImgIOrgb.hh"
User Level:Default
Library:VidIO
Example:exImgSeq.cc
Section:Image.Image IO
In Scope:std

Derived Classes:

Variables:
ImageRectangleC rect;
Size of RGB variant. Origin 0,0

UIntT frameSize;
Size of one frame in bytes.

UIntT frameNo;
Current frameno.

UIntT seqSize;
Number of frames in sequence, ((UIntT) -1) if unknown

UIntT blockSize;
Size of blocks.

UIntT padSize;
Pad size..

BooleanT rawMode;
Raw IO mode ?

BooleanT doneHdr;
Written header yet ?

int fd;
File descriptor.

Methods:
DPImageRGBBaseBodyC(const Index2dC & size = Index2dC(576,720))
Constructor.
This constructs with the basic yuv format.

BooleanT SetupForVariant(const StringC & suffix)
Setup for cif variant.
str should be one of : sqcif,qcif,cif,4cif,16cif

BooleanT SetupForVariant(const Index2dC & size)
Setup for cif variant.
Where size in the size of the Y image.

UIntT CalcOffset(UIntT frameNo) const
Calculate the offset of a frame.

IntT CalcOffset(IntT frameNo) const
Calculate the offset of a frame.

BooleanT WriteHdr(StringC type)
Write header block.

BooleanT ReadHdr(StringC & type)
Read header block.

void SetSequenceSize(UIntT val)
Set the sequence size.

UIntT SeqSize() const
Get the sequence size.

BooleanT is_odd(IndexT x)
Is an index odd ?


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001