Created by the British Broadcasting Corporation.
#include <pic_io.h>
Classes | |
| class | InputMemoryBuffer |
| Class that defines the Input Stream Memory Buffer. More... | |
Public Member Functions | |
| MemoryStreamInput (SourceParams &sparams, bool field_input) | |
| Constructor. More... | |
| ~MemoryStreamInput () | |
| Destructor. More... | |
| SourceParams & | GetSourceParams () |
| void | SetMembufReference (unsigned char *buf, int buf_size) |
| Set Memory buffer. More... | |
| StreamPicInput * | GetStream () |
| Return the input stream. More... | |
Protected Member Functions | |
| MemoryStreamInput (const MemoryStreamInput &) | |
| Body-less copy constructor. More... | |
| MemoryStreamInput & | operator= (const MemoryStreamInput &) |
| Body-less assignment operator. More... | |
Private Attributes | |
| InputMemoryBuffer | m_membuf |
| Input stream buffer. More... | |
| StreamPicInput * | m_inp_str |
| Input Stream Object. More... | |
| std::istream * | m_ip_pic_ptr |
| Input stream. More... | |
Class for reading picture data from memory
| dirac::MemoryStreamInput::MemoryStreamInput | ( | SourceParams & | sparams, |
| bool | field_input | ||
| ) |
Create a MemoryStreamInput object
| sparams | Source parameters |
| field_input | Treat input as fields, not frames |
| dirac::MemoryStreamInput::~MemoryStreamInput | ( | ) |
|
protected |
|
inline |
References dirac::StreamPicInput::GetSourceParams(), and m_inp_str.
|
inline |
References m_inp_str.
|
protected |
| void dirac::MemoryStreamInput::SetMembufReference | ( | unsigned char * | buf, |
| int | buf_size | ||
| ) |
Set the input memory buffer variables
| buf | Input Buffer to read data from |
| buf_size | Input buffer size |
|
private |
Referenced by GetSourceParams(), and GetStream().
|
private |
|
private |
© 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.