Lines Matching refs:mb
1265 MediaBuffer* mb,
1268 size_t outLength = mb->range_length();
1282 ab = new ABuffer(NULL, mb->range_length());
1283 mb->add_ref();
1284 ab->setMediaBufferBase(mb);
1289 mb->setObserver(this);
1291 // Extra increment (since we want to keep mb alive and attached to ab beyond this function
1292 // call. This is to counter the effect of mb->release() towards the end.
1293 mb->add_ref();
1298 (const uint8_t *)mb->data() + mb->range_offset(),
1299 mb->range_length());
1304 if (!mb->meta_data()->findInt32(kKeyValidSamples, &numPageSamples)) {
1308 uint8_t* abEnd = ab->data() + mb->range_length();
1315 CHECK(mb->meta_data()->findInt64(kKeyTime, &timeUs));
1320 if (mb->meta_data()->findInt32(kKeyTemporalLayerId, &layerId)) {
1333 if (mb->meta_data()->findInt64(kKeyDuration, &durationUs)) {
1344 if (mb->meta_data()->findData(kKeySEI, &dataType, &seiData, &seiLength)) {
1351 if (mb->meta_data()->findData(
1357 mb->release();
1358 mb = NULL;