Home
last modified time | relevance | path

Searched refs:rSum (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_lines.c167 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_line() local
174 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_line()
177 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_line()
181 rSum = CHAN_TO_FLOAT(ncv1->color[0]) + ncv1->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_line()
184 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[0], rSum); in _swrast_add_spec_terms_line()
Ds_triangle.c337 GLint rSum = FixedToInt(span->red) + (GLint) sample[RCOMP]; \ in affine_span()
340 dest[RCOMP] = MIN2(rSum, CHAN_MAX); \ in affine_span()
934 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_triangle() local
942 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_triangle()
945 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_triangle()
949 rSum = CHAN_TO_FLOAT(ncv1->color[0]) + ncv1->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_triangle()
952 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[0], rSum); in _swrast_add_spec_terms_triangle()
956 rSum = CHAN_TO_FLOAT(ncv2->color[0]) + ncv2->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_triangle()
959 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[0], rSum); in _swrast_add_spec_terms_triangle()
Ds_points.c518 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_point() local
524 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_point()
527 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_point()
/external/skia/tools/
Dcolorspaceinfo.cpp348 float rSum = xyz.get(0, 0) + xyz.get(1, 0) + xyz.get(2, 0); in load_gamut() local
351 rgb[0].fX = xyz.get(0, 0) / rSum; in load_gamut()
352 rgb[0].fY = xyz.get(1, 0) / rSum; in load_gamut()
/external/skqp/tools/
Dcolorspaceinfo.cpp348 float rSum = xyz.get(0, 0) + xyz.get(1, 0) + xyz.get(2, 0); in load_gamut() local
351 rgb[0].fX = xyz.get(0, 0) / rSum; in load_gamut()
352 rgb[0].fY = xyz.get(1, 0) / rSum; in load_gamut()
/external/sqlite/dist/orig/
Dsqlite3.c108978 double rSum; /* Floating point sum */
109006 p->rSum += v;
109011 p->rSum += sqlite3_value_double(argv[0]);
109023 sqlite3_result_double(context, p->rSum);
109033 sqlite3_result_double(context, p->rSum/(double)p->cnt);
109040 sqlite3_result_double(context, p ? p->rSum : (double)0);
/external/sqlite/dist/
Dsqlite3.c108978 double rSum; /* Floating point sum */
109006 p->rSum += v;
109011 p->rSum += sqlite3_value_double(argv[0]);
109023 sqlite3_result_double(context, p->rSum);
109033 sqlite3_result_double(context, p->rSum/(double)p->cnt);
109040 sqlite3_result_double(context, p ? p->rSum : (double)0);