Searched refs:gCount (Results 1 – 3 of 3) sorted by relevance
/device/generic/goldfish/camera/ |
D | EmulatorCameraTest.cpp | 72 uint32_t rCount, gCount, bCount; in captureRGBA() local 82 gCount = pixel[Scene::Gr] * scale64x; in captureRGBA() 86 *px++ = gCount < 255*64 ? gCount / 64 : 255; in captureRGBA() 130 int32_t rCount, gCount, bCount; in captureYU12() local 140 gCount = pixel[Scene::Gr] * scale64x; in captureYU12() 141 gCount = gCount < saturationPoint ? gCount : saturationPoint; in captureYU12() 144 *pxY++ = (rgbToY[0] * rCount + rgbToY[1] * gCount + rgbToY[2] * bCount); in captureYU12() 146 … *pxV++ = (rgbToCr[0] * rCount + rgbToCr[1] * gCount + rgbToCr[2] * bCount + rgbToCr[3]); in captureYU12() 147 … *pxU++ = (rgbToCb[0] * rCount + rgbToCb[1] * gCount + rgbToCb[2] * bCount + rgbToCb[3]); in captureYU12()
|
/device/google/cuttlefish/guest/hals/camera/fake-pipeline2/ |
D | Sensor.cpp | 433 uint32_t rCount, gCount, bCount; in captureRGBA() local 437 gCount = pixel[Scene::Gr] * scale64x; in captureRGBA() 441 *px++ = gCount < 255 * 64 ? gCount / 64 : 255; in captureRGBA() 462 uint32_t rCount, gCount, bCount; in captureRGB() local 466 gCount = pixel[Scene::Gr] * scale64x; in captureRGB() 470 *px++ = gCount < 255 * 64 ? gCount / 64 : 255; in captureRGB() 507 int32_t rCount, gCount, bCount; in captureNV21() local 512 gCount = pixel[Scene::Gr] * scale64x; in captureNV21() 513 gCount = gCount < saturationPoint ? gCount : saturationPoint; in captureNV21() 517 *pxY++ = (rgbToY[0] * rCount + rgbToY[1] * gCount + rgbToY[2] * bCount) / in captureNV21() [all …]
|
/device/generic/goldfish/camera/fake-pipeline2/ |
D | Sensor.cpp | 449 uint32_t rCount, gCount, bCount; in captureRGBA() local 459 gCount = pixel[Scene::Gr] * scale64x; in captureRGBA() 463 *px++ = gCount < 255*64 ? gCount / 64 : 255; in captureRGBA() 488 uint32_t rCount, gCount, bCount; in captureRGB() local 498 gCount = pixel[Scene::Gr] * scale64x; in captureRGB() 502 *px++ = gCount < 255*64 ? gCount / 64 : 255; in captureRGB() 544 int32_t rCount, gCount, bCount; in captureYU12() local 554 gCount = pixel[Scene::Gr] * scale64x; in captureYU12() 555 gCount = gCount < saturationPoint ? gCount : saturationPoint; in captureYU12() 558 *pxY++ = (rgbToY[0] * rCount + rgbToY[1] * gCount + rgbToY[2] * bCount); in captureYU12() [all …]
|