/third_party/ffmpeg/libavfilter/ |
H A D | preserve_color.h | 57 float *icolor, float *ocolor) in preserve_color() 61 *icolor = FFMAX3(ir, ig, ib) + FFMIN3(ir, ig, ib); in preserve_color() 65 *icolor = FFMAX3(ir, ig, ib); in preserve_color() 69 *icolor = (ir + ig + ib + 1.f) / 3.f; in preserve_color() 73 *icolor = ir + ig + ib; in preserve_color() 77 *icolor = normalize(ir, ig, ib, max); in preserve_color() 81 *icolor = power(ir, ig, ib, max); in preserve_color() 53 preserve_color(int preserve_color, float ir, float ig, float ib, float r, float g, float b, float max, float *icolor, float *ocolor) preserve_color() argument
|
H A D | vf_colorlevels.c | 141 float ratio, icolor, ocolor, max = s->max; \ 148 &icolor, &ocolor); \ 150 ratio = icolor / ocolor; \
|
H A D | vsrc_testsrc.c | 558 int icolor; in test_fill_picture() local 582 icolor = color; in test_fill_picture() 584 icolor ^= 7; in test_fill_picture() 587 *(p++) = icolor & 1 ? 255 : 0; in test_fill_picture() 588 *(p++) = icolor & 2 ? 255 : 0; in test_fill_picture() 589 *(p++) = icolor & 4 ? 255 : 0; in test_fill_picture()
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
H A D | Canvas.java | 108 public void drawColor(int icolor) { in drawColor() argument 110 (float)((icolor >> 16) & 0xff) / 255, in drawColor() 111 (float)((icolor >> 8) & 0xff) / 255, in drawColor() 112 (float)((icolor >> 0) & 0xff) / 255, in drawColor() 113 (float)((icolor >> 24) & 0xff) / 255 in drawColor()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jquant2.c | 478 compute_color(j_decompress_ptr cinfo, boxptr boxp, int icolor) in compute_color() argument 479 /* Compute representative color for a box, put it in colormap[icolor] */ in compute_color() 511 cinfo->colormap[0][icolor] = (JSAMPLE)((c0total + (total >> 1)) / total); in compute_color() 512 cinfo->colormap[1][icolor] = (JSAMPLE)((c1total + (total >> 1)) / total); in compute_color() 513 cinfo->colormap[2][icolor] = (JSAMPLE)((c2total + (total >> 1)) / total); in compute_color() 764 int i, icolor; in find_best_colors() local 791 icolor = colorlist[i]; in find_best_colors() 793 inc0 = (minc0 - cinfo->colormap[0][icolor]) * C0_SCALE; in find_best_colors() 795 inc1 = (minc1 - cinfo->colormap[1][icolor]) * C1_SCALE; in find_best_colors() 797 inc2 = (minc2 - cinfo->colormap[2][icolor]) * C2_SCAL in find_best_colors() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFboTestUtil.cpp | 124 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); in shadeFragments() local 139 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor); in shadeFragments() 223 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); in shadeFragments() local 227 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor); in shadeFragments() 410 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); in shadeFragments() local 414 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor); in shadeFragments() 548 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); in shadeFragments() local 552 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor); in shadeFragments() 656 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); in shadeFragments() local 660 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor); in shadeFragments() 764 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); shadeFragments() local [all...] |
/third_party/skia/third_party/externals/libpng/contrib/tools/ |
H A D | genpng.c | 114 int icolor = color_count; in color_of() local 116 while (--icolor >= 0) in color_of() 118 if (strcmp(colors[icolor].name, arg) == 0) in color_of() 119 return colors+icolor; in color_of()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fFboTestUtil.cpp | 253 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); in shadeFragments() local 257 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor); in shadeFragments() 408 const tcu::IVec4 icolor = castVectorSaturate<deInt32>(color); in shadeFragments() local 412 else if (m_outputType == glu::TYPE_INT_VEC4) rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, icolor); in shadeFragments()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsTextureStateQueryTests.cpp | 1854 const tcu::IVec4 icolor (0x8000000ul, 0x7FFFFFFF, 0, 0x0FFFFFFF); in test() 1861 gl.glTexParameteriv(m_target, m_pname, icolor.getPtr()); in test() 1864 verifyStateTextureParamNormalizedI32Vec4(result, gl, m_target, m_pname, icolor, m_type); in test() 2478 const tcu::IVec4 icolor (0x8000000ul, 0x7FFFFFFF, 0, 0x0FFFFFFF); in test() 2485 gl.glSamplerParameteriv(m_target, m_pname, icolor.getPtr()); in test() 2488 verifyStateSamplerParamNormalizedI32Vec4(result, gl, m_target, m_pname, icolor, m_type); in test()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp | 6174 glw::GLint icolor[4] = {}; in iterate() local 6180 gl.clearNamedFramebufferiv(m_fbo_invalid, GL_COLOR, 0, icolor); in iterate() 6195 gl.clearNamedFramebufferfi(m_fbo_invalid, GL_DEPTH_STENCIL, 0, fcolor[0], icolor[0]); in iterate() 6202 gl.clearNamedFramebufferiv(m_fbo_valid, GL_DEPTH, 0, icolor); in iterate() 6222 gl.clearNamedFramebufferfi(m_fbo_valid, GL_COLOR, 0, fcolor[0], icolor[0]); in iterate() 6228 gl.clearNamedFramebufferiv(m_fbo_valid, GL_COLOR, -1, icolor); in iterate() 6243 gl.clearNamedFramebufferiv(m_fbo_valid, GL_STENCIL, 1, icolor); in iterate() 6253 gl.clearNamedFramebufferfi(m_fbo_valid, GL_DEPTH_STENCIL, 1, fcolor[0], icolor[0]); in iterate()
|
/third_party/backends/backend/ |
H A D | hp3900_rts8822.c | 14419 SANE_Int icolor; in WShading_Emulate() local 14437 icolor = chncolor; in WShading_Emulate() 14438 data_lsb_set (buffer + pos, icolor, chnsize); in WShading_Emulate()
|