liveMedia/MP3Internals.hh File Reference

#include "Boolean.hh"
#include "BitVector.hh"

Include dependency graph for MP3Internals.hh:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MP3SideInfo
struct  MP3SideInfo::gr_info_s
class  MP3FrameParams


#define SBLIMIT   32
#define MAX_MP3_FRAME_SIZE   2500


typedef MP3SideInfo MP3SideInfo_t


unsigned ComputeFrameSize (unsigned bitrate, unsigned samplingFreq, Boolean usePadding, Boolean isMPEG2, unsigned char layer)
Boolean GetADUInfoFromMP3Frame (unsigned char const *framePtr, unsigned totFrameSize, unsigned &hdr, unsigned &frameSize, MP3SideInfo &sideInfo, unsigned &sideInfoSize, unsigned &backpointer, unsigned &aduSize)
Boolean ZeroOutMP3SideInfo (unsigned char *framePtr, unsigned totFrameSize, unsigned newBackpointer)
unsigned TranscodeMP3ADU (unsigned char const *fromPtr, unsigned fromSize, unsigned toBitrate, unsigned char *toPtr, unsigned toMaxSize, unsigned &availableBytesForBackpointer)

Define Documentation

#define MAX_MP3_FRAME_SIZE   2500

Definition at line 64 of file MP3Internals.hh.

#define SBLIMIT   32

Definition at line 63 of file MP3Internals.hh.

Typedef Documentation

typedef struct MP3SideInfo MP3SideInfo_t

Function Documentation

unsigned ComputeFrameSize ( unsigned  bitrate,
unsigned  samplingFreq,
Boolean  usePadding,
Boolean  isMPEG2,
unsigned char  layer 

Boolean GetADUInfoFromMP3Frame ( unsigned char const *  framePtr,
unsigned  totFrameSize,
unsigned &  hdr,
unsigned &  frameSize,
MP3SideInfo sideInfo,
unsigned &  sideInfoSize,
unsigned &  backpointer,
unsigned &  aduSize 

unsigned TranscodeMP3ADU ( unsigned char const *  fromPtr,
unsigned  fromSize,
unsigned  toBitrate,
unsigned char *  toPtr,
unsigned  toMaxSize,
unsigned &  availableBytesForBackpointer 

Boolean ZeroOutMP3SideInfo ( unsigned char *  framePtr,
unsigned  totFrameSize,
unsigned  newBackpointer 

Generated on Sun Jul 13 05:10:58 2014 for live by  doxygen 1.5.2