Home
last modified time | relevance | path

Searched refs:gSum (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_lines.c168 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_line() local
176 gSum = CHAN_TO_FLOAT(ncv0->color[1]) + ncv0->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_line()
179 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[1], gSum); in _swrast_add_spec_terms_line()
183 gSum = CHAN_TO_FLOAT(ncv1->color[1]) + ncv1->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_line()
186 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[1], gSum); in _swrast_add_spec_terms_line()
Ds_triangle.c338 GLint gSum = FixedToInt(span->green) + (GLint) sample[GCOMP]; \ in affine_span()
341 dest[GCOMP] = MIN2(gSum, CHAN_MAX); \ in affine_span()
934 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_triangle() local
943 gSum = CHAN_TO_FLOAT(ncv0->color[1]) + ncv0->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_triangle()
946 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[1], gSum); in _swrast_add_spec_terms_triangle()
950 gSum = CHAN_TO_FLOAT(ncv1->color[1]) + ncv1->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_triangle()
953 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[1], gSum); in _swrast_add_spec_terms_triangle()
957 gSum = CHAN_TO_FLOAT(ncv2->color[1]) + ncv2->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_triangle()
960 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[1], gSum); in _swrast_add_spec_terms_triangle()
Ds_points.c519 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_point() local
526 gSum = CHAN_TO_FLOAT(ncv0->color[1]) + ncv0->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_point()
529 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[1], gSum); in _swrast_add_spec_terms_point()
/external/skia/src/codec/
DSkAndroidCodec.cpp28 float gSum = xyz.get(0, 1) + xyz.get(1, 1) + xyz.get(2, 1); in load_gamut() local
32 rgb[1].fX = xyz.get(0, 1) / gSum; in load_gamut()
33 rgb[1].fY = xyz.get(1, 1) / gSum; in load_gamut()
/external/skia/tools/
Dcolorspaceinfo.cpp194 float gSum = xyz.get(0, 1) + xyz.get(1, 1) + xyz.get(2, 1); in load_gamut() local
198 rgb[1].fX = xyz.get(0, 1) / gSum; in load_gamut()
199 rgb[1].fY = xyz.get(1, 1) / gSum; in load_gamut()
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...