Home
last modified time | relevance | path

Searched refs:coefficients (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/effect/
H A Dimage_filter_test.cpp96 std::vector<scalar> coefficients; variable
97 coefficients.push_back(10.0f);
98 coefficients.push_back(10.0f);
99 coefficients.push_back(10.0f);
100 coefficients.push_back(10.0f);
105 imageFilter = ImageFilter::CreateArithmeticImageFilter(coefficients, false, f1, f2);
169 std::vector<scalar> coefficients; variable
170 coefficients.push_back(10.0f);
171 coefficients.push_back(10.0f);
172 coefficients.push_back(10.0f);
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_image_filter.cpp106 void SkiaImageFilter::InitWithArithmetic(const std::vector<scalar>& coefficients, in InitWithArithmetic() argument
110 if (coefficients.size() != numberOfCoefficients) { in InitWithArithmetic()
125 filter_ = SkImageFilters::Arithmetic(coefficients[0], in InitWithArithmetic()
126coefficients[1], coefficients[2], coefficients[3], // 0 1 2 3 used to combine the foreground and b… in InitWithArithmetic()
H A Dskia_image_filter.h46 void InitWithArithmetic(const std::vector<scalar>& coefficients, bool enforcePMColor,
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Drosen_render_svg_fe_composite.cpp33 std::vector<RSScalar> coefficients { k1_, k2_, k3_, k4_ }; in OnAsImageFilter()
35 …RSRecordingImageFilter::CreateArithmeticImageFilter(coefficients, true, backImageFilter, foreImage… in OnAsImageFilter()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/
H A Dimage_filter.cpp63 ImageFilter::ImageFilter(FilterType t, const std::vector<scalar>& coefficients, bool enforcePMColor, in ImageFilter() argument
68 impl_->InitWithArithmetic(coefficients, enforcePMColor, background, foreground, cropRect); in ImageFilter()
134 …_ptr<ImageFilter> ImageFilter::CreateArithmeticImageFilter(const std::vector<scalar>& coefficients, in CreateArithmeticImageFilter() argument
139 …ImageFilter::FilterType::ARITHMETIC, coefficients, enforcePMColor, background, foreground, cropRec… in CreateArithmeticImageFilter()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stack/
H A Drender_stack.cpp228 double coefficients = 1.0f; in GetNonPositionedChildOffset() local
232 coefficients = -1.0f; in GetNonPositionedChildOffset()
236 …offset.SetX((1.0 + coefficients * align_.GetHorizontal()) * (size.Width() - childSize.Width()) / 2… in GetNonPositionedChildOffset()
244 …offset.SetX(-(1.0 + coefficients * align_.GetHorizontal()) * (childSize.Width() - size.Width()) / … in GetNonPositionedChildOffset()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/imagefilter_fuzzer/
H A Dimage_filter_fuzzer.cpp162 std::vector<scalar> coefficients = {}; in ImageFilterFuzzTest004() local
164 … std::shared_ptr<ImageFilter> imageFilter = ImageFilter::CreateArithmeticImageFilter(coefficients, in ImageFilterFuzzTest004()
179 coefficients, enforcePMColor, imageFilterOne, imageFilterTwo); in ImageFilterFuzzTest004()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_fe_composite.cpp107 …std::vector<RSScalar> coefficients = { feCompositeAttr_.k1, feCompositeAttr_.k2, feCompositeAttr_.… in OnAsImageFilter() local
110 …RSRecordingImageFilter::CreateArithmeticImageFilter(coefficients, true, backImageFilter, foreImage… in OnAsImageFilter()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
H A Dformat_test.cpp353 int32_t coefficients = 0; in AvcVideoParam() local
369 … ASSERT_FALSE(OH_AVFormat_GetIntValue(paramFormat, OH_MD_KEY_MATRIX_COEFFICIENTS, &coefficients)); in AvcVideoParam()
391 int32_t coefficients = 0; in HevcVideoParam() local
406 ASSERT_TRUE(OH_AVFormat_GetIntValue(paramFormat, OH_MD_KEY_MATRIX_COEFFICIENTS, &coefficients)); in HevcVideoParam()
424 ASSERT_EQ(ACTUAL_COEFFICIENTS, coefficients); in HevcVideoParam()
493 int32_t coefficients = 0; in OtherVideoParam() local
514 … ASSERT_FALSE(OH_AVFormat_GetIntValue(paramFormat, OH_MD_KEY_MATRIX_COEFFICIENTS, &coefficients)); in OtherVideoParam()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/effect/
H A Dimage_filter.h92 …c std::shared_ptr<ImageFilter> CreateArithmeticImageFilter(const std::vector<scalar>& coefficients,
157 ImageFilter(FilterType t, const std::vector<scalar>& coefficients, bool enforcePMColor,
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_image_filter.h58 …shared_ptr<TestingImageFilter> CreateArithmeticImageFilter(const std::vector<scalar>& coefficients, in CreateArithmeticImageFilter() argument
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dimage_filter_impl.h66 virtual void InitWithArithmetic(const std::vector<scalar>& coefficients, bool enforcePMColor,
/ohos5.0/docs/en/application-dev/web/
H A Dweb-pdf-preview.md89 | zoom=scale zoom=scale,left,top | Sets the scaling and scrolling coefficients using a floating …
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics3d/
H A Djs-apis-inner-scene-resources.md384 …s | [Vec3](js-apis-inner-scene-types.md#vec3)[] | No| Yes| Irradiance coefficients. The default va…
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A Djs-apis-uiEffect-sys.md152 The preceding figure shows the rendering results when different distortion coefficients (-1, 0, 0.5…
H A Djs-apis-graphics-drawing.md6605 Sets this matrix as an identity matrix and scales it with the coefficients (sx, sy) at the scale po…
/ohos5.0/docs/en/application-dev/reference/apis-avcodec-kit/
H A Dnative__avcodec__base_8h.md52 …atrixCoefficient](_codec_base.md#oh_matrixcoefficient) | Defines an enum for matrix coefficients.|
74 …CHROMATICITY_CL = 13,<br>MATRIX_COEFFICIENT_ICTCP = 14<br>} | Enumerates the matrix coefficients.|
H A D_codec_base.md199 …t-1) [OH_MatrixCoefficient](#oh_matrixcoefficient) | Defines an enum for the matrix coefficients.|
224 …CHROMATICITY_CL = 13,<br>MATRIX_COEFFICIENT_ICTCP = 14<br>} | Enumerates the matrix coefficients.|
744 Defines an enum for the matrix coefficients.
1250 Enumerates the matrix coefficients. This enum is used for both encoding and decoding.
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/qrcode/
H A Dqrcode_patch2.patch565 …// Polynomial coefficients are stored from highest to lowest power, excluding the leading term whi…
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/
H A D_neural_network_runtime.md2432 | scales | Array consisting of scaling coefficients of all quantization parameters in the tensor.|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A D_ark_u_i___native_module.md3062 | NODE_REFRESH_PULL_DOWN_RATIO | Sets the pull-down and hand coefficients. The inter…