Home
last modified time | relevance | path

Searched refs:numBitsLeft (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
DAMPEG4ElementaryAssembler.cpp277 unsigned numBitsLeft = AU_headers_length; in addPacket() local
281 if (numBitsLeft < mSizeLength) { break; } in addPacket()
284 numBitsLeft -= mSizeLength; in addPacket()
287 if (numBitsLeft < n) { break; } in addPacket()
290 numBitsLeft -= n; in addPacket()
299 if (numBitsLeft < 1) { in addPacket()
302 --numBitsLeft; in addPacket()
304 if (numBitsLeft < mCTSDeltaLength) { in addPacket()
308 numBitsLeft -= mCTSDeltaLength; in addPacket()
313 if (numBitsLeft < 1) { in addPacket()
[all …]
DAMPEG4AudioAssembler.cpp147 size_t totalNumBits = bits->numBitsLeft(); in parseAudioSpecificConfig()
194 if (extensionAudioObjectType != 5 && bits->numBitsLeft() >= 16) { in parseAudioSpecificConfig()
195 size_t numBitsLeftAtStart = bits->numBitsLeft(); in parseAudioSpecificConfig()
214 numBitsLeftAtStart - bits->numBitsLeft(); in parseAudioSpecificConfig()
235 totalNumBits -= bits->numBitsLeft(); in parseAudioSpecificConfig()
/frameworks/av/media/module/mpeg2ts/
DATSParser.cpp443 if (br->numBitsLeft() < 16) { in findCADescriptor()
459 if (br->numBitsLeft() < 32) { in findCADescriptor()
485 if (br->numBitsLeft() < 10) { in parseProgramMap()
503 if (br->numBitsLeft() < 86) { in parseProgramMap()
551 if (br->numBitsLeft() < 40) { in parseProgramMap()
574 if (br->numBitsLeft() < 16) { in parseProgramMap()
601 if (br->numBitsLeft() < 32) { in parseProgramMap()
616 if (br->numBitsLeft() < 8) { in parseProgramMap()
624 if (br->numBitsLeft() < (descriptor_length * 8)) { in parseProgramMap()
645 if (br->numBitsLeft() < 8) { in parseProgramMap()
[all …]
DESQueue.cpp144 if (bits.numBitsLeft() < 16) { in parseAC3SyncFrame()
151 if (bits.numBitsLeft() < 16 + 2 + 6 + 5 + 3 + 3) { in parseAC3SyncFrame()
179 if (bits.numBitsLeft() < 2) { in parseAC3SyncFrame()
185 if (bits.numBitsLeft() < 2) { in parseAC3SyncFrame()
191 if (bits.numBitsLeft() < 2) { in parseAC3SyncFrame()
197 if (bits.numBitsLeft() < 1) { in parseAC3SyncFrame()
230 if (bits.numBitsLeft() < 16) { in parseEAC3SyncFrame()
240 if (bits.numBitsLeft() < 2 + 3 + 11 + 2 + 2 + 3 + 1 + 5) { in parseEAC3SyncFrame()
367 if ((bitstream).numBitsLeft() < (size)) { \
586 ABitReader bitStream(bits->data(), bits->numBitsLeft() / 8); in extractVarLenBitFields()
[all …]
DCasManager.cpp339 ecm.setToExternal((uint8_t*)br->data(), br->numBitsLeft() / 8); in parsePID()
/frameworks/av/media/module/metadatautils/
DMetaDataUtils.cpp86 if (bits.numBitsLeft() < 24) { in isVp9SyncCode()
99 if (bits.numBitsLeft() < 1) { in getVp9BitdepthChromaSubSampling()
172 if (bits.numBitsLeft() < 2) { in MakeVP9CodecSpecificData()
193 if (bits.numBitsLeft() < 1) { in MakeVP9CodecSpecificData()
200 if (bits.numBitsLeft() < 2) { in MakeVP9CodecSpecificData()
/frameworks/av/media/module/foundation/
DABitReader.cpp127 size_t ABitReader::numBitsLeft() const { in numBitsLeft() function in android::ABitReader
142 size_t numBits = numBitsLeft(); in atLeastNumBitsLeft()
/frameworks/av/media/module/extractors/mp4/
DAC4Parser.cpp27 #define BYTE_ALIGN mBitReader.skipBits(mBitReader.numBitsLeft() % 8)
28 #define CHECK_BITS_LEFT(n) if (mBitReader.numBitsLeft() < n) {return false;}
38 mDSISize = mBitReader.numBitsLeft(); in AC4DSIParser()
320 start = (mDSISize - mBitReader.numBitsLeft()) / 8; in parse()
601 uint64_t end = (mDSISize - mBitReader.numBitsLeft()) / 8; in parse()
DMPEG4Extractor.cpp3424 if (br.numBitsLeft() < 16) { in parseEAC3SpecificBox()
3433 if (br.numBitsLeft() < (num_ind_sub * 23)) { in parseEAC3SpecificBox()
3477 if (br.numBitsLeft() < 9) { in parseEAC3SpecificBox()
3499 if (br.numBitsLeft() == 0) { in parseEAC3SpecificBox()
3507 if (br.numBitsLeft() != 0) { in parseEAC3SpecificBox()
3508 if (br.numBitsLeft() < 8) { in parseEAC3SpecificBox()
3517 if (br.numBitsLeft() < 8) { in parseEAC3SpecificBox()
4857 if (br.numBitsLeft() < 28) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()
4861 if (br.numBitsLeft() < 4) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()
4872 if (br.numBitsLeft() < 4) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()
[all …]
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DABitReader.h54 size_t numBitsLeft() const;
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp300 trackAdded |= parseMPEGCCData(timeUs, br.data(), br.numBitsLeft() / 8); in parseSEINalUnit()
371 if (br.numBitsLeft() <= 16) { in parseMPEGCCData()
381 if (!process_cc_data_flag || 3 * 8 * cc_count >= br.numBitsLeft()) { in parseMPEGCCData()
475 while (br.numBitsLeft() >= 16) { in parseDTVCCPacket()
489 if (br.numBitsLeft() < block_size * 8) { in parseDTVCCPacket()
/frameworks/av/media/module/extractors/mpeg2/
DMPEG2PSExtractor.cpp516 if (br.numBitsLeft() < optional_bytes_remaining * 8) { in dequeuePES()
531 if (br.numBitsLeft() < dataLength * 8) { in dequeuePES()
534 br.numBitsLeft(), dataLength * 8); in dequeuePES()
539 if (br.numBitsLeft() < dataLength * 8) { in dequeuePES()