Home
last modified time | relevance | path

Searched refs:mCurrentFrame (Results 1 – 5 of 5) sorted by relevance

/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedCameraDevice.cpp42 mCurrentFrame(NULL), in EmulatedCameraDevice()
51 if (mCurrentFrame != NULL) { in ~EmulatedCameraDevice()
52 delete[] mCurrentFrame; in ~EmulatedCameraDevice()
170 if (mCurrentFrame == NULL || buffer == NULL) { in getCurrentPreviewFrame()
178 YV12ToRGB32(mCurrentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
181 YU12ToRGB32(mCurrentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
184 NV21ToRGB32(mCurrentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
187 NV12ToRGB32(mCurrentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
226 mCurrentFrame = new uint8_t[mFrameBufferSize]; in commonStartDevice()
227 if (mCurrentFrame == NULL) { in commonStartDevice()
[all …]
DEmulatedFakeCameraDevice.cpp123 mFrameV = mCurrentFrame + mTotalPixels; in startDevice()
130 mFrameU = mCurrentFrame + mTotalPixels; in startDevice()
138 mFrameV = mCurrentFrame + mTotalPixels; in startDevice()
146 mFrameU = mCurrentFrame + mTotalPixels; in startDevice()
227 mCameraHAL->onNextFrameAvailable(mCurrentFrame, mCurFrameTimestamp, this); in inWorkerThread()
252 uint8_t* Y = mCurrentFrame; in drawCheckerboard()
311 uint8_t* Y_pos = mCurrentFrame + y * mFrameWidth + x; in drawSquare()
341 memset(mCurrentFrame, changeExposure(adjustedColor.Y), mTotalPixels); in drawSolid()
356 uint8_t* pY = mCurrentFrame; in drawStripes()
DEmulatedQemuCameraDevice.cpp235 mCurrentFrame, mPreviewFrame, mFrameBufferSize, mTotalPixels * 4, in inWorkerThread()
241 mCameraHAL->onNextFrameAvailable(mCurrentFrame, mCurFrameTimestamp, this); in inWorkerThread()
DEmulatedCameraDevice.h505 uint8_t* mCurrentFrame; variable
/device/generic/goldfish/camera/
DEmulatedFakeCameraDevice.cpp383 memset(mCurrentFrame, changeExposure(adjustedColor.Y), in drawSolid()
403 uint8_t* pY = mCurrentFrame; in drawStripes()