• Home
  • Raw
  • Download

Lines Matching refs:width

57 QemuSensor::QemuSensor(const char *deviceName, uint32_t width, uint32_t height,  in QemuSensor()  argument
60 mWidth(width), in QemuSensor()
62 mActiveArray{0, 0, width, height}, in QemuSensor()
76 ALOGV("QemuSensor created with pixel array %d x %d", width, height);
288 i, b.streamId, b.width, b.height, b.format, b.stride, in threadLoop()
292 captureRGB(b.img, b.width, b.height, b.stride, &timestamp); in threadLoop()
296 captureRGBA(b.width, b.height, b.stride, &timestamp, b.buffer); in threadLoop()
298 captureRGBA(b.img, b.width, b.height, b.stride, &timestamp); in threadLoop()
311 bAux.width = b.width; in threadLoop()
314 bAux.stride = b.width; in threadLoop()
326 bAux.width, bAux.height, bAux.format, in threadLoop()
337 Rect(0, 0, bAux.width, bAux.height), in threadLoop()
346 bAux.img = new uint8_t[b.width * b.height * 3]; in threadLoop()
353 captureYU12(b.width, b.height, b.stride, &timestamp, b.buffer); in threadLoop()
355 captureYU12(b.img, b.width, b.height, b.stride, &timestamp); in threadLoop()
394 void QemuSensor::captureRGBA(uint8_t *img, uint32_t width, uint32_t height, in captureRGBA() argument
398 if (width != (uint32_t)mLastRequestWidth || in captureRGBA()
402 __FUNCTION__, width, height, mLastRequestWidth, in captureRGBA()
426 res = mCameraQemuClient.queryStart(pixFmt, width, height); in captureRGBA()
428 mLastRequestWidth = width; in captureRGBA()
443 if (width != stride) { in captureRGBA()
445 width, stride); in captureRGBA()
449 size_t bufferSize = width * height * 4; in captureRGBA()
461 void QemuSensor::captureRGBA(uint32_t width, uint32_t height, in captureRGBA() argument
469 mLastRequestWidth = width; in captureRGBA()
484 if (width != stride) { in captureRGBA()
486 width, stride); in captureRGBA()
494 mCameraQemuClient.queryFrame(width, height, V4L2_PIX_FMT_RGB32, offset, in captureRGBA()
501 void QemuSensor::captureRGB(uint8_t *img, uint32_t width, uint32_t height, uint32_t stride, int64_t… in captureRGB() argument
505 void QemuSensor::captureYU12(uint8_t *img, uint32_t width, uint32_t height, uint32_t stride, in captureYU12() argument
509 if (width != (uint32_t)mLastRequestWidth || in captureYU12()
513 __FUNCTION__, width, height, mLastRequestWidth, in captureYU12()
536 res = mCameraQemuClient.queryStart(pixFmt, width, height); in captureYU12()
538 mLastRequestWidth = width; in captureYU12()
553 if (width != stride) { in captureYU12()
555 width, stride); in captureYU12()
559 size_t bufferSize = (width * height * 12) / 8; in captureYU12()
571 void QemuSensor::captureYU12(uint32_t width, uint32_t height, uint32_t stride, in captureYU12() argument
579 mLastRequestWidth = width; in captureYU12()
594 if (width != stride) { in captureYU12()
596 width, stride); in captureYU12()
604 mCameraQemuClient.queryFrame(width, height, V4L2_PIX_FMT_YUV420, offset, in captureYU12()