Home
last modified time | relevance | path

Searched refs:clr (Results 1 – 25 of 41) sorted by relevance

12

/external/pdfium/third_party/lcms2-2.6/src/
Dcmscam02.c103 CAM02COLOR XYZtoCAT02(CAM02COLOR clr) in XYZtoCAT02() argument
105 clr.RGB[0] = (clr.XYZ[0] * 0.7328) + (clr.XYZ[1] * 0.4296) + (clr.XYZ[2] * -0.1624); in XYZtoCAT02()
106 clr.RGB[1] = (clr.XYZ[0] * -0.7036) + (clr.XYZ[1] * 1.6975) + (clr.XYZ[2] * 0.0061); in XYZtoCAT02()
107 clr.RGB[2] = (clr.XYZ[0] * 0.0030) + (clr.XYZ[1] * 0.0136) + (clr.XYZ[2] * 0.9834); in XYZtoCAT02()
109 return clr; in XYZtoCAT02()
113 CAM02COLOR ChromaticAdaptation(CAM02COLOR clr, cmsCIECAM02* pMod) in ChromaticAdaptation() argument
118 clr.RGBc[i] = ((pMod -> adoptedWhite.XYZ[1] * in ChromaticAdaptation()
120 (1.0 - pMod->D)) * clr.RGB[i]; in ChromaticAdaptation()
123 return clr; in ChromaticAdaptation()
128 CAM02COLOR CAT02toHPE(CAM02COLOR clr) in CAT02toHPE() argument
[all …]
/external/valgrind/none/tests/s390x/
Dcomp-2.stdout.exp1 clr (0, 0) --> cc = 0
2 clr (0, 1) --> cc = 1
3 clr (1, 0) --> cc = 2
4 clr (2, 1) --> cc = 2
5 clr (2, 2) --> cc = 0
6 clr (2, 3) --> cc = 1
7 clr (0, 127) --> cc = 1
8 clr (127, 0) --> cc = 2
9 clr (127, 126) --> cc = 2
10 clr (127, 127) --> cc = 0
[all …]
Dspechelper-clr.vgtest1 prog: spechelper-clr
DMakefile.am17 spechelper-cr spechelper-clr \
/external/mesa3d/src/gallium/state_trackers/vega/
Dvg_translate.c528 VGfloat clr[4]; in _vega_unpack_float_span_rgba() local
529 clr[0] = ((*src >> 11) & 31)/31.; in _vega_unpack_float_span_rgba()
530 clr[1] = ((*src >> 5) & 63)/63.; in _vega_unpack_float_span_rgba()
531 clr[2] = ((*src >> 0) & 31)/31.; in _vega_unpack_float_span_rgba()
532 clr[3] = 1.f; in _vega_unpack_float_span_rgba()
534 util_pack_color(clr, PIPE_FORMAT_R32G32B32A32_FLOAT, &uc); in _vega_unpack_float_span_rgba()
547 VGfloat clr[4]; in _vega_unpack_float_span_rgba() local
548 clr[0] = ((*src >> 10) & 31)/31.; in _vega_unpack_float_span_rgba()
549 clr[1] = ((*src >> 5) & 31)/31.; in _vega_unpack_float_span_rgba()
550 clr[2] = ((*src >> 1) & 31)/31.; in _vega_unpack_float_span_rgba()
[all …]
Dpaint.c95 static INLINE VGuint float4_to_argb(const VGfloat *clr) in float4_to_argb() argument
97 return float_to_ubyte(clr[3]) << 24 | in float4_to_argb()
98 float_to_ubyte(clr[0]) << 16 | in float4_to_argb()
99 float_to_ubyte(clr[1]) << 8 | in float4_to_argb()
100 float_to_ubyte(clr[2]) << 0; in float4_to_argb()
/external/opencv/otherlibs/highgui/
Dutils.h50 #define WRITE_PIX( ptr, clr ) \ argument
51 (((uchar*)(ptr))[0] = (clr).b, \
52 ((uchar*)(ptr))[1] = (clr).g, \
53 ((uchar*)(ptr))[2] = (clr).r)
100 int& y, int height, int count3, PaletteEntry clr );
102 int& y, int height, int count3, uchar clr );
Dutils.cpp383 int count3, PaletteEntry clr ) in FillUniColor() argument
396 WRITE_PIX( data, clr ); in FillUniColor()
415 int count, uchar clr ) in FillUniGray() argument
428 *data = clr; in FillUniGray()
451 PaletteEntry clr = palette[indices[0]]; in FillColorRow8() local
452 WRITE_PIX( data - 3, clr ); in FillColorRow8()
480 PaletteEntry clr = palette[idx >> 4]; in FillColorRow4() local
481 WRITE_PIX( data - 6, clr ); in FillColorRow4()
485 clr = palette[idx & 15]; in FillColorRow4()
486 WRITE_PIX( data - 3, clr ); in FillColorRow4()
[all …]
Dgrfmt_bmp.cpp263 PaletteEntry clr[2]; in ReadData() local
267 clr[0] = m_palette[code >> 4]; in ReadData()
268 clr[1] = m_palette[code & 15]; in ReadData()
277 WRITE_PIX( data, clr[t] ); in ReadData()
/external/opencv3/modules/imgcodecs/src/
Dutils.hpp50 #define WRITE_PIX( ptr, clr ) \ argument
51 (((uchar*)(ptr))[0] = (clr).b, \
52 ((uchar*)(ptr))[1] = (clr).g, \
53 ((uchar*)(ptr))[2] = (clr).r)
112 int& y, int height, int count3, PaletteEntry clr );
114 int& y, int height, int count3, uchar clr );
Dutils.cpp404 int count3, PaletteEntry clr ) in FillUniColor() argument
417 WRITE_PIX( data, clr ); in FillUniColor()
436 int count, uchar clr ) in FillUniGray() argument
449 *data = clr; in FillUniGray()
472 PaletteEntry clr = palette[indices[0]]; in FillColorRow8() local
473 WRITE_PIX( data - 3, clr ); in FillColorRow8()
501 PaletteEntry clr = palette[idx >> 4]; in FillColorRow4() local
502 WRITE_PIX( data - 6, clr ); in FillColorRow4()
506 clr = palette[idx & 15]; in FillColorRow4()
507 WRITE_PIX( data - 3, clr ); in FillColorRow4()
[all …]
Dgrfmt_jpeg2000.cpp168 Mat clr; in readData() local
171 clr.create(img.size().height, img.size().width, this->type()); in readData()
173 data = clr.ptr(); in readData()
174 step = (int)clr.step; in readData()
276 if (!clr.empty()) in readData()
278 cv::cvtColor(clr, img, COLOR_BGR2GRAY); in readData()
Dgrfmt_bmp.cpp261 PaletteEntry clr[2]; in readData() local
265 clr[0] = m_palette[code >> 4]; in readData()
266 clr[1] = m_palette[code & 15]; in readData()
275 WRITE_PIX( data, clr[t] ); in readData()
/external/toybox/lib/
Dargs.c144 struct opts *clr; in gotflag() local
148 for (clr=gof->opts, i=1; clr; clr = clr->next, i<<=1) in gotflag()
149 if (clr->arg && (i & toys.optflags & opt->dex[0])) *clr->arg = 0; in gotflag()
/external/zlib/src/examples/
Dgzjoin.c279 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, in gzcopy() argument
314 if (last && clr) in gzcopy()
354 if (last && clr) in gzcopy()
367 if (last && clr) in gzcopy()
381 if (pos == 0 || !clr) in gzcopy()
420 if (!clr) { in gzcopy()
/external/mesa3d/src/mesa/sparc/
Dsparc_clip.S92 clr %l2
93 clr %l0
160 clr %g3 ! IEU0
181 clr %l2
182 clr %l0
230 clr %g3 ! IEU0
Dxform.S72 clr %o1
144 clr %o1
187 clr %o1
241 clr %o1
289 clr %o1
352 clr %o1
403 clr %o1
454 clr %o1
499 clr %o1
529 clr %o1
[all …]
Dnorm.S47 clr %o4 ! 'i' for STRIDE_LOOP
186 clr %o4 ! 'i' for STRIDE_LOOP
289 clr %o4 ! 'i' for STRIDE_LOOP
340 clr %o4 ! 'i' for STRIDE_LOOP
400 clr %o4 ! 'i' for STRIDE_LOOP
442 clr %o4 ! 'i' for STRIDE_LOOP
498 clr %o4 ! 'i' for STRIDE_LOOP
582 clr %o4 ! 'i' for STRIDE_LOOP
/external/srtp/
Dconfig.status808 t clr
809 : clr
855 t clr
856 : clr
871 t clr
872 : clr
918 t clr
919 : clr
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp329 const tcu::RGBA clr = renderedImg.getPixel(x, y); in drawAndCheckGradient() local
331 if (constPos > 0 && clr != prevConstantDirectionPix) in drawAndCheckGradient()
337 …< " (since dithering is disabled), but the color at position (" << x << ", " << y << ") is " << clr in drawAndCheckGradient()
347 prevConstantDirectionPix = clr; in drawAndCheckGradient()
/external/deqp/modules/gles2/functional/
Des2fDitheringTests.cpp329 const tcu::RGBA clr = renderedImg.getPixel(x, y); in drawAndCheckGradient() local
331 if (constPos > 0 && clr != prevConstantDirectionPix) in drawAndCheckGradient()
339 …< " (since dithering is disabled), but the color at position (" << x << ", " << y << ") is " << clr in drawAndCheckGradient()
349 prevConstantDirectionPix = clr; in drawAndCheckGradient()
/external/mksh/src/
Dvar.c737 typeset(const char *var, uint32_t set, uint32_t clr, int field, int base) in typeset() argument
751 if ((clr & (ARRAY | ASSOC)) == ASSOC) { in typeset()
753 clr &= ~(ARRAY | ASSOC); in typeset()
902 (val || clr || (set & ~EXPORT))) in typeset()
908 if (set | clr) { in typeset()
922 ((t->flag & INTEGER) && (clr & INTEGER)) || in typeset()
939 t->flag = (t->flag | set) & ~clr; in typeset()
/external/llvm/test/MC/X86/
Dx86-64.s464 clr %di label
465 clr %esi label
466 clr %rsi label
/external/llvm/lib/Target/Sparc/
DSparcInstrAliases.td382 // clr rd -> or %g0, %g0, rd
383 def : InstAlias<"clr $rd", (ORrr IntRegs:$rd, G0, G0), 0>;
385 // clr{b,h,} [addr] -> st{b,h,} %g0, [addr]
390 def : InstAlias<"clr [$addr]", (STrr MEMrr:$addr, G0), 0>;
391 def : InstAlias<"clr [$addr]", (STri MEMri:$addr, G0), 0>;
/external/llvm/test/MC/Sparc/
Dsparc-synthetic-instructions.s103 clr %g1
109 clr [%g1+%g2]

12