#include <iostream>
#include <stdlib.h>
#include <math.h>
#include <qstring.h>
#include <qcstring.h>
#include <qfile.h>
#include <qptrlist.h>
Go to the source code of this file.
Namespaces | |
namespace | std |
Defines | |
#define | nl "\n" |
#define | nl1 "\n" |
#define | nl2 "\n\n" |
#define | nl3 "\n\n" |
#define | tab "\t" |
#define | MSG_BUFFER_SIZE 65536 |
#define | MAX_IOD_SIZE 1024 |
#define | ERR_OK 1 |
#define | ERR 0 |
#define | ERR_FILE -500 |
#define | ERR_PSNR -600 |
#define | MYDEBUG 3 |
#define | DEBUG_FILE "PatGen.cpp" |
#define | dmsg(L, X) ( (((strcmp("*", DEBUG_FILE) == 0) || (strcmp(__FILE__, DEBUG_FILE) == 0)) && MYDEBUG >= L) ? (cout << __FILE__ << ":" << __LINE__ << ": " << X << nl) : (cout << "")) |
#define | wmsg(L, X) ( (((strcmp("*", DEBUG_FILE) == 0) || (strcmp(__FILE__, DEBUG_FILE) == 0)) && MYDEBUG >= L) ? (cerr << __FILE__ << ":" << __LINE__ << ": WARNING: " << X << nl) : (cerr << "")) |
#define | emsg(X) ( cerr << __FILE__ << ":" << __LINE__ << ": ERROR: " << X << nl) |
#define | fmsg(X) { cerr << __FILE__ << ":" << __LINE__ << ": FATAL ERROR: " << X << nl << "Program aborted!\n" ; exit(-1); } |
Enumerations | |
enum | FrameType { I_VOP, P_VOP, B_VOP, NN_VOP } |
Variables | |
typedef | VOP_TYPE |
|
Defines a specific file for dmsg, wmsg, and emsg. Use * for all files. Definition at line 26 of file global.hpp. |
|
Prints a debug message.
Definition at line 32 of file global.hpp. Referenced by PatGen::init(). |
|
Definition at line 34 of file global.hpp. Referenced by PatGen::init(). |
|
Definition at line 15 of file global.hpp. Referenced by Stream::fillBuffer(), and Stream::freeBuffer(). |
|
Definition at line 16 of file global.hpp. Referenced by MPGStream::MPGStream(). |
|
Definition at line 14 of file global.hpp. Referenced by Stream::fillBuffer(), and Stream::freeBuffer(). |
|
Definition at line 18 of file global.hpp. Referenced by YUVFrame::computePSNR(), and YUVFrame::computePSNRy(). |
|
Definition at line 35 of file global.hpp. Referenced by PatGen::init(). |
|
Definition at line 11 of file global.hpp. |
|
Definition at line 10 of file global.hpp. |
|
Definition at line 20 of file global.hpp. |
|
Definition at line 5 of file global.hpp. Referenced by MPGStream::addNextGOP(), YUVFrame::computePSNRy(), GOP::getFrameInStream(), main(), RenderingEngine::RenderingEngine(), and YUVStream::YUVStream(). |
|
Definition at line 6 of file global.hpp. |
|
Definition at line 7 of file global.hpp. |
|
Definition at line 8 of file global.hpp. |
|
Definition at line 9 of file global.hpp. Referenced by main(). |
|
Definition at line 33 of file global.hpp. Referenced by MPGStream::getNextFrame(). |
|
Definition at line 38 of file global.hpp. Referenced by Frame::Frame(), YUVGOP::getFramesInGOP(), MPGStream::getNextFrame(), Frame::getType(), PatGen::init(), MPGFrame::MPGFrame(), Frame::setType(), and YUVFrame::YUVFrame(). |
|
|