Home
last modified time | relevance | path

Searched refs:frameBits (Results 1 – 2 of 2) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DDtsUtil.java97 ParsableBitArray frameBits = getNormalizedFrameHeader(frame); in parseDtsFormat() local
98 frameBits.skipBits(32 + 1 + 5 + 1 + 7 + 14); // SYNC, FTYPE, SHORT, CPF, NBLKS, FSIZE in parseDtsFormat()
99 int amode = frameBits.readBits(6); in parseDtsFormat()
101 int sfreq = frameBits.readBits(4); in parseDtsFormat()
103 int rate = frameBits.readBits(5); in parseDtsFormat()
106 frameBits.skipBits(10); // MIX, DYNF, TIMEF, AUXF, HDCD, EXT_AUDIO_ID, EXT_AUDIO, ASPF in parseDtsFormat()
107 channelCount += frameBits.readBits(2) > 0 ? 1 : 0; // LFF in parseDtsFormat()
217 ParsableBitArray frameBits = new ParsableBitArray(frameHeader); in getNormalizedFrameHeader() local
223 frameBits.putInt(scratchBits.readBits(14), 14); in getNormalizedFrameHeader()
226 frameBits.reset(frameHeader); in getNormalizedFrameHeader()
[all …]
/external/aac/libAACenc/src/
Dbitenc.cpp1192 INT frameBits; in FDKaacEnc_WriteBitstream() local
1198 frameBits = bitMarkUp = alignAnchor; in FDKaacEnc_WriteBitstream()
1242 frameBits += elementUsedBits; in FDKaacEnc_WriteBitstream()
1312 frameBits -= bitMarkUp; in FDKaacEnc_WriteBitstream()
1313 frameBits += FDKgetValidBits(hBs); in FDKaacEnc_WriteBitstream()
1315 transportEnc_EndAccessUnit(hTpEnc, &frameBits); in FDKaacEnc_WriteBitstream()
1317 if (frameBits != qcOut->totalBits + qcKernel->globHdrBits) { in FDKaacEnc_WriteBitstream()