Home
last modified time | relevance | path

Searched refs:rgbToCr (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish/camera/
DEmulatorCameraTest.cpp107 float rgbToCr[] = {32.0,-26.0, -5.0, 524288.0}; in captureYU12() local
115 rgbToCr[i] *= invscaleOutSq; in captureYU12()
146 … *pxV++ = (rgbToCr[0] * rCount + rgbToCr[1] * gCount + rgbToCr[2] * bCount + rgbToCr[3]); in captureYU12()
/device/generic/goldfish/camera/fake-pipeline2/
DSensor.cpp522 float rgbToCr[] = {32.0,-26.0, -5.0, 524288.0}; in captureYU12() local
530 rgbToCr[i] *= invscaleOutSq; in captureYU12()
560 … *pxV++ = (rgbToCr[0] * rCount + rgbToCr[1] * gCount + rgbToCr[2] * bCount + rgbToCr[3]); in captureYU12()
/device/google/cuttlefish/guest/hals/camera/fake-pipeline2/
DSensor.cpp492 const int rgbToCr[] = {32, -26, -5, 524288}; in captureNV21() local
523 *pxVU++ = (rgbToCr[0] * rCount + rgbToCr[1] * gCount + in captureNV21()
524 rgbToCr[2] * bCount + rgbToCr[3]) / in captureNV21()