Lines Matching refs:impl
47 const sp<AnotherPacketSource> &impl,
70 const sp<AnotherPacketSource> &impl,
73 mImpl(impl),
160 sp<AnotherPacketSource> impl =
164 if (impl != NULL) {
166 mSourceImpls.push(impl);
173 sp<AnotherPacketSource> impl =
177 if (impl != NULL) {
179 mSourceImpls.push(impl);
198 sp<AnotherPacketSource> impl = haveVideo
239 bufferedDurationUs = impl->getBufferedDurationUs(&err);
244 const sp<MetaData> meta = impl->getFormat();
246 impl->setFormat(meta);
369 const sp<AnotherPacketSource> &impl = mSourceImpls[i];
371 feedUntilBufferAvailable(impl);
372 while (impl->hasBufferAvailable(&err)) {
373 sp<AMessage> meta = impl->getMetaAfterLastDequeued(0);
382 err = impl->dequeueAccessUnit(&buffer);
386 feedUntilBufferAvailable(impl);
399 // After discontinuity, impl should only have discontinuities
402 const sp<AnotherPacketSource> &impl = mSourceImpls.itemAt(i);
405 while (impl->hasBufferAvailable(&err)) {
409 err = impl->dequeueAccessUnit(&buffer);
418 const sp<AnotherPacketSource> &impl = mSourceImpls.itemAt(i);
420 status_t err = feedUntilBufferAvailable(impl);
443 const sp<AnotherPacketSource> &impl = mSourceImpls[i];
445 while ((err = impl->nextBufferTime(&timeUs)) == OK) {
447 impl->dequeueAccessUnit(&buffer);
466 const sp<AnotherPacketSource> &impl) {
468 while (!impl->hasBufferAvailable(&finalResult)) {
475 impl->signalEOS(err);