dirac::StreamPicInput Class Reference

Picture input class. More...

#include <pic_io.h>

Inheritance diagram for dirac::StreamPicInput:

dirac::FileStreamInput dirac::MemoryStreamInput List of all members.

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 SeqParamsGetSeqParams () 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

Detailed Description

Picture input class.

Abstract Class for reading picture data from a stream.

Definition at line 251 of file pic_io.h.


Constructor & Destructor Documentation

StreamPicInput::StreamPicInput std::istream *  ip_pic_ptr,
const SeqParams sparams
 

Constructor.

Constructor, takes

Parameters:
ip_pic_ptr input stream to read from
sparams Sequence parameters

Definition at line 245 of file pic_io.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Dec 13 14:49:22 2005 for guliverkli by  doxygen 1.4.5