Home
last modified time | relevance | path

Searched refs:degrees (Results 1 - 25 of 45) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_path.cpp83 bool RSPath::GetPosTan(float distance, Vector2f& pos, float& degrees) const in GetPosTan()
94 degrees = Drawing::ConvertRadiansToDegrees(std::atan2(tangent.GetY(), tangent.GetX())); in GetPosTan()
99 bool RSPath::GetPosTan(float distance, Vector4f& pos, float& degrees) const in GetPosTan()
102 bool res = GetPosTan(distance, position, degrees); in GetPosTan()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_path.h39 bool GetPosTan(float distance, T& pos, float& degrees) const in GetPosTan()
59 RSB_EXPORT bool RSPath::GetPosTan(float distance, Vector2f& pos, float& degrees) const;
61 RSB_EXPORT bool RSPath::GetPosTan(float distance, Vector4f& pos, float& degrees) const;
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_path_test.cpp132 float degrees = 0.0f; in HWTEST_F() local
133 EXPECT_FALSE(rsPath->GetPosTan(0.0f, pos, degrees)); in HWTEST_F()
145 float degrees = 0.0f; in HWTEST_F() local
146 EXPECT_FALSE(rsPath->GetPosTan(0.0f, pos, degrees)); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rspath_fuzzer/
H A Drspath_fuzzer.cpp105 float degrees = GetData<float>(); in DoGetPosTan() local
107 rsPath->GetPosTan(distance, pos, degrees); in DoGetPosTan()
111 rsPath->GetPosTan(distance, postion, degrees); in DoGetPosTan()
112 rsPath->GetPosTan(distance, postions, degrees); in DoGetPosTan()
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/utils/
H A Dexif_utils.cpp77 int degrees = static_cast<int32_t>(positiveValue); in LocationValueToString() local
78 result = result + to_string(degrees) + ", "; in LocationValueToString()
79 positiveValue -= (double)degrees; in LocationValueToString()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Dblur_large_rrects.cpp86 float degrees = 90.f; in OnTestFunction() local
89 OH_Drawing_CanvasRotate(canvas, degrees, px, py); in OnTestFunction()
/foundation/multimedia/image_effect/frameworks/native/render_environment/base/math/
H A Dmath_utils.h38 template<class T> static T Radians(T degrees) in Radians() argument
40 return glm::radians(degrees); in Radians()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/
H A Dmatrix.h54 static inline float DegreesToRadians(const float degrees) in DegreesToRadians() argument
56 return degrees * (FLOAT_PI / RADIAN_FACTOR); in DegreesToRadians()
125 Matrix &SetRotate(const float degrees, const float px = 0.0, const float py = 0.0);
/foundation/window/window_manager/utils/test/unittest/
H A Dwm_math_test.cpp65 float radians = MathHelper::PI, degrees = 180.f; in HWTEST_F() local
66 ASSERT_EQ(true, MathHelper::NearZero(MathHelper::ToDegrees(radians) - degrees)); in HWTEST_F()
67 ASSERT_EQ(true, MathHelper::NearZero(MathHelper::ToRadians(degrees) - radians)); in HWTEST_F()
/foundation/multimedia/camera_framework/services/camera_service/src/
H A Dcamera_util.cpp433 int degrees = 0; in GetStreamRotation() local
436 case DISPALY_ROTATE_0: degrees = STREAM_ROTATE_0; break; in GetStreamRotation()
437 case DISPALY_ROTATE_1: degrees = STREAM_ROTATE_90; break; in GetStreamRotation()
438 case DISPALY_ROTATE_2: degrees = STREAM_ROTATE_180; break; in GetStreamRotation()
439 case DISPALY_ROTATE_3: degrees = STREAM_ROTATE_270; break; // 逆时针转90 in GetStreamRotation()
445 streamRotation = (STREAM_ROTATE_360 + sensorOrientation - degrees) % STREAM_ROTATE_360; in GetStreamRotation()
448 streamRotation = (sensorOrientation + degrees) % STREAM_ROTATE_360; in GetStreamRotation()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_yuv_ext.cpp201 void PixelYuvExt::rotate(float degrees) in rotate() argument
203 if (!IsYuvFormat() || degrees == 0) { in rotate()
209 if (degrees < 0) { in rotate()
210 int n = abs(degrees / DEGREES360); in rotate()
211 degrees += DEGREES360 * (n + 1); in rotate()
216 if (!YuvRotateConvert(imageInfo_.size, degrees, dstWidth, dstHeight, rotateNum)) { in rotate()
H A Dpixel_astc.cpp104 void PixelAstc::rotate(float degrees) in rotate() argument
108 transformData.rotateD = degrees; in rotate()
H A Dpixel_yuv.cpp191 bool PixelYuv::YuvRotateConvert(Size &size, int32_t degrees, int32_t &dstWidth, int32_t &dstHeight, in YuvRotateConvert() argument
194 switch (degrees) { in YuvRotateConvert()
284 void PixelYuv::rotate(float degrees) in rotate() argument
286 if (!IsYuvFormat() || degrees == 0) { in rotate()
289 if (degrees < 0) { in rotate()
290 int n = abs(degrees / DEGREES360); in rotate()
291 degrees += DEGREES360 * (n + 1); in rotate()
296 if (!YuvRotateConvert(imageInfo_.size, degrees, dstWidth, dstHeight, rotateNum)) { in rotate()
313 if (!PixelYuvUtils::YuvRotate(data_, srcInfo, dst, dstInfo, degrees)) { in rotate()
/foundation/arkui/ace_engine/frameworks/core/components/progress/
H A Drosen_render_loading_progress.h51 void RotateCalculate(const Offset& src, Offset& dst, float degrees);
H A Drosen_render_loading_progress.cpp179 void RosenRenderLoadingProgress::RotateCalculate(const Offset& src, Offset& dst, float degrees) in RotateCalculate() argument
182 camera_->rotateY(degrees); in RotateCalculate()
193 camera_->RotateYDegrees(degrees); in RotateCalculate()
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_fe_color_matrix.cpp30 inline float DegreesToRadians(float degrees) in DegreesToRadians() argument
32 return (degrees) * (M_PI / 180.0f); in DegreesToRadians()
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dpixel_yuv.h51 NATIVEEXPORT void rotate(float degrees) override;
73 bool YuvRotateConvert(Size &size, int32_t degrees, int32_t &dstWidth, int32_t &dstHeight,
H A Dpixel_yuv_ext.h34 NATIVEEXPORT void rotate(float degrees) override;
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_svg_painter.cpp967 float degrees = 0.0f; in UpdateMotionMatrix() local
969 degrees = SkRadiansToDegrees(std::atan2(tangent.y(), tangent.x())); in UpdateMotionMatrix()
971 degrees = SkRadiansToDegrees(std::atan2(tangent.y(), tangent.x())) + FLAT_ANGLE; in UpdateMotionMatrix()
973 degrees = StringUtils::StringToDouble(rotate); in UpdateMotionMatrix()
977 rsNode->SetRotation(degrees, 0., 0.); in UpdateMotionMatrix()
989 float degrees = 0.0f; in UpdateMotionMatrix() local
991 degrees = Rosen::Drawing::ConvertRadiansToDegrees(std::atan2(tangent.GetY(), tangent.GetX())); in UpdateMotionMatrix()
993 degrees = Rosen::Drawing::ConvertRadiansToDegrees(std::atan2(tangent.GetY(), tangent.GetX())) + FLAT_ANGLE; in UpdateMotionMatrix()
995 degrees = StringUtils::StringToDouble(rotate); in UpdateMotionMatrix()
999 rsNode->SetRotation(degrees, in UpdateMotionMatrix()
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dmatrix_test.cpp161 float degrees = 90; in HWTEST_F() local
162 matrix_.SetRotate(degrees, tx, ty); in HWTEST_F()
179 float degrees = 180; in HWTEST_F() local
180 matrix_.SetRotate(degrees, tx, ty); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/kits/cj/src/
H A Dpixel_map_impl.cpp203 void PixelMapImpl::Rotate(float degrees) in Rotate() argument
209 real_->rotate(degrees); in Rotate()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/
H A Dheif_image.cpp71 void HeifImage::SetRotateDegrees(int degrees) in SetRotateDegrees() argument
73 rotateDegrees_ = degrees; in SetRotateDegrees()
/foundation/multimedia/media_lite/services/recorder_lite/impl/include/
H A Drecorder_sink.h57 int32_t SetOrientationHint(int degrees);
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/
H A Dpixel_yuv_utils.h96 uint8_t *dstData, YuvImageInfo &dstInfo, int32_t degrees);
/foundation/multimedia/image_framework/frameworks/kits/cj/include/
H A Dpixel_map_impl.h50 void Rotate(float degrees);

Completed in 13 milliseconds

12