Home
last modified time | relevance | path

Searched refs:graphic_buffer (Results 1 – 3 of 3) sorted by relevance

/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_surfacetexture.cpp622 void BufferSourceThread::handleBuffer(sp<GraphicBuffer> &graphic_buffer, uint8_t *buffer, in handleBuffer() argument
630 if (!graphic_buffer.get()) { in handleBuffer()
635 size = calcBufSize((int)graphic_buffer->getPixelFormat(), in handleBuffer()
636 graphic_buffer->getWidth(), in handleBuffer()
637 graphic_buffer->getHeight()); in handleBuffer()
649 info.width = graphic_buffer->getWidth(); in handleBuffer()
650 info.height = graphic_buffer->getHeight(); in handleBuffer()
651 info.format = graphic_buffer->getPixelFormat(); in handleBuffer()
652 info.buf = graphic_buffer; in handleBuffer()
661 size = calcBufSize((int) graphic_buffer->getPixelFormat(), crop.width(), crop.height()); in handleBuffer()
[all …]
Dcamera_test_surfacetexture.h150 sp<GraphicBuffer> graphic_buffer; in threadLoop() local
161 graphic_buffer = mSurfaceTexture->getCurrentBuffer(); in threadLoop()
163 Rect crop = getCrop(graphic_buffer, mtx); in threadLoop()
165 mDeferThread->add(graphic_buffer, crop, mCounter++); in threadLoop()
Dcamera_test_bufferqueue.h65 sp<GraphicBuffer> graphic_buffer; in threadLoop() local
87 graphic_buffer = mBufferSlots[item.mBuf].mGraphicBuffer; in threadLoop()
88 mDeferThread->add(graphic_buffer, item.mCrop, mCounter++, item.mBuf); in threadLoop()