Home
last modified time | relevance | path

Searched refs:PTS (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp68 uint64_t PTS, uint64_t DTS,
414 uint64_t PTS = 0, DTS = 0; in dequeuePES() local
425 PTS = ((uint64_t)br.getBits(3)) << 30; in dequeuePES()
429 PTS |= ((uint64_t)br.getBits(15)) << 15; in dequeuePES()
433 PTS |= br.getBits(15); in dequeuePES()
438 ALOGV("PTS = %" PRIu64, PTS); in dequeuePES()
573 PTS_DTS_flags, PTS, DTS, br.data(), dataLength); in dequeuePES()
751 uint64_t PTS, uint64_t /* DTS */, in appendPESData() argument
759 timeUs = (PTS * 100) / 9; in appendPESData()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp88 int64_t convertPTSToTimestamp(uint64_t PTS);
244 unsigned PTS_DTS_flags, uint64_t PTS, uint64_t DTS,
811 int64_t ATSParser::Program::convertPTSToTimestamp(uint64_t PTS) { in convertPTSToTimestamp() argument
812 PTS = recoverPTS(PTS); in convertPTSToTimestamp()
817 mFirstPTS = PTS; in convertPTSToTimestamp()
818 PTS = 0; in convertPTSToTimestamp()
819 } else if (PTS < mFirstPTS) { in convertPTSToTimestamp()
820 PTS = 0; in convertPTSToTimestamp()
822 PTS -= mFirstPTS; in convertPTSToTimestamp()
826 int64_t timeUs = (PTS * 100) / 9; in convertPTSToTimestamp()
[all …]
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp845 uint32_t PTS = (timeUs * 9LL) / 100LL; in writeAccessUnit() local
880 *ptr++ = 0x20 | (((PTS >> 30) & 7) << 1) | 1; in writeAccessUnit()
881 *ptr++ = (PTS >> 22) & 0xff; in writeAccessUnit()
882 *ptr++ = (((PTS >> 15) & 0x7f) << 1) | 1; in writeAccessUnit()
883 *ptr++ = (PTS >> 7) & 0xff; in writeAccessUnit()
884 *ptr++ = ((PTS & 0x7f) << 1) | 1; in writeAccessUnit()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp2012 uint64_t PTS = 0; in extractAndQueueAccessUnits() local
2046 PTS = U64_AT(&data[kMatchNameLen + 1]); in extractAndQueueAccessUnits()
2108 int64_t timeUs = (PTS * 100LL) / 9LL; in extractAndQueueAccessUnits()