#include <pic_io.h>
Inheritance diagram for dirac::StreamPicInput:
Public Member Functions | |
StreamPicInput () | |
Default Constructor. | |
StreamPicInput (std::istream *ip_pic_ptr, const SeqParams &sparams) | |
Constructor. | |
virtual | ~StreamPicInput () |
Destructor. | |
virtual void | Skip (const int n)=0 |
Skip n frames of input. | |
void | SetPadding (const int xpd, const int ypd) |
Set padding values to take into account block and transform sizes. | |
virtual bool | ReadNextFrame (Frame &myframe) |
Read the next frame from the file. | |
const SeqParams & | GetSeqParams () const |
Get the sequence parameters (got from the picture header). | |
bool | End () const |
Returns true if we're at the end of the input, false otherwise. | |
Protected Member Functions | |
virtual bool | ReadComponent (PicArray &pic_data, const CompSort &cs) |
Read a component from the file. | |
Protected Attributes | |
SeqParams | m_sparams |
Sequence parameters. | |
std::istream * | m_ip_pic_ptr |
Input stream. | |
int | m_xpad |
padding values | |
int | m_ypad |
Abstract Class for reading picture data from a stream.
Definition at line 251 of file pic_io.h.
|
Constructor. Constructor, takes
Definition at line 245 of file pic_io.cpp. |