Created by the British Broadcasting Corporation.
#include <pic_io.h>
Public Member Functions | |
| StreamPicInput () | |
| Default Constructor. More... | |
| StreamPicInput (std::istream *ip_pic_ptr, const SourceParams &sparams) | |
| Constructor. More... | |
| virtual | ~StreamPicInput () |
| Destructor. More... | |
| virtual void | Skip (const int n)=0 |
| Skip n frames of input. More... | |
| virtual bool | ReadNextPicture (Picture &mypic)=0 |
| Read the next picture frame/field from the file. More... | |
| SourceParams & | GetSourceParams () const |
| Get the source parameters. More... | |
| bool | End () const |
| Returns true if we're at the end of the input, false otherwise. More... | |
Protected Attributes | |
| SourceParams | m_sparams |
| Source parameters. More... | |
| std::istream * | m_ip_pic_ptr |
| Input stream. More... | |
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::StreamFrameInput, and dirac::StreamFieldInput.
|
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.