Lines Matching refs:buff
423 BufferDesc buff = {}; in generateFrames() local
424 buff.width = mWidth; in generateFrames()
425 buff.height = mHeight; in generateFrames()
426 buff.stride = mStride; in generateFrames()
427 buff.format = mFormat; in generateFrames()
428 buff.usage = mUsage; in generateFrames()
429 buff.bufferId = idx; in generateFrames()
430 buff.memHandle = mBuffers[idx].handle; in generateFrames()
433 fillTestFrame(buff); in generateFrames()
436 auto result = mStream->deliverFrame(buff); in generateFrames()
438 ALOGD("Delivered %p as id %d", buff.memHandle.getNativeHandle(), buff.bufferId); in generateFrames()
477 void EvsCamera::fillTestFrame(const BufferDesc& buff) { in fillTestFrame() argument
481 mapper.lock(buff.memHandle, in fillTestFrame()
483 android::Rect(buff.width, buff.height), in fillTestFrame()
492 for (unsigned row = 0; row < buff.height; row++) { in fillTestFrame()
493 for (unsigned col = 0; col < buff.width; col++) { in fillTestFrame()
512 pixels = pixels + buff.stride; in fillTestFrame()
516 mapper.unlock(buff.memHandle); in fillTestFrame()