DRCData
IntroductionUse the links in the table of contents to the left to access the documentation.
FunctionsinitDRCDataMP4Err initDRCData ( DRCData *drcData, char *inputFileStr, int sampleRate, int channels, int framesize); ParametersReturn ValueAn MP4Err, which is defined libisomediafile.a; MP4NoErr if nothing fails DiscussionInitializes DRC Data from a file, containing a DRC bitstream. The first LoudnessInfoSet and UniDrcConfig will be read. * nextUniDRCGainMP4Err nextUniDRCGain ( DRCData *drcData, MP4Handle dataH); ParametersReturn ValueAn MP4Err, which is defined libisomediafile.a; MP4NoErr if nothing fails DiscussionWill read the next UniDrcGain from the drc bitstream. The data will be byte aligned in order to put it into a MP4 track as a sample. * Typedefs
DRCDataContains instream DRC Data and handles and variables to read a DRC bitstream using MPEG-D reference software's uniDrcBitstreamDecoder. * typedef struct DRCData { HANDLE_UNI_DRC_BS_DEC_STRUCT hUniDrcBsDecStruct; HANDLE_UNI_DRC_CONFIG hUniDrcConfig; HANDLE_LOUDNESS_INFO_SET hLoudnessInfoSet; HANDLE_UNI_DRC_GAIN hUniDrcGain; int bufferOffset; int bufferIndex; int bufferBytesRemaining; unsigned char *bitstreamBuffer; int gainCount; robitbufHandle bitstream; } DRCData; Fields
|