Lines Matching refs:buffers

365     // Submit output buffers to the decoder, submit input buffers to client
369 // Returns true iff input and output buffers are in play.
636 // Some codecs may return input buffers before having them processed.
677 // no need to reconnect as we will not dequeue all buffers
704 ALOGE("new surface holds onto more buffers (%d) than planned for (%zu)",
709 // we cannot change the number of output buffers while OMX is running
711 Vector<BufferInfo> &buffers = mBuffers[kPortIndexOutput];
712 ALOGV("setting up surface for %zu buffers", buffers.size());
714 err = native_window_set_buffer_count(nativeWindow, buffers.size());
724 // for meta data mode, we move dequeud buffers to the new surface.
725 // for non-meta mode, we must move all registered buffers
726 for (size_t i = 0; i < buffers.size(); ++i) {
727 const BufferInfo &info = buffers[i];
728 // skip undequeued buffers for meta data mode
746 // cancel undequeued buffers to new surface
748 for (size_t i = 0; i < buffers.size(); ++i) {
749 BufferInfo &info = buffers.editItemAt(i);
767 // push blank buffers to previous window if requested
808 // If using gralloc or native source input metadata buffers, allocate largest
811 // size for native metadata buffers.
833 ALOGV("[%s] Allocating %u buffers of size %zu/%zu (from %u using %s) on %s port",
1052 // 2. try to allocate two (2) additional buffers to reduce starvation from
1102 ALOGV("[%s] Allocating %u buffers from a native window of size %u on "
1106 // Dequeue buffers and send them to OMX
1147 // If an error occurred while dequeuing we need to cancel any buffers
1152 // Return the required minimum undequeued buffers to the native window.
1184 ALOGV("[%s] Allocating %u meta buffers on output port",
1192 // Dequeue buffers and send them to OMX
1223 // preallocate and preregister buffers
1227 ALOGV("[%s] Allocating %u buffers from a native window of size %u on "
1231 // Dequeue buffers then cancel them all
1318 ALOGI("[%s] %s port has %zu buffers:", mComponentName.c_str(),
1418 // Since consumers can attach buffers to BufferQueues, it is possible
1440 // in non-meta mode. These should be treated as stale buffers. The
1469 // it is impossible dequeue a buffer when there are no buffers with ANW
1530 // At this time some buffers may still be with the component
1812 && msg->findInt32("android._store-metadata-in-buffers-output", &storeMeta)
1841 "create-input-buffers-suspended",
1859 ALOGE("protected output buffers must be sent to an ANativeWindow");
1867 // use native_handles for secure input buffers
1943 // Always try to enable dynamic output buffers on native surface
2006 if (msg->findInt32("push-blank-buffers-on-shutdown", &push)
2053 // fallback for devices that do not handle flex-YUV for native buffers
4458 // these buffers will be submitted as regular buffers; account for this
5465 // NOTE: all buffers are rendered in this case
5605 // input buffers cannot take fences, so wait for any fence now
5612 // We're in "store-metadata-in-buffers" mode, the underlying
5631 ALOGE("SHOULD NOT REACH HERE: cannot free empty output buffers");
5671 /* these are unfilled buffers returned by client */
5675 /* buffers with no errors are returned on MediaCodec.flush */
5826 ALOGW("Can't marshall %s data in %zu sized buffers in %zu-bit mode",
5976 // or out-of-order dequeued buffers in the render queue prior to this buffer. Drop these,
5978 // track of buffers that are requeued to the surface, it is better to add support to the
5979 // buffer-queue to notify us of released buffers and their fences (in the future).
5983 // byte buffers cannot take fences, so wait for any fence now
6151 // save buffers sent to the surface so we can get render time when they return
6735 // framework uses ANW buffers internally instead of gralloc handles
6781 // framework uses ANW buffers internally instead of gralloc handles
6825 ALOGE("Failed to allocate buffers after transitioning to IDLE state "
7006 // submit as many buffers as there are input buffers with the codec
7029 ALOGE("buffers should be owned by us or the surface");
7039 ALOGE("buffers should be owned by us");
7078 // Post all available input buffers
7080 ALOGW("[%s] we don't have any input buffers to resume", mCodec->mComponentName.c_str());
7432 ALOGE("disabled port should be empty, but has %zu buffers",
7446 ALOGE_IF(err != OK, "Failed to allocate output port buffers after port "
7578 // We push enough 1x1 blank buffers to ensure that one of
7580 // component teardown to zero out any protected buffers
7581 // without the risk of scanning out one of those buffers.
7789 // We now own all buffers except possibly those still queued with