Searched refs:bCount (Results 1 – 3 of 3) sorted by relevance
/device/generic/goldfish/camera/ |
D | EmulatorCameraTest.cpp | 72 uint32_t rCount, gCount, bCount; in captureRGBA() local 83 bCount = pixel[Scene::B] * scale64x; in captureRGBA() 87 *px++ = bCount < 255*64 ? bCount / 64 : 255; in captureRGBA() 130 int32_t rCount, gCount, bCount; in captureYU12() local 142 bCount = pixel[Scene::B] * scale64x; in captureYU12() 143 bCount = bCount < saturationPoint ? bCount : 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 438 bCount = pixel[Scene::B] * scale64x; in captureRGBA() 442 *px++ = bCount < 255 * 64 ? bCount / 64 : 255; in captureRGBA() 462 uint32_t rCount, gCount, bCount; in captureRGB() local 467 bCount = pixel[Scene::B] * scale64x; in captureRGB() 471 *px++ = bCount < 255 * 64 ? bCount / 64 : 255; in captureRGB() 507 int32_t rCount, gCount, bCount; in captureNV21() local 514 bCount = pixel[Scene::B] * scale64x; in captureNV21() 515 bCount = bCount < saturationPoint ? bCount : 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 460 bCount = pixel[Scene::B] * scale64x; in captureRGBA() 464 *px++ = bCount < 255*64 ? bCount / 64 : 255; in captureRGBA() 488 uint32_t rCount, gCount, bCount; in captureRGB() local 499 bCount = pixel[Scene::B] * scale64x; in captureRGB() 503 *px++ = bCount < 255*64 ? bCount / 64 : 255; in captureRGB() 544 int32_t rCount, gCount, bCount; in captureYU12() local 556 bCount = pixel[Scene::B] * scale64x; in captureYU12() 557 bCount = bCount < saturationPoint ? bCount : saturationPoint; in captureYU12() 558 *pxY++ = (rgbToY[0] * rCount + rgbToY[1] * gCount + rgbToY[2] * bCount); in captureYU12() [all …]
|