Searched refs:PTS (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | MPEG2PSExtractor.cpp | 69 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()
|
D | ATSParser.cpp | 78 int64_t convertPTSToTimestamp(uint64_t PTS); 231 unsigned PTS_DTS_flags, uint64_t PTS, uint64_t DTS, 664 int64_t ATSParser::Program::convertPTSToTimestamp(uint64_t PTS) { in convertPTSToTimestamp() argument 665 PTS = recoverPTS(PTS); in convertPTSToTimestamp() 670 mFirstPTS = PTS; in convertPTSToTimestamp() 671 PTS = 0; in convertPTSToTimestamp() 672 } else if (PTS < mFirstPTS) { in convertPTSToTimestamp() 673 PTS = 0; in convertPTSToTimestamp() 675 PTS -= mFirstPTS; in convertPTSToTimestamp() 679 int64_t timeUs = (PTS * 100) / 9; in convertPTSToTimestamp() [all …]
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | TSPacketizer.cpp | 873 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/ |
D | MPEG2TSWriter.cpp | 845 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/ |
D | PlaylistFetcher.cpp | 1983 uint64_t PTS = 0; in extractAndQueueAccessUnits() local 2017 PTS = U64_AT(&data[kMatchNameLen + 1]); in extractAndQueueAccessUnits() 2078 int64_t timeUs = (PTS * 100ll) / 9ll; in extractAndQueueAccessUnits()
|