Created by the British Broadcasting Corporation.
#include <pic_io.h>
Public Member Functions | |
StreamPicInput () | |
Default Constructor. | |
StreamPicInput (std::istream *ip_pic_ptr, const SourceParams &sparams) | |
Constructor. | |
virtual | ~StreamPicInput () |
Destructor. | |
virtual void | Skip (const int n)=0 |
Skip n frames of input. | |
virtual bool | ReadNextPicture (Picture &mypic)=0 |
Read the next picture frame/field from the file. | |
SourceParams & | GetSourceParams () const |
Get the source parameters. | |
bool | End () const |
Returns true if we're at the end of the input, false otherwise. |
Protected Attributes | |
SourceParams | m_sparams |
Source parameters. | |
std::istream * | m_ip_pic_ptr |
Input stream. |
Abstract Class for reading picture data from a stream.
dirac::StreamPicInput::StreamPicInput | ( | ) |
dirac::StreamPicInput::StreamPicInput | ( | std::istream * | ip_pic_ptr, |
const SourceParams & | sparams | ||
) |
Constructor, takes
ip_pic_ptr | input stream to read from |
sparams | Source parameters |
|
virtual |
bool dirac::StreamPicInput::End | ( | ) | const |
|
inline |
References m_sparams.
Referenced by dirac::MemoryStreamInput::GetSourceParams(), and dirac::FileStreamInput::GetSourceParams().
|
pure virtual |
Implemented in dirac::StreamFieldInput, and dirac::StreamFrameInput.
|
pure virtual |
Implemented in dirac::StreamFieldInput, and dirac::StreamFrameInput.
|
protected |
|
mutableprotected |
Referenced by GetSourceParams().
© 2004 British Broadcasting Corporation.
Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's
excellent Doxygen tool.