Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Images - Video - Formats - DPImageYUVBaseBodyC
 

  PUBLIC
DPImageYUVBaseBodyC::DPImageYUVBaseBodyC(const Index2dC &)
DPImageYUVBaseBodyC::SetupForVariant(const StringC &)
DPImageYUVBaseBodyC::SetupForVariant(const Index2dC &)
DPImageYUVBaseBodyC::CalcOffset(UIntT) const
DPImageYUVBaseBodyC::CalcOffset(IntT) const
DPImageYUVBaseBodyC::SetSequenceSize(UIntT)
DPImageYUVBaseBodyC::SeqSize(void) const
DPImageYUVBaseBodyC::is_odd(IndexC)

   DPImageYUVBaseBodyC   
 
Basic information about a cif file
 
include "Ravl/Image/ImgIOyuv.hh"
Created:08/04/99 
Source file:Ravl/Image/VideoIO/ImgIOyuv.hh
User Level:Develop
Library:RavlVideoIO
Example:exImgSeq.cc
In Scope:RavlImageN

Derived Classes: Variables:
ImageRectangleC rect;
Size of YUV 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

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

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

bool 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.

void SetSequenceSize(UIntT val)
Set the sequence size.

UIntT SeqSize() const
Get the sequence size.

static bool is_odd(IndexC x)
Is an index odd ?


Maintainer:Charles Galambos, Created: 08/04/99, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002