|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
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
|