Lines Matching refs:mFrameWidth
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()
284 NV21ToRGB32(currentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
287 NV12ToRGB32(currentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
373 mFrameWidth = width; in commonStartDevice()
383 reinterpret_cast<const char*>(&mPixelFormat), mFrameWidth, mFrameHeight); in commonStartDevice()
389 mFrameWidth = mFrameHeight = mTotalPixels = 0; in commonStopDevice()