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. | |
~MemoryStreamInput () | |
Destructor. | |
SourceParams & | GetSourceParams () |
void | SetMembufReference (unsigned char *buf, int buf_size) |
Set Memory buffer. | |
StreamPicInput * | GetStream () |
Return the input stream. |
Protected Member Functions | |
MemoryStreamInput (const MemoryStreamInput &) | |
Body-less copy constructor. | |
MemoryStreamInput & | operator= (const MemoryStreamInput &) |
Body-less assignment operator. |
Private Attributes | |
InputMemoryBuffer | m_membuf |
Input stream buffer. | |
StreamPicInput * | m_inp_str |
Input Stream Object. | |
std::istream * | m_ip_pic_ptr |
Input stream. |
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.