#include <GOP.hpp>
Inheritance diagram for GOP:

Public Methods | |
| uint | getGOPNo () |
| uint | calcByteSize () |
| bool | isMaster () |
| Stream * | getStream () |
| void | addFrame (Frame *f) |
| uint | getFrameCount () |
| Frame * | getFrame (uint frNo) |
| Frame * | getFrameInStream (uint frNo) |
| virtual | ~GOP () |
| uint | smallestByteSize () |
Protected Methods | |
| GOP (Stream *s, uint pat_i) | |
| Implementation of concrete methods of the abstract class GOP. | |
| GOP (Stream *s, uint mod_i, uint pat_i) | |
Protected Attributes | |
| QPtrList< Frame > | frameList |
| QPtrList< GOP > | modFlatList |
| QPtrList< GOP > | bestModList |
| QPtrList< GOP > | fathers |
| bool | isSubopt |
| QPtrList< GOP > | worstPSNRModList |
| QPtrList< GOP > | bestPSNRModList |
| QPtrList< GOP > | bestFittingModList |
| QPtrList< GOP > | randomModList |
| int | modTreeLevel |
| int | slice |
| QPtrList< GOP > | modList |
| uint | patNo |
| uint | patFrameOffset |
| uint | modNo |
| uint | modBits |
| QString | description |
| bool | master |
| uint | byteSize |
| uint | refCount |
| uint | timestamp |
| Stream * | stream |
| FrameVector | frameVector |
|
|
|
|
||||||||||||
|
Implementation of concrete methods of the abstract class GOP. Constructs a master GOP/pattern.
|
|
||||||||||||||||
|
Constructs a GOP/pattern.
Definition at line 22 of file GOP.cpp. References isSubopt, master, modNo, patNo, refCount, and stream. |
|
|
Adds a frame to this GOP.
Definition at line 35 of file GOP.cpp. References frameList. Referenced by YUVStream::addNextGOP(), and MPGStream::addNextGOP(). |
|
|
Returns the calculated size of this GOP in bytes. Definition at line 48 of file GOP.cpp. References byteSize, Frame::getByteSize(), getFrame(), and getFrameCount(). Referenced by YUVStream::addNextGOP(), and MPGStream::addNextGOP(). |
|
|
Returns the frame with number frNo of this GOP. Definition at line 43 of file GOP.cpp. References frameList. Referenced by MPGStream::addNextGOP(), calcByteSize(), YUVGOP::computePSNR(), Stream::fillBuffer(), Stream::freeBuffer(), Stream::getFrame(), and PatGen::init(). |
|
|
Returns the number of frames in this GOP. Definition at line 39 of file GOP.cpp. References frameList. Referenced by YUVStream::addNextGOP(), MPGStream::addNextGOP(), calcByteSize(), YUVGOP::computePSNR(), Stream::fillBuffer(), Stream::freeBuffer(), Stream::getFrame(), getFrameInStream(), and PatGen::init(). |
|
|
Definition at line 62 of file GOP.cpp. References frameList, getFrameCount(), getGOPNo(), Frame::getNoInStream(), and nl. |
|
|
Returns the GOPs position in the stream, i.e., the GOP number. Definition at line 77 of file GOP.cpp. References patNo. Referenced by getFrameInStream(), and PatGen::init(). |
|
|
Returns the stream, this GOP belongs to. Definition at line 87 of file GOP.cpp. References stream. Referenced by YUVFrame::computePSNRy(), Frame::fillBuffer(), Frame::freeBuffer(), and PatGen::init(). |
|
|
Returns true, if this GOP is the master GOP otherwise false. Definition at line 82 of file GOP.cpp. References master. Referenced by YUVGOP::setPSNRmp(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 109 of file GOP.hpp. Referenced by calcByteSize(), YUVGOP::getByteSize(), MPGGOP::getByteSize(), and MPGGOP::setByteSize(). |
|
|
|
|
|
|
|
|
Definition at line 84 of file GOP.hpp. Referenced by addFrame(), getFrame(), getFrameCount(), getFrameInStream(), and YUVGOP::getFramesInGOP(). |
|
|
|
|
|
Definition at line 89 of file GOP.hpp. Referenced by GOP(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 105 of file GOP.hpp. Referenced by GOP(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 110 of file GOP.hpp. Referenced by GOP(). |
|
|
|
|
|
|
|
|
|
|
|
|
1.2.17