Searched refs:pColor (Results 1 - 25 of 39) sorted by relevance

12

/xsrc/external/mit/libX11/dist/src/xcms/
H A DXYZ.c60 static int CIEXYZ_ParseString(register char *spec, XcmsColor *pColor);
107 XcmsColor *pColor)
143 &pColor->spec.CIEXYZ.X,
144 &pColor->spec.CIEXYZ.Y,
145 &pColor->spec.CIEXYZ.Z) != 3) {
155 &pColor->spec.CIEXYZ.X,
156 &pColor->spec.CIEXYZ.Y,
157 &pColor->spec.CIEXYZ.Z) != 3) {
165 pColor->format = XcmsCIEXYZFormat;
166 pColor
104 CIEXYZ_ParseString(register char * spec,XcmsColor * pColor) argument
183 _XcmsCIEXYZ_ValidSpec(XcmsColor * pColor) argument
[all...]
H A DHVC.c100 static int TekHVC_ParseString(register char *spec, XcmsColor *pColor);
101 static Status XcmsTekHVC_ValidSpec(XcmsColor *pColor);
161 XcmsColor *pColor)
199 &pColor->spec.TekHVC.H,
200 &pColor->spec.TekHVC.V,
201 &pColor->spec.TekHVC.C) != 3) {
211 &pColor->spec.TekHVC.H,
212 &pColor->spec.TekHVC.V,
213 &pColor->spec.TekHVC.C) != 3) {
221 pColor
158 TekHVC_ParseString(register char * spec,XcmsColor * pColor) argument
282 XcmsTekHVC_ValidSpec(XcmsColor * pColor) argument
347 XcmsColor *pColor = pColors_in_out; local in function:XcmsTekHVCToCIEuvY
468 XcmsColor *pColor = pColors_in_out; local in function:XcmsCIEuvYToTekHVC
584 _XcmsTekHVC_CheckModify(XcmsColor * pColor) argument
[all...]
H A DHVCGcC.c94 XcmsColor *pColor;
112 pColor = pColors_in_out + i;
119 _XcmsDIConvertColors(ccc, pColor, &ccc->pPerScrnInfo->screenWhitePt,
121 pColor->spec.TekHVC.H = pColor->spec.TekHVC.C = 0.0;
122 _XcmsDIConvertColors(ccc, pColor, &ccc->pPerScrnInfo->screenWhitePt,
129 if (pColor->format != XcmsTekHVCFormat) {
130 if (_XcmsDIConvertColors(ccc, pColor,
137 pColor->spec.TekHVC.H,
138 pColor
93 XcmsColor *pColor; local in function:XcmsTekHVCClipC
[all...]
H A DLabGcL.c79 XcmsColor *pColor;
98 pColor = pColors_in_out + i;
107 if (_XcmsDIConvertColors(&myCCC, pColor,
113 hue = XCMS_CIELAB_PMETRIC_HUE(pColor->spec.CIELab.a_star,
114 pColor->spec.CIELab.b_star);
115 chroma = XCMS_CIELAB_PMETRIC_CHROMA(pColor->spec.CIELab.a_star,
116 pColor->spec.CIELab.b_star);
119 memcpy((char *)&Lab_max, (char *)pColor, sizeof(XcmsColor));
131 memcpy((char *)pColor, (char *)&Lab_max, sizeof(XcmsColor));
132 retval = _XcmsDIConvertColors(&myCCC, pColor,
78 XcmsColor *pColor; local in function:XcmsCIELabClipL
[all...]
H A DLuvGcL.c79 XcmsColor *pColor;
98 pColor = pColors_in_out + i;
107 if (_XcmsDIConvertColors(&myCCC, pColor,
113 hue = XCMS_CIELUV_PMETRIC_HUE(pColor->spec.CIELuv.u_star,
114 pColor->spec.CIELuv.v_star);
115 chroma = XCMS_CIELUV_PMETRIC_CHROMA(pColor->spec.CIELuv.u_star,
116 pColor->spec.CIELuv.v_star);
119 memcpy((char *)&Luv_max, (char *)pColor, sizeof(XcmsColor));
131 memcpy((char *)pColor, (char *)&Luv_max, sizeof(XcmsColor));
132 retval = _XcmsDIConvertColors(&myCCC, pColor,
78 XcmsColor *pColor; local in function:XcmsCIELuvClipL
[all...]
H A DLabGcC.c81 XcmsColor *pColor;
92 pColor = pColors_in_out + i;
98 _XcmsDIConvertColors(ccc, pColor, ScreenWhitePointOfCCC(ccc),
100 _XcmsDIConvertColors(ccc, pColor, ScreenWhitePointOfCCC(ccc),
107 if (pColor->format != XcmsCIELabFormat) {
108 if (_XcmsDIConvertColors(ccc, pColor,
115 degrees(XCMS_CIELAB_PMETRIC_HUE(pColor->spec.CIELab.a_star,
116 pColor->spec.CIELab.b_star)),
117 pColor->spec.CIELab.L_star,
118 pColor)
80 XcmsColor *pColor; local in function:XcmsCIELabClipab
[all...]
H A DLuvGcC.c81 XcmsColor *pColor;
92 pColor = pColors_in_out + i;
98 _XcmsDIConvertColors(ccc, pColor, ScreenWhitePointOfCCC(ccc),
100 _XcmsDIConvertColors(ccc, pColor, ScreenWhitePointOfCCC(ccc),
107 if (pColor->format != XcmsCIELuvFormat) {
108 if (_XcmsDIConvertColors(ccc, pColor,
115 degrees(XCMS_CIELUV_PMETRIC_HUE(pColor->spec.CIELuv.u_star,
116 pColor->spec.CIELuv.v_star)),
117 pColor->spec.CIELuv.L_star,
118 pColor)
80 XcmsColor *pColor; local in function:XcmsCIELuvClipuv
[all...]
H A DSetCCC.c61 XcmsColor *pColor)
71 if (pColor == NULL || pColor->format == XcmsUndefinedFormat) {
73 } else if (pColor->format != XcmsCIEXYZFormat &&
74 pColor->format != XcmsCIEuvYFormat &&
75 pColor->format != XcmsCIExyYFormat) {
78 memcpy((char *)&ccc->clientWhitePt, (char *)pColor, sizeof(XcmsColor));
58 XcmsSetWhitePoint(XcmsCCC ccc,XcmsColor * pColor) argument
H A DHVCGcVC.c101 XcmsColor *pColor;
128 pColor = pColors_in_out + i;
135 _XcmsDIConvertColors(ccc, pColor, &ccc->pPerScrnInfo->screenWhitePt,
137 pColor->spec.TekHVC.H = pColor->spec.TekHVC.C = 0.0;
138 _XcmsDIConvertColors(ccc, pColor, &ccc->pPerScrnInfo->screenWhitePt,
146 if (_XcmsDIConvertColors(&myCCC, pColor,
152 if (!_XcmsTekHVC_CheckModify(pColor)) {
158 memcpy((char *)&hvc_max, (char *)pColor, sizeof(XcmsColor));
165 if (pColor
100 XcmsColor *pColor; local in function:XcmsTekHVCClipVC
[all...]
H A DxyY.c60 static int CIExyY_ParseString(register char *spec, XcmsColor *pColor);
61 static Status XcmsCIExyY_ValidSpec(XcmsColor *pColor);
120 XcmsColor *pColor)
157 &pColor->spec.CIExyY.x,
158 &pColor->spec.CIExyY.y,
159 &pColor->spec.CIExyY.Y) != 3) {
169 &pColor->spec.CIExyY.x,
170 &pColor->spec.CIExyY.y,
171 &pColor->spec.CIExyY.Y) != 3) {
179 pColor
117 CIExyY_ParseString(register char * spec,XcmsColor * pColor) argument
198 XcmsCIExyY_ValidSpec(XcmsColor * pColor) argument
251 XcmsColor *pColor = pColors_in_out; local in function:XcmsCIExyYToCIEXYZ
359 XcmsColor *pColor = pColors_in_out; local in function:XcmsCIEXYZToCIExyY
[all...]
H A DHVCGcV.c91 XcmsColor *pColor;
117 pColor = pColors_in_out + i;
127 if (_XcmsDIConvertColors(&myCCC, pColor,
134 if (!_XcmsTekHVC_CheckModify (pColor)) {
140 memcpy((char *)&hvc_max, (char *)pColor, sizeof(XcmsColor));
147 if (pColor->spec.TekHVC.C == hvc_max.spec.TekHVC.C) {
150 pColor->spec.TekHVC.V = hvc_max.spec.TekHVC.V;
151 if (!_XcmsTekHVC_CheckModify (pColor)) {
154 retval = _XcmsDIConvertColors(&myCCC, pColor,
156 } else if (pColor
90 XcmsColor *pColor; local in function:XcmsTekHVCClipV
[all...]
H A DLabGcLC.c88 XcmsColor *pColor;
111 pColor = pColors_in_out + i;
117 _XcmsDIConvertColors(ccc, pColor, ScreenWhitePointOfCCC(ccc),
119 _XcmsDIConvertColors(ccc, pColor, ScreenWhitePointOfCCC(ccc),
128 if (_XcmsDIConvertColors(&myCCC, pColor,
136 saveLstar = pColor->spec.CIELab.L_star;
137 hue = XCMS_CIELAB_PMETRIC_HUE(pColor->spec.CIELab.a_star,
138 pColor->spec.CIELab.b_star);
139 chroma = XCMS_CIELAB_PMETRIC_CHROMA(pColor->spec.CIELab.a_star,
140 pColor
87 XcmsColor *pColor; local in function:XcmsCIELabClipLab
[all...]
H A DLuv.c56 static int CIELuv_ParseString(register char *spec, XcmsColor *pColor);
57 static Status XcmsCIELuv_ValidSpec(XcmsColor *pColor);
127 XcmsColor *pColor)
164 &pColor->spec.CIELuv.L_star,
165 &pColor->spec.CIELuv.u_star,
166 &pColor->spec.CIELuv.v_star) != 3) {
176 &pColor->spec.CIELuv.L_star,
177 &pColor->spec.CIELuv.u_star,
178 &pColor->spec.CIELuv.v_star) != 3) {
186 pColor
124 CIELuv_ParseString(register char * spec,XcmsColor * pColor) argument
204 XcmsCIELuv_ValidSpec(XcmsColor * pColor) argument
250 XcmsColor *pColor = pColors_in_out; local in function:XcmsCIELuvToCIEuvY
342 XcmsColor *pColor = pColors_in_out; local in function:XcmsCIEuvYToCIELuv
[all...]
H A DLuvGcLC.c88 XcmsColor *pColor;
111 pColor = pColors_in_out + i;
117 _XcmsDIConvertColors(ccc, pColor, ScreenWhitePointOfCCC(ccc),
119 _XcmsDIConvertColors(ccc, pColor, ScreenWhitePointOfCCC(ccc),
128 if (_XcmsDIConvertColors(&myCCC, pColor,
136 saveLstar = pColor->spec.CIELuv.L_star;
137 hue = XCMS_CIELUV_PMETRIC_HUE(pColor->spec.CIELuv.u_star,
138 pColor->spec.CIELuv.v_star);
139 chroma = XCMS_CIELUV_PMETRIC_CHROMA(pColor->spec.CIELuv.u_star,
140 pColor
87 XcmsColor *pColor; local in function:XcmsCIELuvClipLuv
[all...]
H A DLab.c65 static int CIELab_ParseString(register char *spec, XcmsColor *pColor);
66 static Status XcmsCIELab_ValidSpec(XcmsColor *pColor);
124 XcmsColor *pColor)
161 &pColor->spec.CIELab.L_star,
162 &pColor->spec.CIELab.a_star,
163 &pColor->spec.CIELab.b_star) != 3) {
173 &pColor->spec.CIELab.L_star,
174 &pColor->spec.CIELab.a_star,
175 &pColor->spec.CIELab.b_star) != 3) {
183 pColor
121 CIELab_ParseString(register char * spec,XcmsColor * pColor) argument
203 XcmsCIELab_ValidSpec(XcmsColor * pColor) argument
255 XcmsColor *pColor = pColors_in_out; local in function:XcmsCIELabToCIEXYZ
358 XcmsColor *pColor = pColors_in_out; local in function:XcmsCIEXYZToCIELab
[all...]
H A DuvY.c51 static int CIEuvY_ParseString(register char *spec, XcmsColor *pColor);
121 XcmsColor *pColor)
158 &pColor->spec.CIEuvY.u_prime,
159 &pColor->spec.CIEuvY.v_prime,
160 &pColor->spec.CIEuvY.Y) != 3) {
170 &pColor->spec.CIEuvY.u_prime,
171 &pColor->spec.CIEuvY.v_prime,
172 &pColor->spec.CIEuvY.Y) != 3) {
180 pColor->format = XcmsCIEuvYFormat;
181 pColor
118 CIEuvY_ParseString(register char * spec,XcmsColor * pColor) argument
198 _XcmsCIEuvY_ValidSpec(XcmsColor * pColor) argument
247 XcmsColor *pColor = pColors_in_out; local in function:XcmsCIEuvYToCIEXYZ
362 XcmsColor *pColor = pColors_in_out; local in function:XcmsCIEXYZToCIEuvY
[all...]
H A DXRGB.c202 XcmsColor *pColor)
216 pColor->spec.RGB.red &= MASK[bits_per_rgb];
217 pColor->spec.RGB.green &= MASK[bits_per_rgb];
218 pColor->spec.RGB.blue &= MASK[bits_per_rgb];
196 _XcmsUnresolveColor(XcmsCCC ccc,XcmsColor * pColor) argument
H A DLRGB.c78 static int XcmsLRGB_RGB_ParseString(register char *spec, XcmsColor *pColor);
79 static int XcmsLRGB_RGBi_ParseString(register char *spec, XcmsColor *pColor);
1283 XcmsColor *pColor)
1339 pColor->spec.RGB.red = r << n;
1340 pColor->spec.RGB.green = g << n;
1341 pColor->spec.RGB.blue = b << n;
1359 pShort = &pColor->spec.RGB.red;
1386 pColor->format = XcmsRGBFormat;
1387 pColor->pixel = 0;
1402 XcmsColor *pColor)
1270 XcmsLRGB_RGB_ParseString(register char * spec,XcmsColor * pColor) argument
1388 XcmsLRGB_RGBi_ParseString(register char * spec,XcmsColor * pColor) argument
1488 XcmsColor *pColor = pXcmsColors_in_out; local in function:XcmsCIEXYZToRGBi
[all...]
H A DCv.h52 XcmsColor *pColor);
55 XcmsColor *pColor);
58 XcmsColor *pColor);
183 XcmsColor *pColor);
H A DcmsColNm.c185 XcmsColor *pColor)
225 res = (*pColorSpace->parseString)(string_lowered, pColor);
232 res = (*pColorSpace->parseString)(string_lowered, pColor);
379 XcmsColor *pColor)
481 if (_XcmsParseColorString(ccc, pair->second, pColor) == XcmsSuccess) {
180 _XcmsParseColorString(XcmsCCC ccc,const char * color_string,XcmsColor * pColor) argument
370 _XcmsLookupColorName(XcmsCCC ccc,const char ** name,XcmsColor * pColor) argument
H A DCvCols.c264 XcmsColor *pColor, *pColors_start;
281 pColor = pColors_start = pColors_in_out + iColors;
284 while (iColors < nColors && pColor->format == format) {
285 pColor++;
259 XcmsColor *pColor, *pColors_start; local in function:ConvertMixedColors
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
H A Dtu_meta_clear.c30 const VkClearColorValue *pColor,
27 tu_CmdClearColorImage(VkCommandBuffer commandBuffer,VkImage image_h,VkImageLayout imageLayout,const VkClearColorValue * pColor,uint32_t rangeCount,const VkImageSubresourceRange * pRanges) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/memory/
H A DClearTile.cpp53 /// @param pColor - Pointer to clear color.
114 /// @param pColor - Pointer to color to write to pixels.
118 const float *pColor,
130 srcColor[comp] = pColor[FormatTraits<DstFormat>::swizzle(comp)];
117 StoreClear(const float * pColor,SWR_SURFACE_STATE * pDstSurface,UINT x,UINT y,uint32_t renderTargetArrayIndex) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/
H A Drasterizer_impl.h1453 HOTTILE* pColor = pContext->pHotTileMgr->GetHotTile( local in function:GetRenderHotTiles
1462 pColor->state = HOTTILE_DIRTY;
1463 renderBuffers.pColor[rtSlot] = pColor->pBuffer + offset;
1516 buffers.pColor[rt] += RT::colorRasterTileStep;
1532 startBufferRow.pColor[rt] += RT::colorRasterTileRowStep;
1533 buffers.pColor[rt] = startBufferRow.pColor[rt];
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/memory/
H A DClearTile.cpp53 /// @param pColor - Pointer to clear color.
114 /// @param pColor - Pointer to color to write to pixels.
118 const float *pColor,
130 srcColor[comp] = pColor[FormatTraits<DstFormat>::swizzle(comp)];
117 StoreClear(const float * pColor,SWR_SURFACE_STATE * pDstSurface,UINT x,UINT y,uint32_t renderTargetArrayIndex) argument

Completed in 24 milliseconds

12