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

Implements ISO 14496-1 DecoderConfigDescrTag. More...

#include <mp4_generic.h>

Inheritance diagram for MP4::DCDescriptor:
MP4::Descriptor MP4::Descriptor

Public Member Functions

 DCDescriptor (const char *pointer, const unsigned long length, const bool master=false)
 
 DCDescriptor (const char *pointer, const unsigned long length, const bool master=false)
 
std::string getCodec ()
 
std::string getCodec ()
 
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...
 
DSDescriptor getSpecific ()
 
DSDescriptor getSpecific ()
 
char getTag ()
 Get type of descriptor. More...
 
char getTag ()
 Get type of descriptor. More...
 
bool isAAC ()
 Returns true if this track is AAC. More...
 
bool isAAC ()
 Returns true if this track is AAC. 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 DecoderConfigDescrTag.

Constructor & Destructor Documentation

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

Member Function Documentation

std::string MP4::DCDescriptor::getCodec ( )
std::string MP4::DCDescriptor::getCodec ( )
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.

DSDescriptor MP4::DCDescriptor::getSpecific ( )
DSDescriptor MP4::DCDescriptor::getSpecific ( )
char MP4::Descriptor::getTag ( )
inherited

Get type of descriptor.

char MP4::Descriptor::getTag ( )
inherited

Get type of descriptor.

bool MP4::DCDescriptor::isAAC ( )

Returns true if this track is AAC.

bool MP4::DCDescriptor::isAAC ( )

Returns true if this track is AAC.

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

put it into a pretty string

std::string MP4::DCDescriptor::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: