Lines Matching refs:width

58 void captureRGBA(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height, Scene& scene, uint32…  in captureRGBA()  argument
63 unsigned int DivW = (float)sWidth/width * (0x1 << 10); in captureRGBA()
67 uint8_t *px = img + outY * width * 4; in captureRGBA()
71 for (unsigned int outX = 0; outX < width; outX++) { in captureRGBA()
95 void captureYU12(uint8_t *img, uint32_t gain, uint32_t width, uint32_t height, Scene& scene, uint32… in captureYU12() argument
119 unsigned int DivW = (float)sWidth/width * (0x1 << 10); in captureYU12()
122 uint8_t *pxY = img + outY * width; in captureYU12()
123 uint8_t *pxVU = img + (height + outY / 2) * width; in captureYU12()
124 uint8_t *pxU = img + height * width + (outY / 2) * (width / 2); in captureYU12()
125 uint8_t *pxV = pxU + (height / 2) * (width / 2); in captureYU12()
129 for (unsigned int outX = 0; outX < width; outX++) { in captureYU12()
183 uint32_t width = atoi(argv[2]); in main() local
201 std::vector<uint8_t> buf(width * height * 4); in main()
202 Scene scene(width, height, kElectronsPerLuxSecond); in main()
206 captureRGBA(buf.data(), 0, width, height, scene, sceneWidth, sceneHeight); in main()
208 captureYU12(buf.data(), 0, width, height, scene, sceneWidth, sceneHeight); in main()
235 ret = client.queryStart(pixFmt, width, height); in main()
237 ret = client.queryStart(pixFmt, width, height); in main()
252 width, height, uiFmt, 1, usage, in main()
264 Rect(0, 0, width, height), in main()
271 Rect(0, 0, width, height), in main()
284 client.queryFrame(width, height, pixFmt, offset, in main()
295 bufferSize = width * height * 4; in main()
297 bufferSize = width * height * 12 / 8; in main()