Home
last modified time | relevance | path

Searched refs:Rotate (Results 1 – 25 of 169) sorted by relevance

1234567

/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Drotate_normalized_axis.inl22 tmat4x4<T, P> Rotate(uninitialize); local
23 Rotate[0][0] = c + temp[0] * axis[0];
24 Rotate[0][1] = 0 + temp[0] * axis[1] + s * axis[2];
25 Rotate[0][2] = 0 + temp[0] * axis[2] - s * axis[1];
27 Rotate[1][0] = 0 + temp[1] * axis[0] - s * axis[2];
28 Rotate[1][1] = c + temp[1] * axis[1];
29 Rotate[1][2] = 0 + temp[1] * axis[2] + s * axis[0];
31 Rotate[2][0] = 0 + temp[2] * axis[0] + s * axis[1];
32 Rotate[2][1] = 0 + temp[2] * axis[1] - s * axis[0];
33 Rotate[2][2] = c + temp[2] * axis[2];
[all …]
/third_party/mindspore/tests/ut/python/dataset/
Dtest_rotate.py40 rotate_op = c_vision.Rotate(90, expand=True)
74 rotate_op = c_vision.Rotate(30)
91 rotate_img = c_vision.Rotate(-90, expand=True)(resize_img)
101 _ = c_vision.Rotate("60")
106 _ = c_vision.Rotate(30, Inter.BICUBIC, False, (0, 0, 0))
111 _ = c_vision.Rotate(-120, Inter.NEAREST, False, (-1, -1), (255, 255))
/third_party/abseil-cpp/absl/hash/internal/
Dcity.cc196 static uint64_t Rotate(uint64_t val, int shift) { in Rotate() function
222 uint64_t c = Rotate(b, 37) * mul + a; in HashLen0to16()
223 uint64_t d = (Rotate(a, 25) + b) * mul; in HashLen0to16()
250 return HashLen16(Rotate(a + b, 43) + Rotate(c, 30) + d, in HashLen17to32()
251 a + Rotate(b + k2, 18) + c, mul); in HashLen17to32()
260 b = Rotate(b + a + z, 21); in WeakHashLen32WithSeeds()
264 b += Rotate(a, 44); in WeakHashLen32WithSeeds()
286 uint64_t u = Rotate(a + g, 43) + (Rotate(b, 30) + c) * 9; in HashLen33to64()
289 uint64_t x = Rotate(e + f, 42) + c; in HashLen33to64()
320 x = Rotate(x + y + v.first + Fetch64(s + 8), 37) * k1; in CityHash64()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/internal/
Dcity.cc196 static uint64_t Rotate(uint64_t val, int shift) { in Rotate() function
223 uint64_t c = Rotate(b, 37) * mul + a; in HashLen0to16()
224 uint64_t d = (Rotate(a, 25) + b) * mul; in HashLen0to16()
251 return HashLen16(Rotate(a + b, 43) + Rotate(c, 30) + d, in HashLen17to32()
252 a + Rotate(b + k2, 18) + c, mul); in HashLen17to32()
260 b = Rotate(b + a + z, 21); in WeakHashLen32WithSeeds()
264 b += Rotate(a, 44); in WeakHashLen32WithSeeds()
287 uint64_t u = Rotate(a + g, 43) + (Rotate(b, 30) + c) * 9; in HashLen33to64()
290 uint64_t x = Rotate(e + f, 42) + c; in HashLen33to64()
323 x = Rotate(x + y + v.first + Fetch64(s + 8), 37) * k1; in CityHash64()
[all …]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dmatrix_transform.inl28 tmat4x4<T, P> Rotate(uninitialize); local
29 Rotate[0][0] = c + temp[0] * axis[0];
30 Rotate[0][1] = temp[0] * axis[1] + s * axis[2];
31 Rotate[0][2] = temp[0] * axis[2] - s * axis[1];
33 Rotate[1][0] = temp[1] * axis[0] - s * axis[2];
34 Rotate[1][1] = c + temp[1] * axis[1];
35 Rotate[1][2] = temp[1] * axis[2] + s * axis[0];
37 Rotate[2][0] = temp[2] * axis[0] + s * axis[1];
38 Rotate[2][1] = temp[2] * axis[1] - s * axis[0];
39 Rotate[2][2] = c + temp[2] * axis[2];
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dvision_lite.h323 class Rotate final : public TensorTransform {
336 explicit Rotate(FixRotationAngle angle_id = FixRotationAngle::k0Degree);
351Rotate(float degrees, InterpolationMode resample = InterpolationMode::kNearestNeighbour, bool expa…
355 ~Rotate() = default;
/third_party/skia/modules/skottie/src/
DCamera.cpp26 const auto cam_t = SkM44::Rotate({0, 0, 1}, SkDegreesToRadians(-rotation.z)) in ComputeCameraMatrix()
27 * SkM44::Rotate({0, 1, 0}, SkDegreesToRadians( rotation.y)) in ComputeCameraMatrix()
28 * SkM44::Rotate({1, 0, 0}, SkDegreesToRadians( rotation.x)) in ComputeCameraMatrix()
DTransform.cpp184 * SkM44::Rotate({ 1, 0, 0 }, SkDegreesToRadians(rotation.x)) in totalMatrix()
185 * SkM44::Rotate({ 0, 1, 0 }, SkDegreesToRadians(rotation.y)) in totalMatrix()
186 * SkM44::Rotate({ 0, 0, 1 }, SkDegreesToRadians(rotation.z)) in totalMatrix()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelDAGToDAG.cpp123 Rotate(0) {} in RxSBGOperands()
131 unsigned Rotate; member
754 if (RxSBG.Rotate != 0) in refineRxSBGMask()
755 Mask = (Mask << RxSBG.Rotate) | (Mask >> (64 - RxSBG.Rotate)); in refineRxSBGMask()
767 if (RxSBG.Rotate != 0) in maskMatters()
768 Mask = ((Mask << RxSBG.Rotate) | (Mask >> (64 - RxSBG.Rotate))); in maskMatters()
840 RxSBG.Rotate = (RxSBG.Rotate + CountNode->getZExtValue()) & 63; in expandRxSBG()
870 if (RxSBG.Mask == 1 && RxSBG.Rotate == 1) in expandRxSBG()
871 RxSBG.Rotate += (BitSize - InnerBitSize); in expandRxSBG()
901 RxSBG.Rotate = (RxSBG.Rotate + Count) & 63; in expandRxSBG()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Drotate_op.cc59 …return Rotate(input, output, center_, degrees_, interpolation_, expand_, fill_r_, fill_g_, fill_b_… in Compute()
61 return Rotate(input, output, angle_id_); in Compute()
Drandom_rotation_op.cc61 return Rotate(input, output, center_, degree, interpolation_, expand_, fill_r_, fill_g_, fill_b_); in Compute()
/third_party/skia/gm/
Dcrbug_224618.cpp63 SkM44 rotateHorizontal = SkM44::Rotate({0, 1, 0}, 2.356194490192345f); in onDraw()
84 SkM44 model = SkM44::Rotate({axisAngles[i].x, axisAngles[i].y, axisAngles[i].z}, in onDraw()
D3d.cpp51 SkM44 m = SkM44::Rotate({0, 1, 0}, SK_ScalarPI/6); in do_draw()
/third_party/skia/src/utils/
DSkCamera.cpp207 fRec->fMatrix.preConcat(SkM44::Rotate({1, 0, 0}, deg * SK_ScalarPI / 180)); in rotateX()
211 fRec->fMatrix.preConcat(SkM44::Rotate({0,-1, 0}, deg * SK_ScalarPI / 180)); in rotateY()
215 fRec->fMatrix.preConcat(SkM44::Rotate({0, 0, 1}, deg * SK_ScalarPI / 180)); in rotateZ()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DMatrixBuiltinsTest.cpp35 TEST_P(MatrixBuiltinsTest, Rotate) in TEST_P() argument
42 angle::Mat4 testMatrix = angle::Mat4::Rotate(angle, angle::Vector3(x, y, z)); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/gles1/
DMatrixBuiltinsTest.cpp35 TEST_P(MatrixBuiltinsTest, Rotate) in TEST_P() argument
42 angle::Mat4 testMatrix = angle::Mat4::Rotate(angle, angle::Vector3(x, y, z)); in TEST_P()
/third_party/skia/modules/skottie/src/effects/
DSphereEffect.cpp347 const SkM44 rx = SkM44::Rotate({1,0,0}, SkDegreesToRadians( x)), in onSync()
348 ry = SkM44::Rotate({0,1,0}, SkDegreesToRadians( y)), in onSync()
349 rz = SkM44::Rotate({0,0,1}, SkDegreesToRadians(-z)); in onSync()
/third_party/skia/bench/
DMatrix44Bench.cpp174 fM = SkM44::Rotate({0.f, 0.f, 1.f}, SkDegreesToRadians(45.f)); in MapRectBench()
181 fM.preConcat(SkM44::Rotate({0.f, 1.f, 0.f}, 0.008f /* radians */)); in MapRectBench()
DCanvasSaveRestoreBench.cpp23 SkM44 m = SkM44::Rotate({0, 0, 1}, 1); in onDraw()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_simple_image.h61 virtual void Rotate (const dng_orientation &orientation);
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_vision_r_to_z_test.cc244 …std::shared_ptr<TensorTransform> rotate1(new vision::Rotate(90.0, InterpolationMode::kNearestNeigh… in TEST_F()
255 new vision::Rotate(-30, InterpolationMode::kNearestNeighbour, false, {1.0, 1.0}, {2, 2})); in TEST_F()
276 new vision::Rotate(90, InterpolationMode::kLinear, true, {-1, -1}, {255, 255, 255})); in TEST_F()
/third_party/skia/samplecode/
DSample3D.cpp65 return SkM44::Rotate(axis, angle); in computeRotation()
113 return SkM44::Rotate(axis, rad); in R()
207 return SkM44::Rotate(fAxis, fAngle); in rotation()
/third_party/skia/modules/skottie/src/text/
DTextAdapter.cpp146 m = m * SkM44::Rotate({0,0,1}, std::atan2(tan.y(), tan.x())); in getMatrix()
715 * SkM44::Rotate({ 1, 0, 0 }, SkDegreesToRadians(props.rotation.x)) in pushPropsToFragment()
716 * SkM44::Rotate({ 0, 1, 0 }, SkDegreesToRadians(props.rotation.y)) in pushPropsToFragment()
717 * SkM44::Rotate({ 0, 0, 1 }, SkDegreesToRadians(props.rotation.z)) in pushPropsToFragment()
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.2/
DOpenCL.std.h149 Rotate = 161, enumerator
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.0/
DOpenCL.std.h149 Rotate = 161, enumerator

1234567