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

Implements ISO 14496-1 ES_DescrTag. More...

#include <mp4_generic.h>

Inheritance diagram for MP4::ESDescriptor:
MP4::Descriptor MP4::Descriptor

Public Member Functions

 ESDescriptor (const char *pointer, const unsigned long length, const bool master=false)
 
 ESDescriptor (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...
 
DCDescriptor getDecoderConfig ()
 
DCDescriptor getDecoderConfig ()
 
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...
 

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 ES_DescrTag.

Constructor & Destructor Documentation

MP4::ESDescriptor::ESDescriptor ( const char *  pointer,
const unsigned long  length,
const bool  master = false 
)
MP4::ESDescriptor::ESDescriptor ( 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.

DCDescriptor MP4::ESDescriptor::getDecoderConfig ( )
DCDescriptor MP4::ESDescriptor::getDecoderConfig ( )
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::ESDescriptor::toPrettyString ( uint32_t  indent = 0)

put it into a pretty string

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

put it into a pretty string

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: