Home
last modified time | relevance | path

Searched refs:rgbIdx (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/codec/
DSkAndroidCodec.cpp29 for (int rgbIdx = 0; rgbIdx < 3; rgbIdx++) { in load_gamut() local
30 float sum = xyz.vals[rgbIdx][0] + xyz.vals[rgbIdx][1] + xyz.vals[rgbIdx][2]; in load_gamut()
31 rgb[rgbIdx].fX = xyz.vals[rgbIdx][0] / sum; in load_gamut()
32 rgb[rgbIdx].fY = xyz.vals[rgbIdx][1] / sum; in load_gamut()
/external/skia/src/codec/
DSkAndroidCodec.cpp29 for (int rgbIdx = 0; rgbIdx < 3; rgbIdx++) { in load_gamut() local
30 float sum = xyz.vals[rgbIdx][0] + xyz.vals[rgbIdx][1] + xyz.vals[rgbIdx][2]; in load_gamut()
31 rgb[rgbIdx].fX = xyz.vals[rgbIdx][0] / sum; in load_gamut()
32 rgb[rgbIdx].fY = xyz.vals[rgbIdx][1] / sum; in load_gamut()