Home
last modified time | relevance | path

Searched refs:fZ (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/include/core/
DSkPoint3.h14 SkScalar fX, fY, fZ; member
24 SkScalar z() const { return fZ; } in z()
26 void set(SkScalar x, SkScalar y, SkScalar z) { fX = x; fY = y; fZ = z; } in set()
29 return a.fX == b.fX && a.fY == b.fY && a.fZ == b.fZ;
42 SkScalar length() const { return SkPoint3::Length(fX, fY, fZ); } in length()
54 p.set(scale * fX, scale * fY, scale * fZ); in makeScale()
63 fZ *= value; in scale()
73 neg.fZ = -fZ;
82 v.set(a.fX - b.fX, a.fY - b.fY, a.fZ - b.fZ);
90 v.set(a.fX + b.fX, a.fY + b.fY, a.fZ + b.fZ);
[all …]
/external/skia/src/utils/
DSkCamera.cpp36 SkScalar mag = SkScalarSqrt(fX*fX + fY*fY + fZ*fZ); in normalize()
41 unit->fZ = fZ * scale; in normalize()
43 unit->fX = unit->fY = unit->fZ = 0; in normalize()
49 return a.fX * b.fX + a.fY * b.fY + a.fZ * b.fZ; in Dot()
57 SkScalar x = a.fY * b.fZ - a.fZ * b.fY; in Cross()
58 SkScalar y = a.fZ * b.fX - a.fX * b.fY; in Cross()
86 SkScalar cx = SkScalarMul(fU.fY, fV.fZ) - SkScalarMul(fU.fZ, fV.fY); in dotWith()
87 SkScalar cy = SkScalarMul(fU.fZ, fV.fX) - SkScalarMul(fU.fX, fV.fY); in dotWith()
205 fObserver.set(0, 0, fLocation.fZ); in reset()
224 zenith.fZ = fZenith.fZ - dot * axis.fZ; in doUpdate()
[all …]
/external/skia/src/core/
DSkPoint3.cpp48 if (is_length_nearly_zero(fX, fY, fZ, &magSq)) { in normalize()
62 double zz = fZ; in normalize()
70 fZ = z * dscale; in normalize()
78 fZ *= scale; in normalize()
DSkLightingShader.cpp463 if (color.fZ <= 0.0f) { in convert()
464 color.fZ = 0.0f; in convert()
465 } else if (color.fZ >= 255.0f) { in convert()
466 color.fZ = 255.0f; in convert()
469 return SkPreMultiplyARGB(a, (int) color.fX, (int) color.fY, (int) color.fZ); in convert()
521 xformedNorm.fZ = norm.fZ; in shadeSpan()
540 accum.fZ += light.color().fZ * SkColorGetB(diffColor) * NdotL; in shadeSpan()
DSkGeometry.cpp951 SkScalar fX, fY, fZ; member
954 fX = x; fY = y; fZ = z; in set()
958 dst->set(fX / fZ, fY / fZ); in projectDown()
984 p3d_interp(&tmp[0].fZ, &tmp2[0].fZ, t); in chopAt()
1000 SkScalar root = SkScalarSqrt(tmp2[1].fZ); in chopAt()
1001 dst[0].fW = tmp2[0].fZ / root; in chopAt()
1002 dst[1].fW = tmp2[2].fZ / root; in chopAt()
1256 SkScalar w0 = dst[0].fZ; in TransformW()
1257 SkScalar w1 = dst[1].fZ; in TransformW()
1258 SkScalar w2 = dst[2].fZ; in TransformW()
/external/skia/include/utils/
DSkCamera.h18 SkScalar fX, fY, fZ; member
21 fX = x; fY = y; fZ = z; in set()
28 SkScalar fX, fY, fZ; member
31 fX = x; fY = y; fZ = z; in set()
83 return this->dotWith(v.fX, v.fY, v.fZ); in dotWith()
/external/skia/bench/
DMatrix44Bench.cpp97 fX = fY = fZ = SkDoubleToMScalar(1.5); in PreScaleMatrix44Bench()
103 fM0.preScale(fX, fY, fZ); in performTest()
108 SkMScalar fX, fY, fZ; member in PreScaleMatrix44Bench
234 fX = fY = fZ = SkDoubleToMScalar(1.5); in PostScaleMatrix44Bench()
240 fM0.postScale(fX, fY, fZ); in performTest()
245 SkMScalar fX, fY, fZ; member in PostScaleMatrix44Bench
/external/clang/test/CodeGenCXX/
Dconversion-function.cpp30 operator X() { printf("perator X()\n"); x.iX += iZ; x.fX += fZ; return x; } in operator X()
32 float fZ; member
33 Z() : iZ(1), fZ(1.00) {} in Z()
/external/skia/tests/
DPoint3Test.cpp117 SkScalar fZ; in DEF_TEST() member
127 test_length(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fZ, gRec[i].fLength); in DEF_TEST()
128 test_normalize(reporter, gRec[i].fX, gRec[i].fY, gRec[i].fZ, gRec[i].fLength); in DEF_TEST()
DImageFilterTest.cpp256 SkPoint3 target = SkPoint3::Make(location.fX, location.fY, location.fZ); in DEF_TEST()
/external/opencv3/modules/ts/misc/
Dcolor.py221 fZ = math.pow(Z, 1./3.)
223 fZ = 7.787 * Z + 16./116.
227 b = 200. * (fY - fZ)
/external/skia/src/effects/
DSkLightingImageFilter.cpp74 vector->fZ *= scale; in fast_normalize()
89 SkClampMax(SkScalarRoundToInt(color.fZ), 255)); in light()
106 halfDir.fZ += SK_Scalar1; // eye position is always (0, 0, 1) in light()
115 SkClampMax(SkScalarRoundToInt(color.fZ), 255)); in light()
321 point.fZ = buffer.readScalar(); in readPoint3()
324 SkScalarIsFinite(point.fZ)); in readPoint3()
331 buffer.writeScalar(point.fZ); in writePoint3()
852 fLocation.fZ - SkScalarMul(SkIntToScalar(z), in surfaceToLight()
881 SkPoint locationZ = SkPoint::Make(fLocation.fZ, fLocation.fZ); in transform()
932 SkPoint locationZ = SkPoint::Make(fLocation.fZ, fLocation.fZ); in transform()
[all …]
/external/elfutils/
DGPG-KEY29 fZ+om9xfg0JOcKZIZ0X91dLQp5x99aCmzwWeWy9LFPTAf9pYky8wXzteEotE/Tkm
/external/skia/src/animator/
DSkDraw3D.cpp20 SK_MEMBER_ALIAS(z, fPoint.fZ, Float)
/external/skia/tools/
Dsk_tool_utils.cpp244 unsigned char b = static_cast<unsigned char>((0.5f * norm.fZ + 0.5f) * 255); in norm_to_rgb()
264 norm.fZ = sqrtf(1.0f - tmp); in create_hemi_normal_map()
/external/llvm/test/Other/
Dconstant-fold-gep.ll431 ; PLAIN: define i32* @fZ() #0 {
435 ; OPT: define i32* @fZ() #0 {
438 ; TO: define i32* @fZ() #0 {
441 ; SCEV: Classifying expressions for: @fZ
445 define i32* @fZ() nounwind {
Dconstant-fold-gep-address-spaces.ll225 ; PLAIN: define i32 addrspace(1)* @fZ() #0 {
230 define i32 addrspace(1)* @fZ() #0 {
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp1063 SkScalar z() const { return fZ; } in z()
1078 return fZ == fZ && in onIsEqual()
1091 , fZ(z) in GrImprovedPerlinNoiseEffect()
1106 SkScalar fZ; member in GrImprovedPerlinNoiseEffect
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/detail/
Dcolor_cvt.hpp985 int fZ = LabCbrt_b(CV_CUDEV_DESCALE(B * 3575 + G * 448 + R * 73, lab_shift)); in operator ()() local
989 int b = CV_CUDEV_DESCALE(200 * (fY - fZ) + 128 * (1 << lab_shift2), lab_shift2); in operator ()()
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/pkb/fr-FR/
Dfr-FR_kdt_posp.pkb224 …��e�ŵ%�8�6��a����[��4"[m3g���PDX�����RP�6�k���� ������,6fZ�[[�\�_4_�`0`�aVbHb�…
/external/opencv3/modules/core/include/opencv2/core/cuda/detail/
Dcolor_detail.hpp1563 int fZ = LabCbrt_b(CV_DESCALE(B * 3575 + G * 448 + R * 73, lab_shift)); in RGB2LabConvert_b() local
1567 int b = CV_DESCALE(200 * (fY - fZ) + 128 * (1 << lab_shift2), lab_shift2); in RGB2LabConvert_b()
/external/opencv3/modules/imgproc/test/
Dtest_color.cpp1038 float fZ = Z > 0.008856f ? pow(Z, _1_3f): in convert_row_bgr2abc_32f_c3() local
1054 float b = 200.f * (fY - fZ); in convert_row_bgr2abc_32f_c3()
/external/opencv3/modules/imgproc/src/opencl/
Dcvtcolor.cl1664 int fZ = LabCbrtTab_b[CV_DESCALE(mad24(R, C6, mad24(G, C7, B*C8)), lab_shift)];
1668 int b = CV_DESCALE( mad24(200, fY - fZ, 128*(1 << lab_shift2)), lab_shift2 );
/external/webrtc/data/voice_engine/stereo_rtp_files/
Dstereo_g729_jitter.rtp325 …Q�e�۷F>�1J`��ˬg�"e���F<�W�<�4��Fq����C�I��Xx���jY�Rd"��:����2��fZ`�Bu�xV��6�<�4��F�…
Dstereo_g729.rtp329 …Q�e�۷F>�1J`��ˬg�"e���F<�W�<�4��F(����C�I��Xx���jY�Rd"��:����2��fZ`�Bu�xV��6�<�4��F<…

12