#include <YUVGOP.hpp>
Inheritance diagram for YUVGOP:
Public Methods | |
YUVGOP (Stream *s, unsigned int pat_i) | |
YUVGOP (Stream *s, unsigned int mod_i, unsigned int pat_i) | |
~YUVGOP () | |
YUVGOP * | getOrgGOP () |
void | setOrgGOP (YUVGOP *org) |
bool | hasOriginal () |
QString | getFramesInGOP () |
QPtrList< YUVGOP > * | expand (YUVGOP *yg) |
long | getByteSize () |
double | computePSNR (YUVGOP *p) |
double | getPSNR () |
void | setCompressedByteSize (uint size) |
uint | getCompressedByteSize () |
void | setCompressedBaselayerSize (uint size) |
uint | getCompressedBaselayerSize () |
void | setPSNRmp (double value) |
Private Attributes | |
double | psnr |
uint | compressedByteSize |
uint | compressedBaselayerSize |
YUVGOP * | orgGOP |
FrameVector | fv |
YUVGOPVector | yuvGOPVector |
bool | modsAdded |
bool | hasOrg |
Definition at line 17 of file YUVGOP.hpp.
|
Constructs a new master YUVGOP.
Definition at line 6 of file YUVGOP.cpp. |
|
Constructs a new modification YUVGOP.
Definition at line 12 of file YUVGOP.cpp. |
|
Kills a YUVGOP. Definition at line 19 of file YUVGOP.cpp. |
|
Computes the PSNR value of this YUVGOP and another. NOTE: ALL FRAME BUFFERS OF THE GOP HAS TO BE FILLED!
Definition at line 94 of file YUVGOP.cpp. References YUVFrame::computePSNR(), GOP::getFrame(), GOP::getFrameCount(), and psnr. Referenced by PatGen::init(). |
|
Definition at line 121 of file YUVGOP.cpp. |
|
Returns the byte size of this pattern.
Definition at line 68 of file YUVGOP.hpp. References GOP::byteSize. |
|
Returns the compressed size of the base layer of this YUVGOP. Definition at line 47 of file YUVGOP.cpp. References compressedBaselayerSize. Referenced by PatGen::init(). |
|
Returns the compressed byte size of this YUVGOP. Definition at line 37 of file YUVGOP.cpp. References compressedByteSize. Referenced by YUVGOPVector::compareItems(), and PatGen::init(). |
|
Returns a QString which contains a textual represenatation of this YUVGOP. Definition at line 52 of file YUVGOP.cpp. References B_VOP, GOP::frameList, FrameType, Frame::getType(), I_VOP, and P_VOP. Referenced by main(). |
|
Returns the original YUVGOP. Definition at line 22 of file YUVGOP.cpp. References orgGOP. |
|
Definition at line 81 of file YUVGOP.hpp. References psnr. Referenced by YUVGOPVector::compareItems(), and main(). |
|
Returns true, if this YUVGOP also has an original GOP, otherwise false. Definition at line 27 of file YUVGOP.cpp. References hasOrg. |
|
Sets the compressed size of the base layer of this YUVGOP. Definition at line 42 of file YUVGOP.cpp. References compressedBaselayerSize. Referenced by PatGen::init(). |
|
Sets the compressed byte size of this YUVGOP. Definition at line 32 of file YUVGOP.cpp. References compressedByteSize. Referenced by PatGen::init(). |
|
Sets the YUVGOP org as original GOP. Definition at line 82 of file YUVGOP.cpp. References hasOrg, and orgGOP. Referenced by PatGen::init(). |
|
Sets the PSNR of the master pattern. Definition at line 88 of file YUVGOP.cpp. References GOP::isMaster(), and psnr. Referenced by YUVStream::addNextGOP(), and PatGen::init(). |
|
Definition at line 113 of file YUVGOP.hpp. Referenced by getCompressedBaselayerSize(), and setCompressedBaselayerSize(). |
|
Definition at line 112 of file YUVGOP.hpp. Referenced by getCompressedByteSize(), and setCompressedByteSize(). |
|
Definition at line 115 of file YUVGOP.hpp. |
|
Definition at line 118 of file YUVGOP.hpp. Referenced by hasOriginal(), setOrgGOP(), and YUVGOP(). |
|
Definition at line 117 of file YUVGOP.hpp. Referenced by YUVGOP(). |
|
Definition at line 114 of file YUVGOP.hpp. |
|
Definition at line 111 of file YUVGOP.hpp. Referenced by computePSNR(), getPSNR(), setPSNRmp(), and YUVGOP(). |
|
Definition at line 116 of file YUVGOP.hpp. |