Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/rtsp/
DAMPEG4ElementaryAssembler.cpp265 unsigned numBitsLeft = AU_headers_length; in addPacket() local
269 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 …]
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/libstagefright/foundation/
DABitReader.cpp127 size_t ABitReader::numBitsLeft() const { in numBitsLeft() function in android::ABitReader
142 size_t numBits = numBitsLeft(); in atLeastNumBitsLeft()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerCCDecoder.cpp280 trackAdded |= parseMPEGCCData(timeUs, br.data(), br.numBitsLeft() / 8); in parseSEINalUnit()
340 if (br.numBitsLeft() <= 16) { in parseMPEGCCData()
350 if (!process_cc_data_flag || 3 * 8 * cc_count >= br.numBitsLeft()) { in parseMPEGCCData()
438 while (br.numBitsLeft() >= 16) { in parseDTVCCPacket()
452 if (br.numBitsLeft() < block_size * 8) { in parseDTVCCPacket()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp711 size_t payloadSizeBits = br->numBitsLeft(); in parse()
994 if (br->numBitsLeft() < dataLength * 8) { in parsePES()
997 br->numBitsLeft(), dataLength * 8); in parsePES()
1009 br->data(), br->numBitsLeft() / 8, event); in parsePES()
1011 size_t payloadSizeBits = br->numBitsLeft(); in parsePES()
1325 if (br->numBitsLeft() % 8 != 0) { in parsePID()
1328 status_t err = section->append(br->data(), br->numBitsLeft() / 8); in parsePID()
1401 if (adaptation_field_length * 8 > br->numBitsLeft()) { in parseAdaptationField()
1432 (188 - br->numBitsLeft() / 8); in parseAdaptationField()
DMPEG2PSExtractor.cpp509 if (br.numBitsLeft() < optional_bytes_remaining * 8) { in dequeuePES()
524 if (br.numBitsLeft() < dataLength * 8) { in dequeuePES()
527 br.numBitsLeft(), dataLength * 8); in dequeuePES()
532 if (br.numBitsLeft() < dataLength * 8) { in dequeuePES()
DESQueue.cpp93 if (bits.numBitsLeft() < 16) { in parseAC3SyncFrame()
100 if (bits.numBitsLeft() < 16 + 2 + 6 + 5 + 3 + 3) { in parseAC3SyncFrame()
131 if (bits.numBitsLeft() < 2) { in parseAC3SyncFrame()
137 if (bits.numBitsLeft() < 2) { in parseAC3SyncFrame()
143 if (bits.numBitsLeft() < 2) { in parseAC3SyncFrame()
149 if (bits.numBitsLeft() < 1) { in parseAC3SyncFrame()
/frameworks/av/include/media/stagefright/foundation/
DABitReader.h54 size_t numBitsLeft() const;
/frameworks/av/media/libstagefright/
DMPEG4Extractor.cpp3231 if (br.numBitsLeft() < 28) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()
3235 if (br.numBitsLeft() < 4) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()
3246 if (br.numBitsLeft() < 4) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()
3253 if (br.numBitsLeft() < 24) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()
3290 if (br.numBitsLeft() < 5) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()
3294 if (br.numBitsLeft() < 6) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()
3301 if (br.numBitsLeft() < 2) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()
3307 if (br.numBitsLeft() < 14) return ERROR_MALFORMED; in updateAudioTrackInfoFromESDS_MPEG4Audio()
3312 if (br.numBitsLeft() > 0) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
3337 if (br.numBitsLeft() < 32) { in updateAudioTrackInfoFromESDS_MPEG4Audio()
[all …]