Lines Matching refs:accessUnit
224 bool NuPlayer::CCDecoder::extractFromSEI(const sp<ABuffer> &accessUnit) { in extractFromSEI() argument
226 if (!accessUnit->meta()->findBuffer("sei", &sei) || sei == NULL) { in extractFromSEI()
231 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); in extractFromSEI()
239 timeUs, accessUnit->data() + nal->nalOffset, nal->nalSize); in extractFromSEI()
316 bool NuPlayer::CCDecoder::extractFromMPEGUserData(const sp<ABuffer> &accessUnit) { in extractFromMPEGUserData() argument
318 if (!accessUnit->meta()->findBuffer("mpeg-user-data", &mpegUserData) in extractFromMPEGUserData()
324 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); in extractFromMPEGUserData()
331 if (accessUnit->size() < userData[i]) { in extractFromMPEGUserData()
337 timeUs, accessUnit->data() + userData[i], accessUnit->size() - userData[i]); in extractFromMPEGUserData()
531 void NuPlayer::CCDecoder::decode(const sp<ABuffer> &accessUnit) { in decode() argument
532 if (extractFromMPEGUserData(accessUnit) || extractFromSEI(accessUnit)) { in decode()