Lines Matching refs:height

101 Sensor::Sensor(uint32_t width, uint32_t height):  in Sensor()  argument
103 mResolution{width, height}, in Sensor()
104 mActiveArray{0, 0, width, height},
105 mRowReadoutTime(kFrameDurationRange[0] / height),
115 mSceneHeight((height < Scene::kMaxHeight) ? height : Scene::kMaxHeight),
118 ALOGV("Sensor created with pixel array %d x %d", width, height);
324 i, b.streamId, b.width, b.height, b.format, b.stride, in threadLoop()
331 captureRGB(b.img, gain, b.width, b.height); in threadLoop()
334 captureRGBA(b.img, gain, b.width, b.height); in threadLoop()
344 bAux.height = b.height; in threadLoop()
349 bAux.img = new uint8_t[b.width * b.height * 3]; in threadLoop()
356 captureYU12(b.img, gain, b.width, b.height); in threadLoop()
363 captureDepth(b.img, gain, b.width, b.height); in threadLoop()
434 void Sensor::captureRGBA(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height) { in captureRGBA() argument
439 unsigned int DivH= (float)mSceneHeight/height * (0x1 << 10); in captureRGBA()
442 for (unsigned int outY = 0; outY < height; outY++) { in captureRGBA()
473 void Sensor::captureRGB(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height) { in captureRGB() argument
478 unsigned int DivH= (float)mSceneHeight/height * (0x1 << 10); in captureRGB()
481 for (unsigned int outY = 0; outY < height; outY++) { in captureRGB()
509 void Sensor::captureYU12(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height) { in captureYU12() argument
533 unsigned int DivH= (float)mSceneHeight/height * (0x1 << 10); in captureYU12()
535 for (unsigned int outY = 0; outY < height; outY++) { in captureYU12()
538 uint8_t *pxU = img + height * width + (outY / 2) * (width / 2); in captureYU12()
539 uint8_t *pxV = pxU + (height / 2) * (width / 2); in captureYU12()
568 void Sensor::captureDepth(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height) { in captureDepth() argument
573 unsigned int DivH= (float)mSceneHeight/height * (0x1 << 10); in captureDepth()
576 for (unsigned int outY = 0; outY < height; outY++) { in captureDepth()