Searched refs:wPixelMap (Results 1 - 4 of 4) sorted by relevance
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_map.cpp | 3233 uint32_t PixelMap::CheckAlphaFormatInput(PixelMap &wPixelMap, const bool isPremul) in CheckAlphaFormatInput() argument 3236 wPixelMap.GetImageInfo(dstImageInfo); in CheckAlphaFormatInput() 3237 uint32_t dstPixelSize = wPixelMap.GetCapacity(); in CheckAlphaFormatInput() 3238 int32_t dstPixelBytes = wPixelMap.GetPixelBytes(); in CheckAlphaFormatInput() 3239 void* dstData = wPixelMap.GetWritablePixels(); in CheckAlphaFormatInput() 3240 int32_t stride = wPixelMap.GetRowStride(); in CheckAlphaFormatInput() 3282 uint32_t PixelMap::ConvertAlphaFormat(PixelMap &wPixelMap, const bool isPremul) in ConvertAlphaFormat() argument 3284 uint32_t res = CheckAlphaFormatInput(wPixelMap, isPremul); in ConvertAlphaFormat() 3290 wPixelMap.GetImageInfo(dstImageInfo); in ConvertAlphaFormat() 3291 void* dstData = wPixelMap in ConvertAlphaFormat() [all...] |
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_pixel_map_napi.cpp | 82 std::shared_ptr<PixelMap> wPixelMap; member 623 if (IMG_NOT_NULL(context->rPixelMap) && IMG_NOT_NULL(context->wPixelMap)) { in STATIC_EXEC_FUNC() 625 if (context->wPixelMap->IsEditable()) { in STATIC_EXEC_FUNC() 626 context->status = context->rPixelMap->ConvertAlphaFormat(*context->wPixelMap.get(), isPremul); in STATIC_EXEC_FUNC() 638 if (IMG_NOT_NULL(context->rPixelMap) && IMG_NOT_NULL(context->wPixelMap)) { in STATIC_EXEC_FUNC() 640 if (context->wPixelMap->IsEditable()) { in STATIC_EXEC_FUNC() 641 context->status = context->rPixelMap->ConvertAlphaFormat(*context->wPixelMap.get(), isPremul); in STATIC_EXEC_FUNC() 671 asyncContext->wPixelMap = GetSendablePixelMap(env, argValue[NUM_1]); in CreatePremultipliedSendablePixelMap() 672 if (asyncContext->rPixelMap == nullptr || asyncContext->wPixelMap == nullptr) { in CreatePremultipliedSendablePixelMap() 723 asyncContext->wPixelMap in CreateUnpremultipliedSendablePixelMap() [all...] |
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | pixel_map.h | 184 NATIVEEXPORT uint32_t ConvertAlphaFormat(PixelMap &wPixelMap, const bool isPremul); 422 uint32_t CheckAlphaFormatInput(PixelMap &wPixelMap, const bool isPremul);
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | pixel_map_napi.cpp | 129 std::shared_ptr<PixelMap> wPixelMap; member 977 if (IMG_NOT_NULL(context->rPixelMap) && IMG_NOT_NULL(context->wPixelMap)) { in STATIC_EXEC_FUNC() 979 if (context->wPixelMap->IsEditable()) { in STATIC_EXEC_FUNC() 980 context->status = context->rPixelMap->ConvertAlphaFormat(*context->wPixelMap.get(), isPremul); in STATIC_EXEC_FUNC() 997 if (IMG_NOT_NULL(context->rPixelMap) && IMG_NOT_NULL(context->wPixelMap)) { in STATIC_EXEC_FUNC() 999 if (context->wPixelMap->IsEditable()) { in STATIC_EXEC_FUNC() 1000 context->status = context->rPixelMap->ConvertAlphaFormat(*context->wPixelMap.get(), isPremul); in STATIC_EXEC_FUNC() 1030 asyncContext->wPixelMap = GetPixelMap(env, argValue[NUM_1]); in CreatePremultipliedPixelMap() 1031 if (asyncContext->rPixelMap == nullptr || asyncContext->wPixelMap == nullptr) { in CreatePremultipliedPixelMap() 1082 asyncContext->wPixelMap in CreateUnpremultipliedPixelMap() [all...] |
Completed in 18 milliseconds