Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp69 uint64_t PTS, uint64_t DTS,
407 uint64_t PTS = 0, DTS = 0; in dequeuePES() local
418 PTS = ((uint64_t)br.getBits(3)) << 30; in dequeuePES()
422 PTS |= ((uint64_t)br.getBits(15)) << 15; in dequeuePES()
426 PTS |= br.getBits(15); in dequeuePES()
431 ALOGV("PTS = %" PRIu64, PTS); in dequeuePES()
566 PTS_DTS_flags, PTS, DTS, br.data(), dataLength); in dequeuePES()
688 uint64_t PTS, uint64_t /* DTS */, in appendPESData() argument
696 timeUs = (PTS * 100) / 9; in appendPESData()
/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp87 int64_t convertPTSToTimestamp(uint64_t PTS);
242 unsigned PTS_DTS_flags, uint64_t PTS, uint64_t DTS,
675 int64_t ATSParser::Program::convertPTSToTimestamp(uint64_t PTS) { in convertPTSToTimestamp() argument
676 PTS = recoverPTS(PTS); in convertPTSToTimestamp()
681 mFirstPTS = PTS; in convertPTSToTimestamp()
682 PTS = 0; in convertPTSToTimestamp()
683 } else if (PTS < mFirstPTS) { in convertPTSToTimestamp()
684 PTS = 0; in convertPTSToTimestamp()
686 PTS -= mFirstPTS; in convertPTSToTimestamp()
690 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.cpp1998 uint64_t PTS = 0; in extractAndQueueAccessUnits() local
2032 PTS = U64_AT(&data[kMatchNameLen + 1]); in extractAndQueueAccessUnits()
2094 int64_t timeUs = (PTS * 100ll) / 9ll; in extractAndQueueAccessUnits()