Searched refs:PTS (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/module/extractors/mpeg2/ |
D | MPEG2PSExtractor.cpp | 67 uint64_t PTS, uint64_t DTS, 413 uint64_t PTS = 0, DTS = 0; in dequeuePES() local 424 PTS = ((uint64_t)br.getBits(3)) << 30; in dequeuePES() 428 PTS |= ((uint64_t)br.getBits(15)) << 15; in dequeuePES() 432 PTS |= br.getBits(15); in dequeuePES() 437 ALOGV("PTS = %" PRIu64, PTS); in dequeuePES() 572 PTS_DTS_flags, PTS, DTS, br.data(), dataLength); in dequeuePES() 765 uint64_t PTS, uint64_t /* DTS */, in appendPESData() argument 773 timeUs = (PTS * 100) / 9; in appendPESData()
|
/frameworks/av/media/module/mpeg2ts/ |
D | ATSParser.cpp | 88 int64_t convertPTSToTimestamp(uint64_t PTS); 243 unsigned PTS_DTS_flags, uint64_t PTS, uint64_t DTS, 890 int64_t ATSParser::Program::convertPTSToTimestamp(uint64_t PTS) { in convertPTSToTimestamp() argument 891 PTS = recoverPTS(PTS); in convertPTSToTimestamp() 896 mFirstPTS = PTS; in convertPTSToTimestamp() 897 PTS = 0; in convertPTSToTimestamp() 898 } else if (PTS < mFirstPTS) { in convertPTSToTimestamp() 899 PTS = 0; in convertPTSToTimestamp() 901 PTS -= mFirstPTS; in convertPTSToTimestamp() 905 int64_t timeUs = (PTS * 100) / 9; in convertPTSToTimestamp() [all …]
|
/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 | 2012 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()
|