Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PatGen Class Reference

#include <PatGen.hpp>

List of all members.

Public Methods

 PatGen (const QString &yuvfname, const QString &mpgfname, int x, int y, uint fpp=30)
 PatGen (const QString &yuvfname, const QString &orgfname, const QString &mpgfname, int x, int y, uint fpp=30)
 PatGen (const QString &name)
 ~PatGen ()
void init (const QString &yuvfname, const QString &yuvOrigfname, const QString &mpgfname, int x, int y, uint fpp=30)
int getWidth ()
int getHeight ()
YUVStreamgetYUVStream ()
YUVStreamgetOrgStream ()
MPGStreamgetMPGStream ()

Private Attributes

YUVStreamyuv
YUVStreamorg
MPGStreammpg
int width
int height
uint framesPerGOP


Constructor & Destructor Documentation

PatGen::PatGen const QString &    yuvfname,
const QString &    mpgfname,
int    x,
int    y,
uint    fpp = 30
 

Parameters:
yuvfname  Name of the lossy YUV file
mpgfname  Name of the MPEG-4 elementary stream
x  X dimension of the video
y  Y dimension of the video
fpp  Number of frames per GOP

Definition at line 25 of file PatGen.cpp.

References init().

PatGen::PatGen const QString &    yuvfname,
const QString &    orgfname,
const QString &    mpgfname,
int    x,
int    y,
uint    fpp = 30
 

Parameters:
yuvfname  Name of the lossy YUV file
orgfname  Name of the lossless YUV file
mpgfname  Name of the MPEG-4 elementary stream
x  X dimension of the video
y  Y dimension of the video
fpp  Number of frames per GOP

Definition at line 31 of file PatGen.cpp.

References init().

PatGen::PatGen const QString &    name
 

No one needs this...

Definition at line 176 of file PatGen.cpp.

References height, init(), and width.

PatGen::~PatGen  
 

Definition at line 20 of file PatGen.cpp.

References mpg, and yuv.


Member Function Documentation

int PatGen::getHeight   [inline]
 

Returns :
Height of the videos

Definition at line 196 of file PatGen.cpp.

References height.

MPGStream * PatGen::getMPGStream  
 

Returns :
MPEG-4 elementary stream

Definition at line 202 of file PatGen.cpp.

References mpg.

YUVStream * PatGen::getOrgStream  
 

Returns :
Original Stream

Definition at line 200 of file PatGen.cpp.

References org.

int PatGen::getWidth   [inline]
 

Returns :
Width of the videos

Definition at line 194 of file PatGen.cpp.

References width.

YUVStream * PatGen::getYUVStream  
 

Returns :
YUVStream

Definition at line 198 of file PatGen.cpp.

References yuv.

Referenced by main().

void PatGen::init const QString &    yuvfname,
const QString &    yuvOrigfname,
const QString &    mpgfname,
int    x,
int    y,
uint    fpp = 30
 

Initialization of the whole stuff. Usually, no one has to call this method directly - the constructor does it for you.

Definition at line 38 of file PatGen.cpp.

References YUVStream::addNextGOP(), MPGStream::addNextGOP(), B_VOP, YUVGOP::computePSNR(), dmsg, emsg, Stream::fillBuffer(), fmsg, framesPerGOP, FrameType, Stream::freeBuffer(), MPGGOP::getByteSize(), Frame::getByteSize(), YUVGOP::getCompressedBaselayerSize(), YUVGOP::getCompressedByteSize(), YUVFrame::getCompressedByteSize(), GOP::getFrame(), GOP::getFrameCount(), GOP::getGOPNo(), YUVStream::getMaxCompressedBaselayerSize(), YUVStream::getMaxCompressedPatSize(), YUVStream::getMinCompressedBaselayerSize(), YUVStream::getMinCompressedPatSize(), Frame::getNoInDisplay(), Frame::getNoInStream(), GOP::getStream(), Frame::getType(), height, I_VOP, mpg, org, P_VOP, YUVGOP::setCompressedBaselayerSize(), YUVGOP::setCompressedByteSize(), YUVFrame::setCompressedByteSize(), YUVStream::setMaxCompressedBaselayerSize(), YUVStream::setMaxCompressedPatSize(), YUVStream::setMinCompressedBaselayerSize(), YUVStream::setMinCompressedPatSize(), YUVFrame::setMPGFrame(), Frame::setNoInStream(), YUVGOP::setOrgGOP(), Frame::setPriority(), YUVGOP::setPSNRmp(), Frame::setType(), MPGFrame::setYUVFrame(), width, and yuv.

Referenced by PatGen().


Member Data Documentation

uint PatGen::framesPerGOP [private]
 

Definition at line 101 of file PatGen.hpp.

Referenced by init().

int PatGen::height [private]
 

Definition at line 100 of file PatGen.hpp.

Referenced by getHeight(), init(), and PatGen().

MPGStream* PatGen::mpg [private]
 

Definition at line 98 of file PatGen.hpp.

Referenced by getMPGStream(), init(), and ~PatGen().

YUVStream* PatGen::org [private]
 

Definition at line 97 of file PatGen.hpp.

Referenced by getOrgStream(), and init().

int PatGen::width [private]
 

Definition at line 99 of file PatGen.hpp.

Referenced by getWidth(), init(), and PatGen().

YUVStream* PatGen::yuv [private]
 

Definition at line 96 of file PatGen.hpp.

Referenced by getYUVStream(), init(), and ~PatGen().


The documentation for this class was generated from the following files:
Generated on Wed Mar 19 11:57:44 2003 for qctva4lv by doxygen1.2.17