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

Public Methods | |
| int | getWidth () |
| int | getHeight () |
| unsigned int | getMasterGOPCount () |
| unsigned int | getFrameCount () |
| GOP * | getMasterGOP (unsigned int patNo) |
| int | fillBuffer (Frame *f) |
| int | freeBuffer (Frame *f) |
| int | fillBuffer (GOP *p) |
| int | freeBuffer (GOP *p) |
| Frame * | getFrame (uint i) |
| QString | getFileName () |
| virtual | ~Stream () |
| virtual GOP * | addNextGOP (uint numframes)=0 |
| virtual long | getFileSize ()=0 |
Protected Methods | |
| Stream (const QString &fName, bool preRead=true) | |
| Implementation of concret methods of the abstract class Stream. | |
Protected Attributes | |
| QFile | file |
| QPtrList< GOP > | gopList |
| int | width |
| int | height |
| unsigned int | noFrames |
| long | fileSize |
|
|
Definition at line 20 of file Stream.cpp. |
|
||||||||||||
|
Implementation of concret methods of the abstract class Stream.
Definition at line 12 of file Stream.cpp. |
|
|
|
|
|
Fills the buffers of all frames in a GOP.
Definition at line 89 of file Stream.cpp. References ERR_OK, fillBuffer(), GOP::getFrame(), GOP::getFrameCount(), and Frame::inMem(). |
|
|
Fills the buffer of a frame.
Definition at line 55 of file Stream.cpp. References ERR, ERR_OK, file, Frame::getBuffer(), Frame::getByteSize(), Frame::getFileOffset(), Frame::inMem(), and Frame::resizeBuffer(). Referenced by fillBuffer(), Frame::fillBuffer(), and PatGen::init(). |
|
|
Empties the buffers of all frames in a GOP.
Definition at line 106 of file Stream.cpp. References ERR_OK, GOP::getFrame(), GOP::getFrameCount(), Frame::inMem(), and Frame::resizeBuffer(). |
|
|
Empties the buffer of a frame.
Definition at line 123 of file Stream.cpp. References ERR, ERR_OK, Frame::inMem(), and Frame::resizeBuffer(). Referenced by Frame::freeBuffer(), and PatGen::init(). |
|
|
Definition at line 153 of file Stream.cpp. References file. |
|
|
|
|
|
Returns a frame in the stream.
Definition at line 28 of file Stream.cpp. References GOP::getFrame(), GOP::getFrameCount(), getMasterGOP(), and getMasterGOPCount(). |
|
|
Definition at line 148 of file Stream.cpp. References noFrames. |
|
|
Definition at line 140 of file Stream.cpp. References height. Referenced by YUVFrame::computePSNRy(). |
|
|
Returns a GOP in the stream.
Definition at line 23 of file Stream.cpp. References gopList. |
|
|
Definition at line 144 of file Stream.cpp. References gopList. |
|
|
Definition at line 136 of file Stream.cpp. References width. Referenced by YUVFrame::computePSNRy(). |
|
|
Definition at line 86 of file Stream.hpp. Referenced by YUVStream::addNextGOP(), MPGStream::addNextGOP(), fillBuffer(), MPGStream::fillHeaderBuffer(), getFileName(), MPGStream::getNextFrame(), MPGStream::MPGStream(), MPGStream::parseHeader(), Stream(), YUVStream::YUVStream(), and MPGStream::~MPGStream(). |
|
|
Definition at line 91 of file Stream.hpp. Referenced by YUVStream::addNextGOP(), MPGStream::getAvgFrameSize(), MPGStream::getAvgGOPSize(), YUVStream::getFileSize(), MPGStream::getFileSize(), MPGStream::getNextFrame(), MPGStream::MPGStream(), and YUVStream::YUVStream(). |
|
|
Definition at line 87 of file Stream.hpp. Referenced by YUVStream::addNextGOP(), MPGStream::addNextGOP(), MPGStream::getAvgGOPSize(), getMasterGOP(), getMasterGOPCount(), MPGStream::MPGStream(), Stream(), and YUVStream::YUVStream(). |
|
|
Definition at line 89 of file Stream.hpp. Referenced by getHeight(), Stream(), and YUVStream::YUVStream(). |
|
|
Definition at line 90 of file Stream.hpp. Referenced by YUVStream::addNextGOP(), MPGStream::addNextGOP(), MPGStream::getAvgFrameSize(), getFrameCount(), MPGStream::getNextFrame(), MPGStream::MPGStream(), and YUVStream::YUVStream(). |
|
|
Definition at line 88 of file Stream.hpp. Referenced by getWidth(), Stream(), and YUVStream::YUVStream(). |
1.2.17