Searched refs:numBitsLeft (Results 1 – 12 of 12) sorted by relevance
265 unsigned numBitsLeft = AU_headers_length; in addPacket() local269 if (numBitsLeft < mSizeLength) { break; } in addPacket()272 numBitsLeft -= mSizeLength; in addPacket()275 if (numBitsLeft < n) { break; } in addPacket()278 numBitsLeft -= n; in addPacket()287 if (numBitsLeft < 1) { in addPacket()290 --numBitsLeft; in addPacket()292 if (numBitsLeft < mCTSDeltaLength) { in addPacket()296 numBitsLeft -= mCTSDeltaLength; in addPacket()301 if (numBitsLeft < 1) { in addPacket()[all …]
147 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()
127 size_t ABitReader::numBitsLeft() const { in numBitsLeft() function in android::ABitReader142 size_t numBits = numBitsLeft(); in atLeastNumBitsLeft()
27 #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()
3063 if (br.numBitsLeft() < 16) { in parseEAC3SpecificBox()3072 if (br.numBitsLeft() < (num_ind_sub * 23)) { in parseEAC3SpecificBox()3116 if (br.numBitsLeft() < 9) { in parseEAC3SpecificBox()3138 if (br.numBitsLeft() == 0) { in parseEAC3SpecificBox()3146 if (br.numBitsLeft() != 0) { in parseEAC3SpecificBox()3147 if (br.numBitsLeft() < 8) { in parseEAC3SpecificBox()3156 if (br.numBitsLeft() < 8) { in parseEAC3SpecificBox()4409 if (br.numBitsLeft() < 28) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()4413 if (br.numBitsLeft() < 4) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()4424 if (br.numBitsLeft() < 4) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()[all …]
584 if (br->numBitsLeft() < 16) { in parseProgramMap()606 if (br->numBitsLeft() < 24) { in parseProgramMap()621 if (br->numBitsLeft() < 8) { in parseProgramMap()630 if (br->numBitsLeft() < 8) { in parseProgramMap()636 if (br->numBitsLeft() < (num_aux_components * 8)) { in parseProgramMap()643 if (br->numBitsLeft() < 8) { in parseProgramMap()648 if (br->numBitsLeft() < (future_extension_length * 8)) { in parseProgramMap()1115 size_t payloadSizeBits = br->numBitsLeft(); in parse()1415 if (br->numBitsLeft() < dataLength * 8) { in parsePES()1418 br->numBitsLeft(), dataLength * 8); in parsePES()[all …]
134 if (bits.numBitsLeft() < 16) { in parseAC3SyncFrame()141 if (bits.numBitsLeft() < 16 + 2 + 6 + 5 + 3 + 3) { in parseAC3SyncFrame()172 if (bits.numBitsLeft() < 2) { in parseAC3SyncFrame()178 if (bits.numBitsLeft() < 2) { in parseAC3SyncFrame()184 if (bits.numBitsLeft() < 2) { in parseAC3SyncFrame()190 if (bits.numBitsLeft() < 1) { in parseAC3SyncFrame()223 if (bits.numBitsLeft() < 16) { in parseEAC3SyncFrame()233 if (bits.numBitsLeft() < 2 + 3 + 11 + 2 + 2 + 3 + 1 + 5) { in parseEAC3SyncFrame()
339 ecm.setToExternal((uint8_t*)br->data(), br->numBitsLeft() / 8); in parsePID()
299 trackAdded |= parseMPEGCCData(timeUs, br.data(), br.numBitsLeft() / 8); in parseSEINalUnit()359 if (br.numBitsLeft() <= 16) { in parseMPEGCCData()369 if (!process_cc_data_flag || 3 * 8 * cc_count >= br.numBitsLeft()) { in parseMPEGCCData()466 while (br.numBitsLeft() >= 16) { in parseDTVCCPacket()480 if (br.numBitsLeft() < block_size * 8) { in parseDTVCCPacket()
300 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()
54 size_t numBitsLeft() const;
512 if (br.numBitsLeft() < optional_bytes_remaining * 8) { in dequeuePES()527 if (br.numBitsLeft() < dataLength * 8) { in dequeuePES()530 br.numBitsLeft(), dataLength * 8); in dequeuePES()535 if (br.numBitsLeft() < dataLength * 8) { in dequeuePES()