Lines Matching defs:PTS
60 int64_t convertPTSToTimestamp(uint64_t PTS);
121 unsigned PTS_DTS_flags, uint64_t PTS, uint64_t DTS,
378 int64_t ATSParser::Program::convertPTSToTimestamp(uint64_t PTS) {
382 mFirstPTS = PTS;
383 PTS = 0;
384 } else if (PTS < mFirstPTS) {
385 PTS = 0;
387 PTS -= mFirstPTS;
391 return (PTS * 100) / 9;
622 uint64_t PTS = 0, DTS = 0;
629 PTS = ((uint64_t)br->getBits(3)) << 30;
631 PTS |= ((uint64_t)br->getBits(15)) << 15;
633 PTS |= br->getBits(15);
636 LOGV("PTS = %llu", PTS);
637 // LOGI("PTS = %.2f secs", PTS / 90000.0f);
710 PTS_DTS_flags, PTS, DTS, br->data(), dataLength);
715 PTS_DTS_flags, PTS, DTS,
751 unsigned PTS_DTS_flags, uint64_t PTS, uint64_t DTS,
757 timeUs = mProgram->convertPTSToTimestamp(PTS);