HomeSort by relevance Sort by last modified time
    Searched refs:adts (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/media/mp4/
aac.cc 176 // ADTS header uses 13 bits for packet size.
180 std::vector<uint8>& adts = *buffer;
182 adts.insert(buffer->begin(), kADTSHeaderSize, 0);
183 adts[0] = 0xff;
184 adts[1] = 0xf1;
185 adts[2] = ((profile_ - 1) << 6) + (frequency_index_ << 2) +
187 adts[3] = ((channel_config_ & 0x3) << 6) + (size >> 11);
188 adts[4] = (size & 0x7ff) >> 3;
189 adts[5] = ((size & 7) << 5) + 0x1f;
190 adts[6] = 0xfc
    [all...]
  /external/aac/libMpegTPEnc/src/
tpenc_lib.cpp 127 STRUCT_ADTS adts; member in union:TRANSPORTENC::__anon2596
285 if ( adtsWrite_Init(&hTpEnc->writer.adts, &hTpEnc->config) != 0) {
380 &hTp->writer.adts,
421 if ( (hTp->transportFmt==TT_MP4_ADTS) && !hTp->writer.adts.protection_absent) {
422 crcIndex = adtsWrite_CrcStartReg(&hTp->writer.adts, &hTp->bitStream, 0);
428 if ( (hTp->transportFmt==TT_MP4_ADTS) && !hTp->writer.adts.protection_absent) {
429 adtsWrite_CrcEndReg(&hTp->writer.adts, &hTp->bitStream, crcIndex);
451 adtsWrite_EndRawDataBlock(&hTp->writer.adts, &hTp->bitStream, bits);
480 if (hTpEnc->writer.adts.currentBlock >= hTpEnc->writer.adts.num_raw_blocks+1)
    [all...]
  /external/aac/libMpegTPDec/src/
tpdec_lib.cpp 110 STRUCT_ADTS adts; member in union:__anon2578
177 hInput->parser.adts.decoderCanDoMpeg4 = 1;
179 hInput->parser.adts.decoderCanDoMpeg4 = 0;
180 adtsRead_CrcInit(&hInput->parser.adts);
181 hInput->parser.adts.BufferFullnesStartFlag = 1;
352 if (hTp->parser.adts.bs.adts_fullness != 0x7ff) {
353 bufferFullness = hTp->parser.adts.bs.frame_length*8 + hTp->parser.adts.bs.adts_fullness * 32 * getNumberOfEffectiveChannels(hTp->parser.adts.bs.channel_config);
409 if (hTp->parser.adts.bs.protection_absent == 0
    [all...]

Completed in 196 milliseconds