Lines Matching refs:mCurrentFrame
42 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()
232 __FUNCTION__, mCurrentFrame, mFrameBufferSize, mTotalPixels, in commonStartDevice()
243 if (mCurrentFrame != NULL) { in commonStopDevice()
244 delete[] mCurrentFrame; in commonStopDevice()
245 mCurrentFrame = NULL; in commonStopDevice()