Home
last modified time | relevance | path

Searched refs:GrallocModule (Results 1 – 6 of 6) sorted by relevance

/device/google/cuttlefish/guest/hals/camera/
DGrallocModule.h24 class GrallocModule {
26 static GrallocModule &getInstance() { in getInstance()
27 static GrallocModule instance; in getInstance()
43 GrallocModule();
DGrallocModule.cpp29 GrallocModule::GrallocModule() { in GrallocModule() function in GrallocModule
49 int GrallocModule::import(buffer_handle_t handle, in import()
82 int GrallocModule::release(buffer_handle_t handle) { in release()
106 int GrallocModule::lock(buffer_handle_t handle, int usage, int l, int t, int w, in lock()
149 int GrallocModule::lock_ycbcr(buffer_handle_t handle, int usage, int l, int t, in lock_ycbcr()
202 int GrallocModule::unlock(buffer_handle_t handle) { in unlock()
DPreviewWindow.cpp150 res = GrallocModule::getInstance().import(*buffer, &importedBuffer); in onNextFrameAvailable()
159 res = GrallocModule::getInstance().lock(importedBuffer, in onNextFrameAvailable()
181 GrallocModule::getInstance().unlock(importedBuffer); in onNextFrameAvailable()
182 GrallocModule::getInstance().release(importedBuffer); in onNextFrameAvailable()
DEmulatedFakeCamera3.cpp890 res = GrallocModule::getInstance().import(*(destBuf.buffer), in processCaptureRequest()
905 res = GrallocModule::getInstance().lock_ycbcr( in processCaptureRequest()
918 res = GrallocModule::getInstance().lock( in processCaptureRequest()
921 res = GrallocModule::getInstance().lock( in processCaptureRequest()
935 GrallocModule::getInstance().unlock((*sensorBuffers)[i].importedBuffer); in processCaptureRequest()
936 GrallocModule::getInstance().release((*sensorBuffers)[i].importedBuffer); in processCaptureRequest()
2629 GrallocModule::getInstance().unlock(sensorBuffer.importedBuffer); in threadLoop()
2630 GrallocModule::getInstance().release(sensorBuffer.importedBuffer); in threadLoop()
2644 GrallocModule::getInstance().unlock(jpegBuffer.importedBuffer); in onJpegDone()
2645 GrallocModule::getInstance().release(jpegBuffer.importedBuffer); in onJpegDone()
DEmulatedFakeCamera2.cpp1060 res = GrallocModule::getInstance().import(*(b.buffer), &b.importedBuffer); in getBuffers()
1073 res = GrallocModule::getInstance().lock( in getBuffers()
1099 res = GrallocModule::getInstance().import(*(b.buffer), &b.importedBuffer); in getBuffers()
1112 res = GrallocModule::getInstance().lock( in getBuffers()
1379 GrallocModule::getInstance().unlock(b.importedBuffer); in threadLoop()
1380 GrallocModule::getInstance().release(b.importedBuffer); in threadLoop()
1422 GrallocModule::getInstance().unlock(jpegBuffer.importedBuffer); in onJpegDone()
1423 GrallocModule::getInstance().release(jpegBuffer.importedBuffer); in onJpegDone()
1431 GrallocModule::getInstance().unlock(inputBuffer.importedBuffer); in onJpegInputDone()
1432 GrallocModule::getInstance().release(inputBuffer.importedBuffer); in onJpegInputDone()
DAndroid.mk79 GrallocModule.cpp \