Home
last modified time | relevance | path

Searched refs:mFrameHeight (Results 1 – 4 of 4) sorted by relevance

/device/generic/goldfish/camera/
DEmulatedFakeCameraDevice.cpp144 mFrameVOffset = mYStride * mFrameHeight; in startDevice()
145 mFrameUOffset = mFrameVOffset + mUVStride * (mFrameHeight / 2); in startDevice()
150 mFrameUOffset = mYStride * mFrameHeight; in startDevice()
151 mFrameVOffset = mFrameUOffset + mUVStride * (mFrameHeight / 2); in startDevice()
157 mFrameVOffset = mYStride * mFrameHeight; in startDevice()
164 mFrameUOffset = mYStride * mFrameHeight; in startDevice()
239 const int size = std::min(mFrameWidth, mFrameHeight) / 10; in drawCheckerboard()
277 for(int y = 0; y < mFrameHeight; y++) { in drawCheckerboard()
304 const int squareSize = std::min(mFrameWidth, mFrameHeight) / 4; in drawCheckerboard()
308 int squareY = mSquareY * mFrameHeight; in drawCheckerboard()
[all …]
DEmulatedCameraDevice.cpp182 const int ySize = mYStride * mFrameHeight; in getCurrentFrameImpl()
183 const int uvSize = mUVStride * (mFrameHeight / 2); in getCurrentFrameImpl()
189 for (int y = 0; y < mFrameHeight; ++y) { in getCurrentFrameImpl()
202 uint8_t* uvDest = dest + mFrameWidth * mFrameHeight; in getCurrentFrameImpl()
206 for (int y = 0; y < mFrameHeight / 2; ++y) { in getCurrentFrameImpl()
211 uvDest += (mFrameHeight / 2) * (mFrameWidth / 2); in getCurrentFrameImpl()
267 YV12ToRGB32(currentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
270 YU12ToRGB32(currentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
273 NV21ToRGB32(currentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
276 NV12ToRGB32(currentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
[all …]
DEmulatedCameraDevice.h261 return mFrameHeight; in getFrameHeight()
289 return (mFrameWidth * mFrameHeight * 12) / 8; in getVideoFrameBufferSize()
586 int mFrameHeight; variable
DEmulatedQemuCameraDevice.cpp167 res = mQemuClient.queryStart(mPixelFormat, mFrameWidth, mFrameHeight); in startDevice()
172 mFrameWidth, mFrameHeight); in startDevice()