Home
last modified time | relevance | path

Searched refs:SetAlphaType (Results 1 - 15 of 15) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/image/
H A Dimage_info.h133 void SetAlphaType(AlphaType alphaType) in SetAlphaType() function in OHOS::Rosen::Drawing::ImageInfo
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/image/imageinfo_fuzzer/
H A Dimageinfo_fuzzer.cpp95 imageInfo.SetAlphaType(static_cast<AlphaType>(alphaType % ALPHATYPE_SIZE)); in ImageInfoFuzzTest003()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/image/
H A Dbitmap.cpp151 imageinfo.SetAlphaType(format.alphaType); in SetFormat()
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dpixel_astc.h42 NATIVEEXPORT bool SetAlphaType(const AlphaType &alphaType) override;
H A Dpixel_map.h172 NATIVEEXPORT virtual bool SetAlphaType(const AlphaType &alphaType);
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_pixel_map_napi_kits.cpp219 pixelmap->SetAlphaType(AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in PixelMapNapiSetAlphaAble()
221 pixelmap->SetAlphaType(AlphaType::IMAGE_ALPHA_TYPE_OPAQUE); in PixelMapNapiSetAlphaAble()
H A Dpixel_map_napi.cpp2342 pixelMapNapi->nativePixelMap_->SetAlphaType(AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in SetAlphaAble()
2344 pixelMapNapi->nativePixelMap_->SetAlphaType(AlphaType::IMAGE_ALPHA_TYPE_OPAQUE); in SetAlphaAble()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_astc.cpp206 bool PixelAstc::SetAlphaType(const AlphaType &alphaType) in SetAlphaType() function in OHOS::Media::PixelAstc
208 IMAGE_LOGE("SetAlphaType is not support on pixelastc"); in SetAlphaType()
H A Dpixel_map.cpp1743 bool PixelMap::SetAlphaType(const AlphaType &alphaType) in SetAlphaType() function in OHOS::Media::PixelMap
1747 IMAGE_LOGE("SetAlphaType Failed to get validate alpha type."); in SetAlphaType()
1754 IMAGE_LOGE("SetAlphaType call SetImageInfo Failed. ret:%{public}u", ret); in SetAlphaType()
3305 wPixelMap.SetAlphaType(AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in ConvertAlphaFormat()
3307 wPixelMap.SetAlphaType(AlphaType::IMAGE_ALPHA_TYPE_UNPREMUL); in ConvertAlphaFormat()
/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/
H A Dpixel_map.h114 NATIVEEXPORT bool SetAlphaType(const AlphaType &alphaType);
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dpixel_astc_test.cpp516 * @tc.desc: PixelAstc SetAlphaType
526 bool ret = pixelAstc->SetAlphaType(alphaType); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/
H A Dimage_pixel_map_test.cpp1078 * @tc.desc: test SetAlphaType
1084 GTEST_LOG_(INFO) << "ImagePixelMapTest: ImagePixelMap032 SetAlphaType start"; in HWTEST_F()
1093 bool ret = pixelMap.SetAlphaType(alphaType); in HWTEST_F()
1095 GTEST_LOG_(INFO) << "ImagePixelMapTest: ImagePixelMap032 SetAlphaType end"; in HWTEST_F()
1100 * @tc.desc: test SetAlphaType
1106 GTEST_LOG_(INFO) << "ImagePixelMapTest: ImagePixelMap033 SetAlphaType start"; in HWTEST_F()
1115 bool ret = pixelMap.SetAlphaType(alphaType); in HWTEST_F()
1117 GTEST_LOG_(INFO) << "ImagePixelMapTest: ImagePixelMap033 SetAlphaType end"; in HWTEST_F()
H A Dpixel_map_test.cpp1366 * @tc.desc: SetAlphaType
1376 auto ret = pixelMap1->SetAlphaType(AlphaType::IMAGE_ALPHA_TYPE_UNKNOWN); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_pixel_map_napi.cpp1960 pixelMapNapi->nativePixelMap_->SetAlphaType(AlphaType::IMAGE_ALPHA_TYPE_PREMUL); in SetAlphaAble()
1962 pixelMapNapi->nativePixelMap_->SetAlphaType(AlphaType::IMAGE_ALPHA_TYPE_OPAQUE); in SetAlphaAble()
/foundation/multimedia/media_library/frameworks/services/media_thumbnail/src/
H A Dthumbnail_utils.cpp1489 data.source->SetAlphaType(AlphaType::IMAGE_ALPHA_TYPE_UNPREMUL); in LoadSourceImage()

Completed in 35 milliseconds