- Main Page
- Namespaces
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

# dirac::MemoryStreamInput Class Reference

`#include <pic_io.h>`

Inheritance diagram for dirac::MemoryStreamInput:

List of all members.

## Public Member Functions
| MemoryStreamInput ()
| Default constructor.
| ~MemoryStreamInput ()
| Destructor.
void | SetSequenceParams (SeqParams &sparams)
| Set the seqence parameters.
void | SetMembufReference (unsigned char *buf, int buf_size)
| Set Memory buffer.
bool | End () const
| Returns true if we're at the end of the input, false otherwise.
virtual void | Skip (const int n)
| Skip n frame of input. Unimplemented to this class.
## Protected Member Functions
| MemoryStreamInput (const MemoryStreamInput &)
| Body-less copy constructor.
MemoryStreamInput & | operator= (const MemoryStreamInput &)
| Body-less assignment operator.
## Protected Attributes
InputMemoryBuffer | m_membuf
| Input stream buffer.
## Classes
class | InputMemoryBuffer
| Class that defines the Input Stream Memory Buffer. More...

## Detailed Description

Class for reading picture data from memory

Definition at line 301 of file pic_io.h.

## Member Function Documentation

void MemoryStreamInput::SetMembufReference | ( | unsigned char * | buf,
|  | int | buf_size
| ) |

  | Set Memory buffer. Set the input memory buffer variables Parameters:
  | buf | Input Buffer to read data from
  | buf_size | Input buffer size
Definition at line 358 of file pic_io.cpp. References m_membuf, and dirac::MemoryStreamInput::InputMemoryBuffer::SetMembufReference(). Referenced by DiracEncoder::LoadNextFrame().

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