Lines Matching refs:img
322 " %d x %d, format %x, stride %d, buf %p, img %p",
324 b.buffer, b.img);
327 captureRaw(b.img, gain, b.stride);
330 captureRGB(b.img, gain, b.stride);
333 captureRGBA(b.img, gain, b.stride);
347 bAux.img = new uint8_t[b.width * b.height * 3];
351 captureNV21(b.img, gain, b.stride);
385 void Sensor::captureRaw(uint8_t *img, uint32_t gain, uint32_t stride) {
395 uint16_t *px = (uint16_t*)img + y * stride;
426 void Sensor::captureRGBA(uint8_t *img, uint32_t gain, uint32_t stride) {
433 uint8_t *px = img + outY * stride * 4;
456 void Sensor::captureRGB(uint8_t *img, uint32_t gain, uint32_t stride) {
464 uint8_t *px = img + outY * stride * 3;
485 void Sensor::captureNV21(uint8_t *img, uint32_t gain, uint32_t stride) {
506 uint8_t *pxY = img + outY * stride;
507 uint8_t *pxVU = img + (outH + outY / 2) * stride;