- Main Page
- Namespaces
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

# dirac::StreamPicInput Class Reference

Picture input class. More...

`#include <pic_io.h>`

Inheritance diagram for dirac::StreamPicInput:

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 (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:

- C:/guliverkli/src/filters/parser/diracsplitter/libdirac/libdirac_common/pic_io.h
- C:/guliverkli/src/filters/parser/diracsplitter/libdirac/libdirac_common/pic_io.cpp