Home | History | Annotate | Download | only in default

Lines Matching full:buff

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