/ohos5.0/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/ |
H A D | format_helper.h | 40 int y = (54 * r + 183 * g + 18 * b) >> 8; in RGBToY() local 52 int v = ((128 * r - 116 * g - 12 * b) >> 8) + 128; in RGBToV() local 56 static inline uint8_t YuvToR(uint8_t y, uint8_t u, uint8_t v) in YuvToR() 62 static inline uint8_t YuvToG(uint8_t y, uint8_t u, uint8_t v) in YuvToG() 68 static inline uint8_t YuvToB(uint8_t y, uint8_t u, uint8_t v) in YuvToB()
|
/ohos5.0/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | Vec2Proxy.cpp | 39 void Vec2Proxy::SetValue(const BASE_NS::Math::Vec2& v) in SetValue() 87 auto y = obj.Get<float>("y"); in SetValue() local 89 BASE_NS::Math::Vec2 v(x, y); in SetValue() local
|
H A D | Vec3Proxy.cpp | 38 void Vec3Proxy::SetValue(const BASE_NS::Math::Vec3& v) in SetValue() 91 auto y = obj.Get<float>("y"); in SetValue() local 94 BASE_NS::Math::Vec3 v(x, y, z); in SetValue() local
|
H A D | Vec4Proxy.cpp | 41 void Vec4Proxy::SetValue(const BASE_NS::Math::Vec4& v) in SetValue() 99 auto y = obj.Get<float>("y"); in SetValue() local 103 BASE_NS::Math::Vec4 v { x, y, z, w }; in SetValue() local
|
H A D | QuatProxy.cpp | 38 void QuatProxy::SetValue(const BASE_NS::Math::Quat& v) in SetValue() 93 auto y = obj.Get<float>("y"); in SetValue() local
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/atomicservicenavigation/interfaces/ |
H A D | atomicservicenavigation.js | 20 constructor(w, x, y, z = -1, a1 = undefined, b1) { argument 40 setInitiallyProvidedValue(v) { argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | vector.h | 37 float y = 0.0f; member 64 float y = 0.0f; member 77 float y = 0.0f; member 92 float y = 0.0f; member 95 float v = 0.0f; member
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | native_image.cpp | 47 std::vector<uint8_t> y; member 49 std::vector<uint8_t> v; member 138 …NativeComponent* y = CreateComponent(int32_t(ComponentType::YUV_Y), yuv.ySize, width, NUM_1, nullp… in SplitYUV422SPComponent() local 140 …NativeComponent* v = CreateComponent(int32_t(ComponentType::YUV_V), yuv.uvSize, uvStride, NUM_2, n… in SplitYUV422SPComponent() local 184 auto y = GetComponent(int32_t(ComponentType::YUV_Y)); in CombineYUVComponents() local 186 auto v = GetComponent(int32_t(ComponentType::YUV_V)); in CombineYUVComponents() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_vector3.h | 79 Vector3<T>::Vector3(T x, T y, T z) in Vector3() 87 Vector3<T>::Vector3(T* v) in Vector3() 120 T y = data_[1]; in Cross() local 135 T y = data_[1]; in GetSqrLength() local 153 void Vector3<T>::SetValues(T x, T y, T z) in SetValues()
|
H A D | rs_vector2.h | 79 Vector2<T>::Vector2(T x, T y) in Vector2() 86 Vector2<T>::Vector2(const T* v) in Vector2()
|
H A D | rs_rect.h | 63 explicit RectT(const T* v) in RectT() 137 void Move(T x, T y) in Move() 153 bool Intersect(T x, T y) const in Intersect() 190 RectT<T> Offset(const T x, const T y) const in Offset()
|
/ohos5.0/foundation/multimodalinput/input/util/common/include/ |
H A D | mmi_vector3.h | 78 Vector3<T>::Vector3(T x, T y, T z) in Vector3() 86 Vector3<T>::Vector3(T* v) in Vector3() 119 T y = data_[1]; in Cross() local 134 T y = data_[1]; in GetSqrLength() local 152 void Vector3<T>::SetValues(T x, T y, T z) in SetValues()
|
H A D | mmi_vector2.h | 76 Vector2<T>::Vector2(T x, T y) in Vector2() 83 Vector2<T>::Vector2(const T* v) in Vector2()
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/fullscreenlaunchcomponent/interfaces/ |
H A D | fullscreenlaunchcomponent.js | 24 constructor(v, w, x, y = -1, z = undefined, a1) { argument
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_particle_noise_field.cpp | 164 float PerlinNoise2D::Grad(int hash, float x, float y) in Grad() 175 double v = h < 4 ? y : h == 12 || h == 14 ? x : 0; in Grad() local 196 float PerlinNoise2D::Noise(float x, float y) in Noise() 210 float v = Fade(y); in Noise() local 228 Vector2f PerlinNoise2D::Curl(float x, float y) in Curl()
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/ |
H A D | cpu_brightness_algo.cpp | 82 for (uint32_t y = 0; y < height; ++y) { in OnApplyRGBA8888() local 135 uint8_t y = srcNV21[y_index]; in OnApplyYUVNV21() local 136 uint8_t v = srcNV21UV[nv_index]; in OnApplyYUVNV21() local 194 uint8_t y = srcNV12[y_index]; in OnApplyYUVNV12() local 196 uint8_t v = srcNV12UV[nv_index + 1]; in OnApplyYUVNV12() local
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | cpu_contrast_algo.cpp | 72 for (uint32_t y = 0; y < height; ++y) { in OnApplyRGBA8888() local 124 uint8_t y = srcNV21[y_index]; in OnApplyYUVNV21() local 125 uint8_t v = srcNV21UV[nv_index]; in OnApplyYUVNV21() local 181 uint8_t y = srcNV12[y_index]; in OnApplyYUVNV12() local 183 uint8_t v = srcNV12UV[nv_index + 1]; in OnApplyYUVNV12() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/composer/ |
H A D | layer_context.h | 33 uint8_t y; member 35 uint8_t v; member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | velocity_tracker.cpp | 25 const auto& y = axis.GetYVals(); in CheckExtremePoint() local 65 const auto& y = axis.GetYVals(); in GetLinearSlope() local 87 void CorrectMonotonicAxisVelocity(const LeastSquareImpl& axis, double& v, double extremX) in CorrectMonotonicAxisVelocity() 161 void VelocityTracker::UpdateTrackerPoint(double x, double y, const TimeStamp& time, bool end) in UpdateTrackerPoint()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc_slr.cpp | 92 bool SLRCheck(const SLRMat &src, const SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in SLRCheck() 106 inline uint32_t SLRCast(float v) in SLRCast() 116 int y; member 120 const SLRWeightMat &y) in SLRBoxCheck() 161 …nst SLRSliceKey &key, const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in SLRBox() 201 void SLRProc::Serial(const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in Serial() 218 const SLRWeightMat &x, const SLRWeightMat &y) in SLRSubtask() 231 void SLRProc::Parallel(const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in Parallel()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/math/ |
H A D | quaternion_util.h | 123 float y = Math::sqrt(discardEpsilon(1.f - m00 + m11 - m22)) * 0.5f; in BASE_BEGIN_NAMESPACE() local 251 constexpr float v[8] = // i / (2i + 1) for i >= 1 in BASE_BEGIN_NAMESPACE() local
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | rbtree.c | 94 struct RbTreeNode *y = x->right; in LeftRotate() local 113 struct RbTreeNode *y = x->left; in RightRotate() local 132 struct RbTreeNode *y = NULL; in InsertFixUpRed() local 155 struct RbTreeNode *y = NULL; in InsertFixUpBlack() local 203 struct RbTreeNode *y = t->nil; in RbTreeInsert() local 233 static void Transplant(struct RbTree *t, struct RbTreeNode *u, struct RbTreeNode *v) in Transplant() 337 struct RbTreeNode *y = z; in RbTreeDelete() local
|
/ohos5.0/base/update/updater/services/diffpatch/patch/ |
H A D | blocks_patch.cpp | 27 #define GET_BYTE_FROM_BUFFER(v, index, buffer) ((v) * 256 + (buffer)[index]) argument 35 int64_t y = 0; in ReadLE64() local
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_utils.cpp | 158 int16_t y, in DrawPixel() 673 int16_t y = trans.GetTop(); in GetTransformInitState() local 733 int64_t v = in.init.verticalV; local 737 float v = in.init.verticalV; local 835 int64_t v = in.init.verticalV; local 839 float v = in.init.verticalV; local 955 int64_t v = in.init.verticalV; local 959 float v = in.init.verticalV; local 1547 int64_t v = in.init.verticalV; local 1551 float v = in.init.verticalV; local [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | matrix4.cpp | 36 Matrix4 Matrix4::CreateTranslate(double x, double y, double z) in CreateTranslate() 41 Matrix4 Matrix4::CreateScale(double x, double y, double z) in CreateScale() 55 double y = dy / sqrt(sum); in CreateRotate() local 73 Matrix4 Matrix4::CreateSkew(double x, double y) in CreateSkew() 79 Matrix4 Matrix4::CreateFactorSkew(double x, double y) in CreateFactorSkew() 85 Matrix4 Matrix4::CreateFactorPerspective(double x, double y) in CreateFactorPerspective() 114 Matrix4 Matrix4::QuaternionToMatrix(double x, double y, double z, double w) in QuaternionToMatrix() 162 void Matrix4::SetScale(double x, double y, double z) in SetScale() 266 auto function = [num](double& v) { v *= num; }; in operator *() 330 double y = point.GetY(); in operator *() local
|