Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/mpeg2ts/
DATSParser.cpp73 int64_t convertPTSToTimestamp(uint64_t PTS);
176 unsigned PTS_DTS_flags, uint64_t PTS, uint64_t DTS,
555 int64_t ATSParser::Program::convertPTSToTimestamp(uint64_t PTS) { in convertPTSToTimestamp() argument
556 PTS = recoverPTS(PTS); in convertPTSToTimestamp()
561 mFirstPTS = PTS; in convertPTSToTimestamp()
562 PTS = 0; in convertPTSToTimestamp()
563 } else if (PTS < mFirstPTS) { in convertPTSToTimestamp()
564 PTS = 0; in convertPTSToTimestamp()
566 PTS -= mFirstPTS; in convertPTSToTimestamp()
570 int64_t timeUs = (PTS * 100) / 9; in convertPTSToTimestamp()
[all …]
DMPEG2PSExtractor.cpp69 uint64_t PTS, uint64_t DTS,
406 uint64_t PTS = 0, DTS = 0; in dequeuePES() local
417 PTS = ((uint64_t)br.getBits(3)) << 30; in dequeuePES()
421 PTS |= ((uint64_t)br.getBits(15)) << 15; in dequeuePES()
425 PTS |= br.getBits(15); in dequeuePES()
430 ALOGV("PTS = %" PRIu64, PTS); in dequeuePES()
565 PTS_DTS_flags, PTS, DTS, br.data(), dataLength); in dequeuePES()
685 uint64_t PTS, uint64_t /* DTS */, in appendPESData() argument
693 timeUs = (PTS * 100) / 9; in appendPESData()
/frameworks/av/media/libstagefright/wifi-display/source/
DTSPacketizer.cpp873 uint64_t PTS = (timeUs * 9ll) / 100ll; in packetize() local
933 *ptr++ = 0x20 | (((PTS >> 30) & 7) << 1) | 1; in packetize()
934 *ptr++ = (PTS >> 22) & 0xff; in packetize()
935 *ptr++ = (((PTS >> 15) & 0x7f) << 1) | 1; in packetize()
936 *ptr++ = (PTS >> 7) & 0xff; in packetize()
937 *ptr++ = ((PTS & 0x7f) << 1) | 1; in packetize()
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp874 uint32_t PTS = (timeUs * 9ll) / 100ll; in writeAccessUnit() local
909 *ptr++ = 0x20 | (((PTS >> 30) & 7) << 1) | 1; in writeAccessUnit()
910 *ptr++ = (PTS >> 22) & 0xff; in writeAccessUnit()
911 *ptr++ = (((PTS >> 15) & 0x7f) << 1) | 1; in writeAccessUnit()
912 *ptr++ = (PTS >> 7) & 0xff; in writeAccessUnit()
913 *ptr++ = ((PTS & 0x7f) << 1) | 1; in writeAccessUnit()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp1899 uint64_t PTS = 0; in extractAndQueueAccessUnits() local
1933 PTS = U64_AT(&data[kMatchNameLen + 1]); in extractAndQueueAccessUnits()
1994 int64_t timeUs = (PTS * 100ll) / 9ll; in extractAndQueueAccessUnits()