Dirac - A Video Codec
Created by the British Broadcasting Corporation.
dirac::StreamPicInput Class Reference
Picture input class.
More...
#include <pic_io.h>
Inheritance diagram for dirac::StreamPicInput:
[legend]Collaboration diagram for dirac::StreamPicInput:
[legend]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 SeqParams & GetSeqParams () const
- Get the sequence parameters.
- bool End () const
- Returns true if we're at the end of the input, false otherwise.
Protected Member Functions
Protected Attributes
Detailed Description
Abstract Class for reading picture data from a stream.
Constructor & Destructor Documentation
dirac::StreamPicInput::StreamPicInput |
( |
|
) |
|
|
dirac::StreamPicInput::StreamPicInput |
( |
std::istream * |
ip_pic_ptr, |
|
|
const SeqParams & |
sparams |
|
) |
|
|
|
Constructor, takes - Parameters:
-
| ip_pic_ptr | input stream to read from |
| sparams | Sequence parameters |
|
virtual dirac::StreamPicInput::~StreamPicInput |
( |
|
) |
[virtual] |
|
Member Function Documentation
bool dirac::StreamPicInput::End |
( |
|
) |
const |
|
const SeqParams& dirac::StreamPicInput::GetSeqParams |
( |
|
) |
const [inline] |
|
virtual bool dirac::StreamPicInput::ReadComponent |
( |
PicArray & |
pic_data, |
|
|
const CompSort & |
cs |
|
) |
[protected, virtual] |
|
virtual bool dirac::StreamPicInput::ReadNextFrame |
( |
Frame & |
myframe |
) |
[virtual] |
|
void dirac::StreamPicInput::SetPadding |
( |
const int |
xpd, |
|
|
const int |
ypd |
|
) |
|
|
virtual void dirac::StreamPicInput::Skip |
( |
const int |
n |
) |
[pure virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following file:
© 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.