OSRTSTREAM Struct Reference
[Input/Output Data Stream Utility Functions]
#include <rtxStream.h>
Public Attributes | |
OSRTStreamReadProc | read |
OSRTStreamBlockingReadProc | blockingRead |
OSRTStreamWriteProc | write |
OSRTStreamFlushProc | flush |
OSRTStreamCloseProc | close |
OSRTStreamSkipProc | skip |
OSRTStreamMarkProc | mark |
OSRTStreamResetProc | reset |
OSRTStreamGetPosProc | getPos |
OSRTStreamSetPosProc | setPos |
void * | extra |
size_t | bufsize |
size_t | readAheadLimit |
size_t | bytesProcessed |
size_t | markedBytesProcessed |
size_t | ioBytes |
size_t | nextMarkOffset |
size_t | segsize |
OSUINT32 | id |
OSRTMEMBUF * | pCaptureBuf |
OSUINT16 | flags |
Detailed Description
The stream control block. A user may implement a customized stream by defining read, skip, close functions for input streams and write, flush, close for output streams.
Member Data Documentation
pointer to blockingRead function
size_t OSRTSTREAM::bufsize |
physical size of pctxt->buffer.data buffer
size_t OSRTSTREAM::bytesProcessed |
the number of bytes processed by the application program
pointer to close function
void* OSRTSTREAM::extra |
pointer to stream-specific data
OSUINT16 OSRTSTREAM::flags |
flags (see OSRTSTRMF_* macros
pointer to flush function
pointer to getPos function
OSUINT32 OSRTSTREAM::id |
id of stream (see OSRTSTRMID_* macros)
size_t OSRTSTREAM::ioBytes |
the actual number of bytes read from or written to the stream
pointer to mark function
the marked number of bytes already processed
size_t OSRTSTREAM::nextMarkOffset |
offset of next appropriate mark position
Buffer into which data read from stream can be captured for debugging purposes.
pointer to read function
size_t OSRTSTREAM::readAheadLimit |
read ahead limit (used by rtxStreamMark/rtxStreamReset
pointer to reset function
size_t OSRTSTREAM::segsize |
size of decoded segment
pointer to setPos function
pointer to skip function
pointer to write function
The documentation for this struct was generated from the following file: