MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Public Member Functions | Protected Attributes
MP4::DSDescriptor Class Reference

Implements ISO 14496-1 DecSpecificInfoTag. More...

#include <mp4_generic.h>

Inheritance diagram for MP4::DSDescriptor:
MP4::Descriptor MP4::Descriptor

Public Member Functions

 DSDescriptor (const char *pointer, const unsigned long length, const bool master=false)
 
 DSDescriptor (const char *pointer, const unsigned long length, const bool master=false)
 
char * getData ()
 Returns pointer to start of internal data. More...
 
char * getData ()
 Returns pointer to start of internal data. More...
 
unsigned long getDataSize ()
 Get internal size of descriptor. More...
 
unsigned long getDataSize ()
 Get internal size of descriptor. More...
 
unsigned long getFullSize ()
 Get external size of descriptor. More...
 
unsigned long getFullSize ()
 Get external size of descriptor. More...
 
char getTag ()
 Get type of descriptor. More...
 
char getTag ()
 Get type of descriptor. More...
 
void resize (unsigned long t)
 Resize descriptor. More...
 
void resize (unsigned long t)
 Resize descriptor. More...
 
void setTag (char t)
 Set type of descriptor. More...
 
void setTag (char t)
 Set type of descriptor. More...
 
std::string toPrettyString (uint32_t indent=0)
 put it into a pretty string More...
 
std::string toPrettyString (uint32_t indent=0)
 put it into a pretty string More...
 
std::string toString ()
 Return decoder specific info as standard string in binary format. More...
 
std::string toString ()
 Return decoder specific info as standard string in binary format. More...
 

Protected Attributes

char * data
 Pointer to data in memory. More...
 
bool master
 
unsigned long size
 Length of data. More...
 

Detailed Description

Implements ISO 14496-1 DecSpecificInfoTag.

Constructor & Destructor Documentation

MP4::DSDescriptor::DSDescriptor ( const char *  pointer,
const unsigned long  length,
const bool  master = false 
)
MP4::DSDescriptor::DSDescriptor ( const char *  pointer,
const unsigned long  length,
const bool  master = false 
)

Member Function Documentation

char * MP4::Descriptor::getData ( )
inherited

Returns pointer to start of internal data.

char* MP4::Descriptor::getData ( )
inherited

Returns pointer to start of internal data.

unsigned long MP4::Descriptor::getDataSize ( )
inherited

Get internal size of descriptor.

unsigned long MP4::Descriptor::getDataSize ( )
inherited

Get internal size of descriptor.

unsigned long MP4::Descriptor::getFullSize ( )
inherited

Get external size of descriptor.

unsigned long MP4::Descriptor::getFullSize ( )
inherited

Get external size of descriptor.

char MP4::Descriptor::getTag ( )
inherited

Get type of descriptor.

char MP4::Descriptor::getTag ( )
inherited

Get type of descriptor.

void MP4::Descriptor::resize ( unsigned long  t)
inherited

Resize descriptor.

void MP4::Descriptor::resize ( unsigned long  t)
inherited

Resize descriptor.

void MP4::Descriptor::setTag ( char  t)
inherited

Set type of descriptor.

void MP4::Descriptor::setTag ( char  t)
inherited

Set type of descriptor.

std::string MP4::DSDescriptor::toPrettyString ( uint32_t  indent = 0)

put it into a pretty string

std::string MP4::DSDescriptor::toPrettyString ( uint32_t  indent = 0)

put it into a pretty string

std::string MP4::DSDescriptor::toString ( )

Return decoder specific info as standard string in binary format.

std::string MP4::DSDescriptor::toString ( )

Return decoder specific info as standard string in binary format.

Field Documentation

char * MP4::Descriptor::data
protectedinherited

Pointer to data in memory.

bool MP4::Descriptor::master
protectedinherited
unsigned long MP4::Descriptor::size
protectedinherited

Length of data.


The documentation for this class was generated from the following files: