Searched defs:icolor (Results 1 - 8 of 8) sorted by relevance

/external/opencv3/samples/cpp/
H A Ddrawing.cpp15 int icolor = (unsigned)rng; local
16 return Scalar(icolor&255, (icolor>>8)&255, (icolor>>16)&255);
/external/opencv3/samples/cpp/tutorial_code/core/Matrix/
H A DDrawing_2.cpp100 int icolor = (unsigned) rng; local
101 return Scalar( icolor&255, (icolor>>8)&255, (icolor>>16)&255 );
/external/deqp/modules/gles3/functional/
H A Des3fFboTestUtil.cpp124 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); local
139 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
223 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); local
227 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
410 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); local
414 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
548 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); local
552 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
656 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); local
660 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
764 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); local
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fFboTestUtil.cpp253 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); local
257 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
402 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); local
406 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor);
/external/libpng/contrib/tools/
H A Dgenpng.c113 int icolor = color_count; local
115 while (--icolor >= 0)
117 if (strcmp(colors[icolor].name, arg) == 0)
118 return colors+icolor;
/external/libjpeg-turbo/
H A Djquant2.c478 compute_color (j_decompress_ptr cinfo, boxptr boxp, int icolor) argument
479 /* Compute representative color for a box, put it in colormap[icolor] */
511 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total);
512 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total);
513 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total);
764 int i, icolor; local
791 icolor = GETJSAMPLE(colorlist[i]);
793 inc0 = (minc0 - GETJSAMPLE(cinfo->colormap[0][icolor])) * C0_SCALE;
795 inc1 = (minc1 - GETJSAMPLE(cinfo->colormap[1][icolor])) * C1_SCALE;
797 inc2 = (minc2 - GETJSAMPLE(cinfo->colormap[2][icolor])) * C2_SCAL
[all...]
/external/opencv3/3rdparty/libjpeg/
H A Djquant2.c500 compute_color (j_decompress_ptr cinfo, boxptr boxp, int icolor) argument
501 /* Compute representative color for a box, put it in colormap[icolor] */
533 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total);
534 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total);
535 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total);
786 int i, icolor; local
813 icolor = GETJSAMPLE(colorlist[i]);
815 inc0 = (minc0 - GETJSAMPLE(cinfo->colormap[0][icolor])) * C0_SCALE;
817 inc1 = (minc1 - GETJSAMPLE(cinfo->colormap[1][icolor])) * C1_SCALE;
819 inc2 = (minc2 - GETJSAMPLE(cinfo->colormap[2][icolor])) * C2_SCAL
[all...]
/external/opencv3/modules/imgproc/src/
H A Ddrawing.cpp2507 int icolor = cvRound( packed_color );
2510 scalar.val[0] = icolor & 255;
2511 scalar.val[1] = (icolor >> 8) & 255;
2512 scalar.val[2] = (icolor >> 16) & 255;
2513 scalar.val[3] = (icolor >> 24) & 255;
2517 scalar.val[0] = cv::saturate_cast<uchar>( icolor );
2523 int icolor = cvRound( packed_color ); variable
2526 scalar.val[0] = (char)icolor;
2527 scalar.val[1] = (char)(icolor >> 8);
2528 scalar.val[2] = (char)(icolor >> 1
[all...]

Completed in 2028 milliseconds