Home
last modified time | relevance | path

Searched refs:mFrameHeight (Results 1 – 9 of 9) 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()
242 const int size = std::min(mFrameWidth, mFrameHeight) / 10; in drawCheckerboard()
280 for(int y = 0; y < mFrameHeight; y++) { in drawCheckerboard()
307 const int squareSize = std::min(mFrameWidth, mFrameHeight) / 4; in drawCheckerboard()
311 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()
278 YV12ToRGB32(currentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
281 YU12ToRGB32(currentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
284 NV21ToRGB32(currentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
287 NV12ToRGB32(currentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
[all …]
DEmulatedCameraDevice.h266 return mFrameHeight; in getFrameHeight()
294 return (mFrameWidth * mFrameHeight * 12) / 8; in getVideoFrameBufferSize()
597 int mFrameHeight; variable
DEmulatedQemuCameraDevice.cpp167 res = mQemuClient.queryStart(mPixelFormat, mFrameWidth, mFrameHeight); in startDevice()
172 mFrameWidth, mFrameHeight); in startDevice()
DEmulatedFakeRotatingCameraDevice.cpp523 init_gl_surface(mFrameWidth, mFrameHeight); in produceFrame()
526 int height = mFrameHeight; in produceFrame()
531 render(mFrameWidth, mFrameHeight); in produceFrame()
543 rgba8888_to_nv21(mPixelBuf, currentFrame, mFrameWidth, mFrameHeight); in fillBuffer()
/device/google/cuttlefish/guest/hals/camera/
DEmulatedCameraDevice.cpp178 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()
220 mFrameHeight = height; in commonStartDevice()
234 mFrameHeight); in commonStartDevice()
239 mFrameWidth = mFrameHeight = mTotalPixels = 0; in commonStopDevice()
DEmulatedFakeCameraDevice.cpp261 for (int y = 0; y < mFrameHeight; y++) { in drawCheckerboard()
310 const int square_ystop = std::min(mFrameHeight, y + size); in drawSquare()
354 const int change_color_at = mFrameHeight / 4; in drawStripes()
357 for (int y = 0; y < mFrameHeight; y++, pY += mFrameWidth) { in drawStripes()
DEmulatedCameraDevice.h215 return mFrameHeight; in getFrameHeight()
517 int mFrameHeight; variable
DEmulatedQemuCameraDevice.cpp161 res = mQemuClient.queryStart(mPixelFormat, mFrameWidth, mFrameHeight); in startDevice()
166 mFrameHeight); in startDevice()