Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp48 static const size_t kTSPacketSize = 188; variable
328 uint8_t packet[kTSPacketSize]; in feedMore()
329 ssize_t n = mDataSource->readAt(mOffset, packet, kTSPacketSize); in feedMore()
331 if (n < (ssize_t)kTSPacketSize) { in feedMore()
340 status_t err = mParser->feedTSPacket(packet, kTSPacketSize, &event); in feedMore()
387 uint8_t packet[kTSPacketSize]; in estimateDurationsFromTimesUsAtEnd()
402 offset = (offset / kTSPacketSize) * kTSPacketSize; in estimateDurationsFromTimesUsAtEnd()
408 ssize_t n = mDataSource->readAt(offset, packet, kTSPacketSize); in estimateDurationsFromTimesUsAtEnd()
411 } else if (n < (ssize_t)kTSPacketSize) { in estimateDurationsFromTimesUsAtEnd()
415 offset += kTSPacketSize; in estimateDurationsFromTimesUsAtEnd()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp60 static const size_t kTSPacketSize = 188; variable
1677 if (size != kTSPacketSize) { in feedTSPacket()
1682 ABitReader br((const uint8_t *)data, kTSPacketSize); in feedTSPacket()