/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/test/unittest/ |
H A D | contrast_filter_unittest.cpp | 37 auto contrast = std::make_shared<ContrastFilter>(); variable 38 bool testResult = contrast != nullptr; 45 contrast->SetValue("contrast", vContrast.lock(), 1); 61 auto contrast = std::make_shared<ContrastFilter>(); variable 62 bool testResult = contrast != nullptr; 85 auto contrast = std::make_shared<ContrastFilter>(); variable 86 bool testResult = contrast != nullptr; 110 bool testResult = contrast != nullptr; 145 bool testResult = contrast != nullptr; 168 bool testResult = contrast != nullptr; [all …]
|
H A D | filter_unittest.cpp | 89 auto contrast = filterFactory.GetFilter("Contrast"); variable 90 bool testResult = contrast != nullptr; 97 contrast->SetValue("contrast", vContrast.lock(), 1); 114 auto contrast = filterFactory.GetFilter("Contrast"); variable 115 bool testResult1 = contrast != nullptr; 126 auto testResult2 = contrast->Process(data); 144 auto contrast = filterFactory.GetFilter("Contrast"); variable 145 bool testResult1 = contrast != nullptr; 157 auto testResult2 = contrast->Process(data);
|
H A D | algo_filter_unittest.cpp | 154 auto contrast = filterFactory.GetFilter("Contrast"); variable 155 bool testResult = contrast != nullptr; 162 contrast->SetValue("contrast", vContrast.lock(), 1);
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | cpu_contrast_algo.cpp | 43 float contrast = ParseContrast(value); in OnApplyRGBA8888() local 51 if (fabs(contrast) < eps) { in OnApplyRGBA8888() 58 float scale = contrast / SCALE_FACTOR; in OnApplyRGBA8888() 90 float contrast = ParseContrast(value); in OnApplyYUVNV21() local 98 if (fabs(contrast) < eps) { in OnApplyYUVNV21() 105 float scale = contrast / SCALE_FACTOR; in OnApplyYUVNV21() 147 float contrast = ParseContrast(value); in OnApplyYUVNV12() local 155 if (fabs(contrast) < eps) { in OnApplyYUVNV12() 162 float scale = contrast / SCALE_FACTOR; in OnApplyYUVNV12() 201 float contrast = 0.f; in ParseContrast() local [all …]
|
H A D | contrast_efilter.cpp | 109 float contrast = *contrastPtr; in SetValue() local 110 if (contrast < Parameter::INTENSITY_RANGE[0] || contrast > Parameter::INTENSITY_RANGE[1]) { in SetValue() 112 key.c_str(), contrast, Parameter::INTENSITY_RANGE[0], Parameter::INTENSITY_RANGE[1]); in SetValue() 113 …*contrastPtr = CommonUtils::Clip(contrast, Parameter::INTENSITY_RANGE[0], Parameter::INTENSITY_RAN… in SetValue() 127 float contrast = values->GetFloat(Parameter::KEY_INTENSITY); in Restore() local 128 if (contrast < Parameter::INTENSITY_RANGE[0] || contrast > Parameter::INTENSITY_RANGE[1]) { in Restore() 131 Plugin::Any any = contrast; in Restore()
|
H A D | gpu_contrast_algo.cpp | 104 float contrast = 0.f; in ParseContrast() local 105 ErrorCode res = CommonUtils::GetValue("FilterIntensity", value, contrast); in ParseContrast() 107 EFFECT_LOGW("get value fail! res=%{public}d. use default value: %{public}f", res, contrast); in ParseContrast() 109 EFFECT_LOGI("get value success! contrast=%{public}f", contrast); in ParseContrast() 110 return contrast; in ParseContrast()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/effectChain/src/ |
H A D | contrast_filter.cpp | 28 std::shared_ptr<float> contrast = std::static_pointer_cast<float>(value); in SetValue() local 29 contrast_ = *(contrast.get()); in SetValue()
|
/ohos5.0/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestJsonHelper.cpp | 158 EffectJsonPtr contrast = JsonHelper::CreateObject(); variable 159 ASSERT_NE(contrast, nullptr); 160 ASSERT_TRUE(contrast->Put(NAME, CONTRAST)); 161 ASSERT_TRUE(contrast->Put(VALUES, contrastValue)); 167 ASSERT_TRUE(filters->Add(contrast));
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/ |
H A D | BUILD.gn | 60 "$image_effect_root_dir/frameworks/native/efilter/filterimpl/contrast", 94 "$image_effect_root_dir/frameworks/native/efilter/filterimpl/contrast/contrast_efilter.cpp", 95 "$image_effect_root_dir/frameworks/native/efilter/filterimpl/contrast/cpu_contrast_algo.cpp", 96 "$image_effect_root_dir/frameworks/native/efilter/filterimpl/contrast/gpu_contrast_algo.cpp",
|
/ohos5.0/drivers/hdf_core/framework/model/camera/device_impl/src/ |
H A D | camera_isp.c | 74 if ((deviceConfig->isp.isp[devId].contrast) == DEVICE_NOT_SUPPORT) { in CheckIspGetConfigId() 172 if ((deviceConfig->isp.isp[devId].contrast) == DEVICE_NOT_SUPPORT) { in CheckIspSetConfigId() 248 isFailed |= !HdfSbufWriteUint8(rspData, deviceConfig->isp.isp[devId].contrast); in CameraCmdIspEnumDevice()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_dump.cpp | 412 auto contrast = properties.GetContrast(); in DumpNodePropertiesColor() local 413 if (contrast.has_value() && !ROSEN_EQ(*contrast, 1.f)) { in DumpNodePropertiesColor() 414 out["Contrast"] = *contrast; in DumpNodePropertiesColor()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-offscreencanvasrenderingcontext2d.md | 17 … to the image to make it look brighter or darker.<br>- **contrast**: adjusts the image contrast.<b… 64 offCanvas2.filter = 'contrast(200%)';
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-image-effect.md | 100 ## contrast section 102 contrast(value: number) 540 Text('contrast').fontSize(15).fontColor(0xCCCCCC).width('90%') 541 Image($r('app.media.image')).width('90%').height(30).contrast(2.0) 542 Image($r('app.media.image')).width('90%').height(30).contrast(0.8)
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | ui-js-components-offscreencanvas.md | 21 <option value="contrast(200%)">contrast</option>
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-image-effect.md | 100 ## contrast section 102 contrast(value: number) 104 Applies a contrast effect to the component. 116 …contrast value. If the value is **1**, the source image is displayed. If the value is greater than… 427 …, ra = kSrcOver: The final pixel is similar to <b>DIFFERENCE</b>, but with less contrast. | 528 …contrast effect. If the value is 1, the source image is displayed. If the value is greater than 1,… 529 Text('contrast').fontSize(15).fontColor(0xCCCCCC).width('90%') 530 Image($r('app.media.image')).width('90%').height(30).contrast(2.0) 531 Image($r('app.media.image')).width('90%').height(30).contrast(0.8)
|
/ohos5.0/docs/en/design/ux-design/ |
H A D | multimodal-text.md | 18 - Ensure the readability of text. Pay attention to the contrast, spacing, and color between the tex…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-offscreencanvasrenderingcontext2d.md | 16 …;blur:给图像设置高斯模糊<br/>- brightness:给图片应用一种线性乘法,使其看起来更亮或更暗<br/>- contrast:调整图像的对比度<br/>-&nb… 63 offCanvas2.filter = 'contrast(200%)';
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | ui-js-components-offscreencanvas.md | 21 <option value="contrast(200%)">contrast</option>
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.h | 59 static void PaintContrast(const RSRoundRect& frameSize, RSCanvas* canvas, float contrast);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | rosen_decoration_painter.h | 76 … static void PaintContrast(const SkRRect& outerRRect, SkCanvas* canvas, const Dimension& contrast, 104 const Dimension& contrast, const Color& color);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | skia_decoration_painter.h | 69 static void PaintContrast(const SkRRect& rRect, SkCanvas* canvas, float contrast);
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-standard-overview.md | 13 … vulnerabilities). Generally, the maintenance lifespan is six years. By contrast, non-LTS kernel v…
|
/ohos5.0/drivers/hdf_core/framework/model/camera/parser/include/ |
H A D | camera_config_parser.h | 53 uint8_t contrast; member
|
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/hdf_driver/src/driver_adapter/include/ |
H A D | camera_common.h | 80 uint8_t contrast; member
|
/ohos5.0/docs/en/application-dev/faqs/ |
H A D | faqs-arkui-js.md | 30 … to the entire array, will disable the related **Button** component; in contrast, the **test2\(\)*…
|