/external/chromium_org/third_party/WebKit/Source/platform/graphics/cpu/arm/filters/ |
D | FEBlendNEON.h | 119 unsigned colorOffset = 0; in platformApplyNEON() local 120 while (colorOffset < colorArrayLength) { in platformApplyNEON() 121 unsigned char alphaA1 = srcPixelArrayA[colorOffset + 3]; in platformApplyNEON() 122 unsigned char alphaB1 = srcPixelArrayB[colorOffset + 3]; in platformApplyNEON() 123 unsigned char alphaA2 = srcPixelArrayA[colorOffset + 7]; in platformApplyNEON() 124 unsigned char alphaB2 = srcPixelArrayB[colorOffset + 7]; in platformApplyNEON() 126 uint16x8_t doubblePixelA = vmovl_u8(vld1_u8(sourcePixelA + colorOffset)); in platformApplyNEON() 127 uint16x8_t doubblePixelB = vmovl_u8(vld1_u8(sourcePixelB + colorOffset)); in platformApplyNEON() 153 vst1_u8(destinationPixel + colorOffset, vmovn_u16(result)); in platformApplyNEON() 158 dstPixelArray[colorOffset + 3] = alphaR1; in platformApplyNEON() [all …]
|
/external/skia/src/effects/ |
D | SkDisplacementMapEffect.cpp | 203 SkIPoint colorOffset = SkIPoint::Make(0, 0), displOffset = SkIPoint::Make(0, 0); in onFilterImage() local 204 if ((colorInput && !colorInput->filterImage(proxy, src, ctx, &color, &colorOffset)) || in onFilterImage() 215 if (!this->applyCropRect(ctx, color, colorOffset, &bounds)) { in onFilterImage() 237 colorBounds.offset(-colorOffset); in onFilterImage() 240 &displ, colorOffset - displOffset, &color, colorBounds); in onFilterImage() 356 SkIPoint colorOffset = SkIPoint::Make(0, 0); in filterImageGPU() local 358 &colorOffset)) { in filterImageGPU() 371 if (!this->applyCropRect(ctx, colorBM, colorOffset, &bounds)) { in filterImageGPU() 402 offsetMatrix.preTranslate(SkIntToScalar(colorOffset.fX - displacementOffset.fX), in filterImageGPU() 403 SkIntToScalar(colorOffset.fY - displacementOffset.fY)); in filterImageGPU() [all …]
|
/external/chromium_org/third_party/skia/src/effects/ |
D | SkDisplacementMapEffect.cpp | 230 SkIPoint colorOffset = SkIPoint::Make(0, 0), displOffset = SkIPoint::Make(0, 0); in onFilterImage() local 231 if ((colorInput && !colorInput->filterImage(proxy, src, ctx, &color, &colorOffset)) || in onFilterImage() 242 if (!this->applyCropRect(ctx, color, colorOffset, &bounds)) { in onFilterImage() 264 colorBounds.offset(-colorOffset); in onFilterImage() 267 &displ, colorOffset - displOffset, &color, colorBounds); in onFilterImage() 381 SkIPoint colorOffset = SkIPoint::Make(0, 0); in filterImageGPU() local 383 &colorOffset)) { in filterImageGPU() 396 if (!this->applyCropRect(ctx, colorBM, colorOffset, &bounds)) { in filterImageGPU() 430 offsetMatrix.preTranslate(SkIntToScalar(colorOffset.fX - displacementOffset.fX), in filterImageGPU() 431 SkIntToScalar(colorOffset.fY - displacementOffset.fY)); in filterImageGPU() [all …]
|
/external/skia/src/gpu/ |
D | GrInOrderDrawBuffer.cpp | 94 int* colorOffset, int* localOffset) { in set_vertex_attributes() argument 95 *colorOffset = -1; in set_vertex_attributes() 105 *colorOffset = sizeof(SkPoint); in set_vertex_attributes() 109 *colorOffset = sizeof(SkPoint); in set_vertex_attributes() 148 int colorOffset, localOffset; in onDrawRect() local 152 &colorOffset, &localOffset); in onDrawRect() 153 if (colorOffset >= 0) { in onDrawRect() 204 if (colorOffset >= 0) { in onDrawRect() 205 GrColor* vertColor = GrTCast<GrColor*>(GrTCast<intptr_t>(geo.vertices()) + colorOffset); in onDrawRect()
|
D | GrContext.cpp | 941 int* colorOffset, in set_vertex_attributes() argument 944 *colorOffset = -1; in set_vertex_attributes() 948 *colorOffset = 2*sizeof(SkPoint); in set_vertex_attributes() 954 *colorOffset = sizeof(SkPoint); in set_vertex_attributes() 980 int colorOffset = -1, texOffset = -1; in drawVertices() local 981 set_vertex_attributes(drawState, texCoords, colors, &colorOffset, &texOffset); in drawVertices() 997 if (colorOffset >= 0) { in drawVertices() 998 *(GrColor*)((intptr_t)curVertex + colorOffset) = colors[i]; in drawVertices()
|
/external/chromium_org/third_party/libXNVCtrl/ |
D | NVCtrlLib.h | 533 float colorOffset[3], 557 float colorOffset[3],
|
D | NVCtrl.c | 833 float colorOffset[3], in XNVCTRLSetGvoColorConversion() 859 req->cscOffset_y = colorOffset[0]; in XNVCTRLSetGvoColorConversion() 860 req->cscOffset_cr = colorOffset[1]; in XNVCTRLSetGvoColorConversion() 861 req->cscOffset_cb = colorOffset[2]; in XNVCTRLSetGvoColorConversion() 876 float colorOffset[3], in XNVCTRLQueryGvoColorConversion() 902 _XRead(dpy, (char *)(colorOffset), 12); in XNVCTRLQueryGvoColorConversion()
|
/external/chromium_org/cc/output/ |
D | shader.cc | 723 uniform vec4 colorOffset; in GetShaderString() 728 texColor = colorMatrix * texColor + colorOffset; in GetShaderString() 1152 uniform vec4 colorOffset; in GetShaderString() 1161 texColor = colorMatrix * texColor + colorOffset; in GetShaderString() 1214 uniform vec4 colorOffset; in GetShaderString() 1222 texColor = colorMatrix * texColor + colorOffset; in GetShaderString() 1280 uniform vec4 colorOffset; in GetShaderString() 1286 texColor = colorMatrix * texColor + colorOffset; in GetShaderString()
|
/external/chromium_org/third_party/skia/src/gpu/ |
D | GrContext.cpp | 953 int* colorOffset, in set_vertex_attributes() argument 956 *colorOffset = -1; in set_vertex_attributes() 960 *colorOffset = 2*sizeof(SkPoint); in set_vertex_attributes() 966 *colorOffset = sizeof(SkPoint); in set_vertex_attributes() 995 int colorOffset = -1, texOffset = -1; in drawVertices() local 996 set_vertex_attributes(drawState, texCoords, colors, &colorOffset, &texOffset); in drawVertices() 1012 if (colorOffset >= 0) { in drawVertices() 1013 *(GrColor*)((intptr_t)curVertex + colorOffset) = colors[i]; in drawVertices()
|