Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp50 static const size_t kTSPacketSize = 188; variable
468 uint8_t packet[kTSPacketSize]; in feedMore()
469 ssize_t n = mDataSource->readAt(mOffset + mHeaderSkip, packet, kTSPacketSize); in feedMore()
471 if (n < (ssize_t)kTSPacketSize) { in feedMore()
480 status_t err = mParser->feedTSPacket(packet, kTSPacketSize, &event); in feedMore()
527 uint8_t packet[kTSPacketSize]; in estimateDurationsFromTimesUsAtEnd()
542 offset = (offset / kTSPacketSize) * kTSPacketSize; in estimateDurationsFromTimesUsAtEnd()
548 ssize_t n = mDataSource->readAt(offset+mHeaderSkip, packet, kTSPacketSize); in estimateDurationsFromTimesUsAtEnd()
551 } else if (n < (ssize_t)kTSPacketSize) { in estimateDurationsFromTimesUsAtEnd()
555 offset += kTSPacketSize + mHeaderSkip; in estimateDurationsFromTimesUsAtEnd()
[all …]
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp61 static const size_t kTSPacketSize = 188; variable
1887 if (size != kTSPacketSize) { in feedTSPacket()
1892 ABitReader br((const uint8_t *)data, kTSPacketSize); in feedTSPacket()