MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Public Member Functions | Data Fields | Protected Member Functions | Private Member Functions | Private Attributes
theora::header Class Reference

#include <theora.h>

Public Member Functions

 header (char *newData, unsigned int length)
 
 header (char *newData, unsigned int length)
 
 ~header ()
 
 ~header ()
 
char getCS ()
 
char getCS ()
 
short getFMBH ()
 
short getFMBH ()
 
short getFMBW ()
 
short getFMBW ()
 
long unsigned int getFRD ()
 
long unsigned int getFRD ()
 
long unsigned int getFRN ()
 
long unsigned int getFRN ()
 
char getFTYPE ()
 
char getFTYPE ()
 
int getHeaderType ()
 
int getHeaderType ()
 
char getKFGShift ()
 
char getKFGShift ()
 
char getLFLIMS (size_t index)
 
char getLFLIMS (size_t index)
 
long unsigned int getNComments ()
 
long unsigned int getNComments ()
 
long unsigned int getNOMBR ()
 
long unsigned int getNOMBR ()
 
long unsigned int getPARD ()
 
long unsigned int getPARD ()
 
long unsigned int getPARN ()
 
long unsigned int getPARN ()
 
char getPF ()
 
char getPF ()
 
long unsigned int getPICH ()
 
long unsigned int getPICH ()
 
long unsigned int getPICW ()
 
long unsigned int getPICW ()
 
char getPICX ()
 
char getPICX ()
 
char getPICY ()
 
char getPICY ()
 
char getQUAL ()
 
char getQUAL ()
 
std::string getUserComment (size_t index)
 
std::string getUserComment (size_t index)
 
std::string getVendor ()
 
std::string getVendor ()
 
char getVMAJ ()
 
char getVMAJ ()
 
char getVMIN ()
 
char getVMIN ()
 
char getVREV ()
 
char getVREV ()
 
bool isHeader ()
 
bool isHeader ()
 
std::string toPrettyString (size_t indent=0)
 
std::string toPrettyString (size_t indent=0)
 

Data Fields

unsigned int datasize
 

Protected Member Functions

uint32_t commentLen (size_t index)
 
uint32_t commentLen (size_t index)
 
uint16_t getInt16 (size_t index)
 
uint16_t getInt16 (size_t index)
 
uint32_t getInt24 (size_t index)
 
uint32_t getInt24 (size_t index)
 
uint32_t getInt32 (size_t index)
 
uint32_t getInt32 (size_t index)
 

Private Member Functions

bool checkDataSize (unsigned int size)
 
bool checkDataSize (unsigned int size)
 

Private Attributes

char * data
 

Constructor & Destructor Documentation

theora::header::~header ( )
theora::header::header ( char *  newData,
unsigned int  length 
)
theora::header::~header ( )
theora::header::header ( char *  newData,
unsigned int  length 
)

Member Function Documentation

bool theora::header::checkDataSize ( unsigned int  size)
private
bool theora::header::checkDataSize ( unsigned int  size)
private
uint32_t theora::header::commentLen ( size_t  index)
protected
uint32_t theora::header::commentLen ( size_t  index)
protected
char theora::header::getCS ( )
char theora::header::getCS ( )
short theora::header::getFMBH ( )
short theora::header::getFMBH ( )
short theora::header::getFMBW ( )
short theora::header::getFMBW ( )
long unsigned int theora::header::getFRD ( )
long unsigned int theora::header::getFRD ( )
long unsigned int theora::header::getFRN ( )
long unsigned int theora::header::getFRN ( )
char theora::header::getFTYPE ( )
char theora::header::getFTYPE ( )
int theora::header::getHeaderType ( )
int theora::header::getHeaderType ( )
uint16_t theora::header::getInt16 ( size_t  index)
protected
uint16_t theora::header::getInt16 ( size_t  index)
protected
uint32_t theora::header::getInt24 ( size_t  index)
protected
uint32_t theora::header::getInt24 ( size_t  index)
protected
uint32_t theora::header::getInt32 ( size_t  index)
protected
uint32_t theora::header::getInt32 ( size_t  index)
protected
char theora::header::getKFGShift ( )
char theora::header::getKFGShift ( )
char theora::header::getLFLIMS ( size_t  index)
char theora::header::getLFLIMS ( size_t  index)
long unsigned int theora::header::getNComments ( )
long unsigned int theora::header::getNComments ( )
long unsigned int theora::header::getNOMBR ( )
long unsigned int theora::header::getNOMBR ( )
long unsigned int theora::header::getPARD ( )
long unsigned int theora::header::getPARD ( )
long unsigned int theora::header::getPARN ( )
long unsigned int theora::header::getPARN ( )
char theora::header::getPF ( )
char theora::header::getPF ( )
long unsigned int theora::header::getPICH ( )
long unsigned int theora::header::getPICH ( )
long unsigned int theora::header::getPICW ( )
long unsigned int theora::header::getPICW ( )
char theora::header::getPICX ( )
char theora::header::getPICX ( )
char theora::header::getPICY ( )
char theora::header::getPICY ( )
char theora::header::getQUAL ( )
char theora::header::getQUAL ( )
std::string theora::header::getUserComment ( size_t  index)
std::string theora::header::getUserComment ( size_t  index)
std::string theora::header::getVendor ( )
std::string theora::header::getVendor ( )
char theora::header::getVMAJ ( )
char theora::header::getVMAJ ( )
char theora::header::getVMIN ( )
char theora::header::getVMIN ( )
char theora::header::getVREV ( )
char theora::header::getVREV ( )
bool theora::header::isHeader ( )
bool theora::header::isHeader ( )
std::string theora::header::toPrettyString ( size_t  indent = 0)
std::string theora::header::toPrettyString ( size_t  indent = 0)

Field Documentation

char * theora::header::data
private
unsigned int theora::header::datasize
Todo:
put this back in pravate
Todo:
put this back in pravate

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