Searched refs:mFrameWidth (Results 1 – 9 of 9) sorted by relevance
/device/generic/goldfish/camera/ |
D | EmulatedCameraDevice.cpp | 184 if (mYStride == mFrameWidth) { in getCurrentFrameImpl() 190 memcpy(dest + y * mFrameWidth, in getCurrentFrameImpl() 192 mFrameWidth); in getCurrentFrameImpl() 196 if (mUVStride == mFrameWidth / 2) { in getCurrentFrameImpl() 202 uint8_t* uvDest = dest + mFrameWidth * mFrameHeight; in getCurrentFrameImpl() 207 memcpy(uvDest + y * (mFrameWidth / 2), in getCurrentFrameImpl() 209 mFrameWidth / 2); 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() [all …]
|
D | EmulatedFakeCameraDevice.cpp | 242 const int size = std::min(mFrameWidth, mFrameHeight) / 10; in drawCheckerboard() 286 for(int x = 0; x < mFrameWidth; x += 2) { in drawCheckerboard() 307 const int squareSize = std::min(mFrameWidth, mFrameHeight) / 4; in drawCheckerboard() 310 int squareX = mSquareX * mFrameWidth; in drawCheckerboard() 312 if (squareX + squareSize > mFrameWidth) { in drawCheckerboard() 314 double relativeWidth = static_cast<double>(squareSize) / mFrameWidth; in drawCheckerboard() 316 squareX = mSquareX * mFrameWidth; in drawCheckerboard() 320 squareX = mSquareX * mFrameWidth; in drawCheckerboard() 352 const int square_xstop = std::min(mFrameWidth, x + size); in drawSquare() 391 for (int x = 0; x < mFrameWidth / 2; ++x, U += mUVStep, V += mUVStep) { in drawSolid() [all …]
|
D | EmulatedCameraDevice.h | 254 return mFrameWidth; in getFrameWidth() 294 return (mFrameWidth * mFrameHeight * 12) / 8; in getVideoFrameBufferSize() 594 int mFrameWidth; variable
|
D | EmulatedQemuCameraDevice.cpp | 167 res = mQemuClient.queryStart(mPixelFormat, mFrameWidth, mFrameHeight); in startDevice() 172 mFrameWidth, mFrameHeight); in startDevice()
|
D | EmulatedFakeRotatingCameraDevice.cpp | 523 init_gl_surface(mFrameWidth, mFrameHeight); in produceFrame() 525 int width=mFrameWidth; in produceFrame() 531 render(mFrameWidth, mFrameHeight); in produceFrame() 543 rgba8888_to_nv21(mPixelBuf, currentFrame, mFrameWidth, mFrameHeight); in fillBuffer()
|
/device/google/cuttlefish/guest/hals/camera/ |
D | EmulatedFakeCameraDevice.cpp | 238 const int size = mFrameWidth / 10; in drawCheckerboard() 264 for (int x = 0; x < mFrameWidth; x += 2) { in drawCheckerboard() 301 const int sqsize = mFrameWidth / 10; in drawCheckerboard() 309 const int square_xstop = std::min(mFrameWidth, x + size); in drawSquare() 311 uint8_t* Y_pos = mCurrentFrame + y * mFrameWidth + x; in drawSquare() 330 Y_pos += mFrameWidth; in drawSquare() 357 for (int y = 0; y < mFrameHeight; y++, pY += mFrameWidth) { in drawStripes() 377 memset(pY, changeExposure(color->Y), mFrameWidth); in drawStripes()
|
D | EmulatedCameraDevice.cpp | 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() 219 mFrameWidth = width; in commonStartDevice() 233 reinterpret_cast<const char*>(&mPixelFormat), mFrameWidth, in commonStartDevice() 239 mFrameWidth = mFrameHeight = mTotalPixels = 0; in commonStopDevice()
|
D | EmulatedCameraDevice.h | 204 return mFrameWidth; in getFrameWidth() 514 int mFrameWidth; variable
|
D | EmulatedQemuCameraDevice.cpp | 161 res = mQemuClient.queryStart(mPixelFormat, mFrameWidth, mFrameHeight); in startDevice() 165 reinterpret_cast<const char*>(&mPixelFormat), mFrameWidth, in startDevice()
|