/third_party/boost/libs/math/example/ |
D | HSO4.hpp | 146 …math::quaternion<TYPE_FLOAT> > R4_rotation_to_quaternions( R4_matrix<TYPE_FLOAT> const & rot, in R4_rotation_to_quaternions() argument 149 if (!is_R4_rotation_matrix(rot)) in R4_rotation_to_quaternions() 159 mat.a11 = -rot.a31*rot.a42+rot.a32*rot.a41+rot.a22*rot.a11-rot.a21*rot.a12; in R4_rotation_to_quaternions() 160 mat.a12 = -rot.a31*rot.a43+rot.a33*rot.a41+rot.a23*rot.a11-rot.a21*rot.a13; in R4_rotation_to_quaternions() 161 mat.a13 = -rot.a31*rot.a44+rot.a34*rot.a41+rot.a24*rot.a11-rot.a21*rot.a14; in R4_rotation_to_quaternions() 162 mat.a21 = -rot.a31*rot.a12-rot.a22*rot.a41+rot.a32*rot.a11+rot.a21*rot.a42; in R4_rotation_to_quaternions() 163 mat.a22 = -rot.a31*rot.a13-rot.a23*rot.a41+rot.a33*rot.a11+rot.a21*rot.a43; in R4_rotation_to_quaternions() 164 mat.a23 = -rot.a31*rot.a14-rot.a24*rot.a41+rot.a34*rot.a11+rot.a21*rot.a44; in R4_rotation_to_quaternions() 165 mat.a31 = +rot.a31*rot.a22-rot.a12*rot.a41+rot.a42*rot.a11-rot.a21*rot.a32; in R4_rotation_to_quaternions() 166 mat.a32 = +rot.a31*rot.a23-rot.a13*rot.a41+rot.a43*rot.a11-rot.a21*rot.a33; in R4_rotation_to_quaternions() [all …]
|
D | HSO3SO4.cpp | 75 R3_matrix<float> rot = quaternion_to_R3_rotation(q); in test_SO3_spherical() local 78 ::std::cout << "\t" << rot.a11 << "\t" << rot.a12 << "\t" << rot.a13 << ::std::endl; in test_SO3_spherical() 80 ::std::cout << "\t" << rot.a21 << "\t" << rot.a22 << "\t" << rot.a23 << ::std::endl; in test_SO3_spherical() 82 ::std::cout << "\t" << rot.a31 << "\t" << rot.a32 << "\t" << rot.a33 << ::std::endl; in test_SO3_spherical() 84 ::boost::math::quaternion<float> p = R3_rotation_to_quaternion(rot, &q); in test_SO3_spherical() 131 R3_matrix<float> rot = quaternion_to_R3_rotation(q); in test_SO3_semipolar() local 134 ::std::cout << "\t" << rot.a11 << "\t" << rot.a12 << "\t" << rot.a13 << ::std::endl; in test_SO3_semipolar() 136 ::std::cout << "\t" << rot.a21 << "\t" << rot.a22 << "\t" << rot.a23 << ::std::endl; in test_SO3_semipolar() 138 ::std::cout << "\t" << rot.a31 << "\t" << rot.a32 << "\t" << rot.a33 << ::std::endl; in test_SO3_semipolar() 140 ::boost::math::quaternion<float> p = R3_rotation_to_quaternion(rot, &q); in test_SO3_semipolar() [all …]
|
D | HSO3.hpp | 100 void find_invariant_vector( R3_matrix<TYPE_FLOAT> const & rot, in find_invariant_vector() argument 109 TYPE_FLOAT b11 = rot.a11 - static_cast<TYPE_FLOAT>(1); in find_invariant_vector() 110 TYPE_FLOAT b12 = rot.a12; in find_invariant_vector() 111 TYPE_FLOAT b13 = rot.a13; in find_invariant_vector() 112 TYPE_FLOAT b21 = rot.a21; in find_invariant_vector() 113 TYPE_FLOAT b22 = rot.a22 - static_cast<TYPE_FLOAT>(1); in find_invariant_vector() 114 TYPE_FLOAT b23 = rot.a23; in find_invariant_vector() 115 TYPE_FLOAT b31 = rot.a31; in find_invariant_vector() 116 TYPE_FLOAT b32 = rot.a32; in find_invariant_vector() 117 TYPE_FLOAT b33 = rot.a33 - static_cast<TYPE_FLOAT>(1); in find_invariant_vector() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_rotate.c | 116 RotContext *rot = ctx->priv; in init() local 118 if (!strcmp(rot->fillcolor_str, "none")) in init() 119 rot->fillcolor_enable = 0; in init() 120 else if (av_parse_color(rot->fillcolor, rot->fillcolor_str, -1, ctx) >= 0) in init() 121 rot->fillcolor_enable = 1; in init() 129 RotContext *rot = ctx->priv; in uninit() local 131 av_expr_free(rot->angle_expr); in uninit() 132 rot->angle_expr = NULL; in uninit() 168 RotContext *rot = opaque; in get_rotated_w() local 169 double inw = rot->var_values[VAR_IN_W]; in get_rotated_w() [all …]
|
D | vf_hqx.c | 99 #define SHF(x, rot, n) (((x) >> ((rot) ? 7-DROP4(n) : DROP4(n)) & 1) << DROP4(p##n)) argument 107 #define INTERP_BOOTSTRAP(rot) \ argument 108 const int k_shuffled = SHF(k,rot,0) | SHF(k,rot,1) | SHF(k,rot,2) \ 109 | SHF(k,rot,3) | 0 | SHF(k,rot,5) \ 110 | SHF(k,rot,6) | SHF(k,rot,7) | SHF(k,rot,8); \
|
/third_party/toybox/toys/lsb/ |
D | md5sum.c | 134 unsigned int in, a, rot, temp; in md5_transform() local 139 rot = 7+(5*(i&3)); in md5_transform() 145 rot = temp*5; in md5_transform() 146 if (temp&2) rot--; in md5_transform() 151 rot = i&3; in md5_transform() 152 rot = 4+(5*rot)+((rot+1)&6); in md5_transform() 156 rot = (i&3)+1; in md5_transform() 157 rot = (5*rot)+(((rot+2)&2)>>1); in md5_transform() 161 x[a] = x[(a+1)&3] + ((temp<<rot) | (temp>>(32-rot))); in md5_transform() 175 unsigned *rot[5], *temp; in sha1_transform() local [all …]
|
/third_party/gstreamer/gstplugins_good/gst/goom/ |
D | tentacle3d.c | 54 float rot; /* entre 0 et 2 * G_PI */ member 88 data->rot = 0.0f; /* entre 0 et 2 * G_PI */ in tentacle_fx_init() 268 if (fabs (tmp - fx_data->rot) > fabs (tmp - (fx_data->rot + 2.0 * G_PI))) { in pretty_move() 269 fx_data->rot = (tmp + 15.0f * (fx_data->rot + 2 * G_PI)) / 16.0f; in pretty_move() 270 if (fx_data->rot > 2.0 * G_PI) in pretty_move() 271 fx_data->rot -= 2.0 * G_PI; in pretty_move() 272 *rotangle = fx_data->rot; in pretty_move() 273 } else if (fabs (tmp - fx_data->rot) > in pretty_move() 274 fabs (tmp - (fx_data->rot - 2.0 * G_PI))) { in pretty_move() 275 fx_data->rot = (tmp + 15.0f * (fx_data->rot - 2.0 * G_PI)) / 16.0f; in pretty_move() [all …]
|
/third_party/openssl/crypto/md5/asm/ |
D | md5-sparcv9.pl | 66 my $rot = (7,12,17,22)[$i%4]; 81 sll $a,$rot,$t3 83 srl $a,32-$rot,$a 97 sll $a,$rot,$t3 99 srl $a,32-$rot,$a 109 my $rot = (7,12,17,22)[$i%4]; 119 sll $a,$rot,$t3 121 srl $a,32-$rot,$a 130 my $rot = (5,9,14,20)[$i%4]; 144 sll $a,$rot,$t3 [all …]
|
/third_party/libnl/lib/ |
D | hash.c | 56 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) macro 104 a -= c; a ^= rot(c, 4); c += b; \ 105 b -= a; b ^= rot(a, 6); a += c; \ 106 c -= b; c ^= rot(b, 8); b += a; \ 107 a -= c; a ^= rot(c,16); c += b; \ 108 b -= a; b ^= rot(a,19); a += c; \ 109 c -= b; c ^= rot(b, 4); b += a; \ 139 c ^= b; c -= rot(b,14); \ 140 a ^= c; a -= rot(c,11); \ 141 b ^= a; b -= rot(a,25); \ [all …]
|
/third_party/skia/gm/ |
D | dstreadshuffle.cpp | 86 SkMatrix rot; in drawShape() local 87 rot.setRotate(360.f / 5, 50.f, 70.f); in drawShape() 89 rot.mapPoints(points + i, points + i - 1, 1); in drawShape() 131 SkMatrix rot; in DrawHairlines() local 132 rot.setRotate(360.f / kNumHairlines, 15.5f, 12.f); in DrawHairlines() 133 rot.postTranslate(3.f, 0); in DrawHairlines() 137 rot.mapPoints(pts, 2); in DrawHairlines()
|
D | sharedcorners.cpp | 129 SkMatrix rot; in drawTriangleBoxes() local 130 rot.setRotate(45, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes() 131 path.transform(rot); in drawTriangleBoxes() 135 rot.setRotate(-45 - 69.38111f, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes() 136 path.transform(rot); in drawTriangleBoxes()
|
/third_party/flutter/skia/gm/ |
D | dstreadshuffle.cpp | 84 SkMatrix rot; in drawShape() local 85 rot.setRotate(360.f / 5, 50.f, 70.f); in drawShape() 87 rot.mapPoints(points + i, points + i - 1, 1); in drawShape() 127 SkMatrix rot; in DrawHairlines() local 128 rot.setRotate(360.f / kNumHairlines, 15.5f, 12.f); in DrawHairlines() 129 rot.postTranslate(3.f, 0); in DrawHairlines() 133 rot.mapPoints(pts, 2); in DrawHairlines()
|
D | sharedcorners.cpp | 129 SkMatrix rot; in drawTriangleBoxes() local 130 rot.setRotate(45, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes() 131 path.transform(rot); in drawTriangleBoxes() 135 rot.setRotate(-45 - 69.38111f, path.getBounds().centerX(), path.getBounds().centerY()); in drawTriangleBoxes() 136 path.transform(rot); in drawTriangleBoxes()
|
/third_party/skia/modules/skottie/src/effects/ |
D | DirectionalBlur.cpp | 39 const auto rot = fDirection - 90; in onSync() local 41 SkImageFilters::MatrixTransform(SkMatrix::RotateDeg(rot), in onSync() 44 SkImageFilters::MatrixTransform(SkMatrix::RotateDeg(-rot), in onSync()
|
/third_party/zlib/examples/ |
D | gzappend.c | 123 local void rotate(unsigned char *list, unsigned len, unsigned rot) in rotate() argument 131 if (rot >= len) rot %= len; in rotate() 132 if (rot == 0) return; in rotate() 138 if (rot == 1) { in rotate() 146 if (rot == len - 1) { in rotate() 154 cycles = gcd(len, rot); /* number of cycles */ in rotate() 160 from += rot; /* go right rot positions */ in rotate()
|
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/examples/ |
D | gzappend.c | 123 local void rotate(unsigned char *list, unsigned len, unsigned rot) in rotate() argument 131 if (rot >= len) rot %= len; in rotate() 132 if (rot == 0) return; in rotate() 138 if (rot == 1) { in rotate() 146 if (rot == len - 1) { in rotate() 154 cycles = gcd(len, rot); /* number of cycles */ in rotate() 160 from += rot; /* go right rot positions */ in rotate()
|
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/examples/ |
D | gzappend.c | 123 local void rotate(unsigned char *list, unsigned len, unsigned rot) in rotate() argument 131 if (rot >= len) rot %= len; in rotate() 132 if (rot == 0) return; in rotate() 138 if (rot == 1) { in rotate() 146 if (rot == len - 1) { in rotate() 154 cycles = gcd(len, rot); /* number of cycles */ in rotate() 160 from += rot; /* go right rot positions */ in rotate()
|
/third_party/flutter/skia/modules/skottie/src/ |
D | SkottieAdapter.cpp | 149 SkMatrix44 rot; in totalMatrix() local 150 rot.setRotateDegreesAbout(1, 0, 0, this->getRotation().fX); in totalMatrix() 151 cam_t.postConcat(rot); in totalMatrix() 152 rot.setRotateDegreesAbout(0, 1, 0, this->getRotation().fY); in totalMatrix() 153 cam_t.postConcat(rot); in totalMatrix() 154 rot.setRotateDegreesAbout(0, 0, 1, -this->getRotation().fZ); in totalMatrix() 155 cam_t.postConcat(rot); in totalMatrix()
|
/third_party/skia/docs/examples/ |
D | picture_shader.cpp | 30 SkMatrix rot; in draw_wheel() local 31 rot.setRotate(90.0f); in draw_wheel() 33 SK_ARRAY_COUNT(sweep_colors), 0, &rot)); in draw_wheel()
|
/third_party/openssl/crypto/camellia/asm/ |
D | cmll-x86.pl | 481 my ($i0,$i1,$i2,$i3,$rot,$rnd,@T)=@_; 484 if ($rot) { 486 &shld ($i0,$i1,$rot); 487 &shld ($i1,$i2,$rot); 488 &shld ($i2,$i3,$rot); 489 &shld ($i3,$idx,$rot); 501 my ($i0,$i1,$i2,$i3,$rot,$rnd,@T)=@_; 504 if ($rot) { 506 &shl ($i0,$rot); 508 &shr ($idx,32-$rot); [all …]
|
D | cmll-x86_64.pl | 408 my ($i0,$i1,$rot)=@_; 410 if ($rot) { 413 shld \$$rot,$i1,$i0 414 shld \$$rot,%r11,$i1 423 my ($i0,$i1,$rot)=@_; 425 if ($rot) { 428 shl \$$rot,$i0 430 shr \$`64-$rot`,%r9 431 shr \$`64-$rot`,%r11 433 shl \$$rot,$i1
|
/third_party/boost/libs/numeric/odeint/examples/ |
D | solar_system.agr | 54 @timestamp rot 0 111 @ string rot 0 121 @ string rot 0 131 @ string rot 0 141 @ string rot 0 151 @ string rot 0 161 @ string rot 0 385 @ s0 avalue rot 0 434 @ s1 avalue rot 0 483 @ s2 avalue rot 0 [all …]
|
/third_party/pixman/test/ |
D | prng-test.c | 37 #define rot(x,k) (((x)<<(k))|((x)>>(32-(k)))) macro 39 u4 e = x->a - rot(x->b, 27); in ranval() 40 x->a = x->b ^ rot(x->c, 17); in ranval()
|
/third_party/flutter/skia/samplecode/ |
D | SampleLitAtlas.cpp | 57 SkScalar newRot = SkScalarMod(fShip.rot() + (2*SK_ScalarPI - SK_ScalarPI/32.0f), in left() 63 SkScalar newRot = SkScalarMod(fShip.rot() + SK_ScalarPI/32.0f, 2 * SK_ScalarPI); in right() 68 SkScalar s = SkScalarSin(fShip.rot()), in thrust() 69 c = SkScalarCos(fShip.rot()); in thrust() 383 SkScalar rot() const { return fRot; } in rot() function in DrawLitAtlasDrawable::ObjectRecord 384 void setRot(SkScalar rot) { fRot = rot; } in setRot() argument
|
/third_party/skia/platform_tools/android/apps/androidkitdemo/src/main/java/org/skia/androidkitdemo1/ |
D | CubeActivity.java | 175 final float rot = (float) Math.PI; in CubeRenderer() local 177 new Face(0, -rot/2, new ImageShaderSample(res, R.raw.brickwork_texture)), in CubeRenderer() 179 new Face(0, rot , new RuntimeSample(res, R.raw.runtime_shader1)), in CubeRenderer() 180 new Face(rot/2, 0 , new SkottieSample(res, R.raw.permission)), in CubeRenderer() 181 new Face(0, rot/2 , new RuntimeSample(res, R.raw.runtime_shader2)), in CubeRenderer()
|