Home | History | Annotate | Download | only in sampleDriver

Lines Matching full:buff

475         BufferDesc buff = {};
476 buff.width = mVideo.getWidth();
477 buff.height = mVideo.getHeight();
478 buff.stride = mStride;
479 buff.format = mFormat;
480 buff.usage = mUsage;
481 buff.bufferId = idx;
482 buff.memHandle = mBuffers[idx].handle;
487 mapper.lock(buff.memHandle,
489 android::Rect(buff.width, buff.height),
499 mFillBufferFromVideo(buff, (uint8_t*)targetPixels, pData, mVideo.getStride());
502 mapper.unlock(buff.memHandle);
511 auto result = mStream->deliverFrame(buff);
513 ALOGD("Delivered %p as id %d", buff.memHandle.getNativeHandle(), buff.bufferId);