Home
last modified time | relevance | path

Searched refs:blurredPixel (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/utils/
DBlur.cpp96 float blurredPixel = 0.0f; in horizontal() local
104 blurredPixel = 0.0f; in horizontal()
111 blurredPixel += currentPixel * gPtr[0]; in horizontal()
127 blurredPixel += currentPixel * gPtr[0]; in horizontal()
131 *output = (uint8_t)blurredPixel; in horizontal()
139 float blurredPixel = 0.0f; in vertical() local
146 blurredPixel = 0.0f; in vertical()
154 blurredPixel += currentPixel * gPtr[0]; in vertical()
171 blurredPixel += currentPixel * gPtr[0]; in vertical()
175 *output = (uint8_t)blurredPixel; in vertical()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp118 float4 blurredPixel = 0; in OneVU4() local
124 blurredPixel += pf * gPtr[0]; in OneVU4()
128 out[0] = blurredPixel; in OneVU4()
136 float blurredPixel = 0; in OneVU1() local
141 blurredPixel += pf * gPtr[0]; in OneVU1()
145 out[0] = blurredPixel; in OneVU1()
183 float4 blurredPixel = 0; in OneVFU4() local
188 blurredPixel += pf * gp[0]; in OneVFU4()
192 out->xyzw = blurredPixel; in OneVFU4()
207 float blurredPixel = 0; in OneVFU1() local
[all …]
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold_half.rscript78 half3 blurredPixel = 0;
84 blurredPixel += i.xyz * gaussian[gi++];
90 blurredPixel += i.xyz * gaussian[gi++];
94 out.xyz = convert_uchar3(clamp(blurredPixel, (half) 0.f, (half) 255.f));
100 half4 blurredPixel = 0;
105 blurredPixel += i * gaussian[gi++];
112 blurredPixel += i * gaussian[gi++];
116 return blurredPixel;
Dthreshold.rscript78 float3 blurredPixel = 0;
84 blurredPixel += i.xyz * gaussian[gi++];
90 blurredPixel += i.xyz * gaussian[gi++];
94 out.xyz = convert_uchar3(clamp(blurredPixel, 0.f, 255.f));
100 float4 blurredPixel = 0;
105 blurredPixel += i * gaussian[gi++];
112 blurredPixel += i * gaussian[gi++];
116 return blurredPixel;
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dthreshold.rscript78 float3 blurredPixel = 0;
84 blurredPixel += i.xyz * gaussian[gi++];
90 blurredPixel += i.xyz * gaussian[gi++];
94 out.xyz = convert_uchar3(clamp(blurredPixel, 0.f, 255.f));
100 float4 blurredPixel = 0;
105 blurredPixel += i * gaussian[gi++];
112 blurredPixel += i * gaussian[gi++];
116 return blurredPixel;
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dthreshold.rscript78 float3 blurredPixel = 0;
84 blurredPixel += i.xyz * gaussian[gi++];
90 blurredPixel += i.xyz * gaussian[gi++];
94 out.xyz = convert_uchar3(clamp(blurredPixel, 0.f, 255.f));
100 float4 blurredPixel = 0;
105 blurredPixel += i * gaussian[gi++];
112 blurredPixel += i * gaussian[gi++];
116 return blurredPixel;