Lines Matching refs:timeUs
216 int64_t timeUs; in extractFromSEI() local
217 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); in extractFromSEI()
225 timeUs, accessUnit->data() + nal->nalOffset, nal->nalSize); in extractFromSEI()
232 bool NuPlayer::CCDecoder::parseSEINalUnit(int64_t timeUs, const uint8_t *data, size_t size) { in parseSEINalUnit() argument
280 trackAdded |= parseMPEGCCData(timeUs, br.data(), br.numBitsLeft() / 8); in parseSEINalUnit()
303 int64_t timeUs; in extractFromMPEGUserData() local
304 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); in extractFromMPEGUserData()
312 timeUs, accessUnit->data() + userData[i], accessUnit->size() - userData[i]); in extractFromMPEGUserData()
319 bool NuPlayer::CCDecoder::parseMPEGUserDataUnit(int64_t timeUs, const uint8_t *data, size_t size) { in parseMPEGUserDataUnit() argument
326 return parseMPEGCCData(timeUs, data + 9, size - 9); in parseMPEGUserDataUnit()
333 bool NuPlayer::CCDecoder::parseMPEGCCData(int64_t timeUs, const uint8_t *data, size_t size) { in parseMPEGCCData() argument
365 timeUs, mDTVCCPacket->data(), mDTVCCPacket->size()); in parseMPEGCCData()
407 trackAdded |= parseDTVCCPacket(timeUs, mDTVCCPacket->data(), mDTVCCPacket->size()); in parseMPEGCCData()
416 mCCMap.add(timeUs, line21CCBuf); in parseMPEGCCData()
423 bool NuPlayer::CCDecoder::parseDTVCCPacket(int64_t timeUs, const uint8_t *data, size_t size) { in parseDTVCCPacket() argument
461 mCCMap.add(timeUs, ccPacket); in parseDTVCCPacket()
498 void NuPlayer::CCDecoder::display(int64_t timeUs) { in display() argument
503 ssize_t index = mCCMap.indexOfKey(timeUs); in display()
505 ALOGV("cc for timestamp %" PRId64 " not found", timeUs); in display()
536 ccBuf->meta()->setInt64("timeUs", timeUs); in display()