/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/ |
H A D | pixel_map_test.cpp | 851 AllocatorType::HEAP_ALLOC); 859 AllocatorType::HEAP_ALLOC); 867 AllocatorType::HEAP_ALLOC); 897 AllocatorType::HEAP_ALLOC); 904 AllocatorType::HEAP_ALLOC); 911 AllocatorType::HEAP_ALLOC); 918 AllocatorType::HEAP_ALLOC); 925 AllocatorType::HEAP_ALLOC); 960 AllocatorType::HEAP_ALLOC); 982 AllocatorType::HEAP_ALLOC); [all …]
|
H A D | pixel_yuv_ext_test.cpp | 67 pixelYuvExt.allocatorType_ = AllocatorType::HEAP_ALLOC; 108 pixelYuvExt.allocatorType_ = AllocatorType::HEAP_ALLOC; 126 pixelYuvExt.allocatorType_ = AllocatorType::HEAP_ALLOC;
|
H A D | pixel_map_parcel_test.cpp | 74 data3.WriteInt32((int32_t)AllocatorType::HEAP_ALLOC);
|
H A D | image_pixel_map_parcel_test.cpp | 53 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in ConstructPixmap()
|
H A D | image_pixel_map_test.cpp | 68 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in ConstructPixmap() 97 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in ConstructBigPixmap() 141 pixelMap.SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); 204 pixelMap.SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); 268 pixelMap.SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); 320 pixelMap.SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); 447 pixelMap.SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); 1914 pixelMap.SetPixelsAddr(buffer, nullptr, pixelsSize, AllocatorType::HEAP_ALLOC, nullptr); 2000 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in ConstructSLRBigPixmap()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/ |
H A D | image_type.h | 32 HEAP_ALLOC = 1, enumerator 170 AllocatorType allocatorType = AllocatorType::HEAP_ALLOC;
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/src/ |
H A D | webp_decoder.cpp | 129 context.allocatorType = Media::AllocatorType::HEAP_ALLOC; in Decode() 465 context.allocatorType = AllocatorType::HEAP_ALLOC; in HeapMemoryCreate() 511 …if (context.pixelsBuffer.buffer != nullptr && context.allocatorType == AllocatorType::HEAP_ALLOC) { in AllocOutputBuffer() 520 } else if (context.allocatorType == Media::AllocatorType::HEAP_ALLOC) { in AllocOutputBuffer()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/creator/src/ |
H A D | image_creator.cpp | 195 if (allocatorType == AllocatorType::HEAP_ALLOC) { in ReleaseBuffer() 219 ReleaseBuffer(AllocatorType::HEAP_ALLOC, buffer); in AllocHeapBuffer() 238 ReleaseBuffer(AllocatorType::HEAP_ALLOC, &addr2); in SaveSenderBufferAsImage()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc.cpp | 250 if (pixelMap.GetAllocatorType() == AllocatorType::HEAP_ALLOC) { in CenterDisplay() 269 if (pixelMap.GetAllocatorType() == AllocatorType::HEAP_ALLOC) { in CenterDisplay() 270 pixelMap.SetPixelsAddr(dstPixels, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in CenterDisplay() 353 if (decodeOpts_.allocatorType == AllocatorType::HEAP_ALLOC) { in CheckScanlineFilter() 422 if (decodeOpts_.allocatorType == AllocatorType::HEAP_ALLOC) { in PixelConvertProc() 479 ReleaseBuffer(AllocatorType::HEAP_ALLOC, 0, 0, buffer); in AllocHeapBuffer() 487 ReleaseBuffer(AllocatorType::HEAP_ALLOC, 0, 0, buffer); in AllocHeapBuffer() 564 if (allocatorType == AllocatorType::HEAP_ALLOC) { in ReleaseBuffer()
|
H A D | basic_transformer.cpp | 153 if (allocatorType == AllocatorType::HEAP_ALLOC) { in ReleaseBuffer() 203 … ReleaseBuffer((allocate == nullptr) ? AllocatorType::HEAP_ALLOC : AllocatorType::SHARE_MEM_ALLOC, in TransformPixmap() 210 … ReleaseBuffer((allocate == nullptr) ? AllocatorType::HEAP_ALLOC : AllocatorType::SHARE_MEM_ALLOC, in TransformPixmap()
|
/ohos5.0/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | image_type.h | 54 HEAP_ALLOC = 1, enumerator 319 AllocatorType allocatorType = AllocatorType::HEAP_ALLOC;
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/include/ |
H A D | memory_manager.h | 51 return AllocatorType::HEAP_ALLOC; in GetType()
|
/ohos5.0/foundation/multimedia/image_effect/test/unittest/mock/src/ |
H A D | mock_pixel_map.cpp | 52 ON_CALL(*this, GetAllocatorType()).WillByDefault(Return(AllocatorType::HEAP_ALLOC)); in MockPixelMap()
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libbmpplugin/src/ |
H A D | bmp_decoder.cpp | 217 context.allocatorType = AllocatorType::HEAP_ALLOC; in SetBuffer() 254 context.allocatorType = AllocatorType::HEAP_ALLOC; in SetBufferForPlatform()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_map.cpp | 145 case AllocatorType::HEAP_ALLOC: { in FreePixelMap() 232 if (bufferSize <= 0 || (pixelMap->GetAllocatorType() == AllocatorType::HEAP_ALLOC && in CheckPixelmap() 478 if (allocatorType == AllocatorType::HEAP_ALLOC) { in ReleaseBuffer() 816 if (bufferSize <= 0 || (source.GetAllocatorType() == AllocatorType::HEAP_ALLOC && in SourceCropAndConvert() 959 if (bufferSize <= 0 || (source.GetAllocatorType() == AllocatorType::HEAP_ALLOC && in CopyPixelMap() 992 ReleaseBuffer(AllocatorType::HEAP_ALLOC, fd, uBufferSize, &dstPixels); in CopyPixelMap() 1139 (allocatorType_ == AllocatorType::HEAP_ALLOC ? PIXEL_MAP_MAX_RAM_SIZE : INT_MAX)) { in SetImageInfo() 1936 } else if (allocType == AllocatorType::HEAP_ALLOC) { in ReleaseMemory() 2535 allocatorType = AllocatorType::HEAP_ALLOC; in ReadPropertiesFromParcel() 2853 AllocatorType tmpAllocatorType = AllocatorType::HEAP_ALLOC; in EncodeTlv() [all …]
|
H A D | pixel_map_parcel.cpp | 56 } else if (allocType == AllocatorType::HEAP_ALLOC) { in ReleaseMemory()
|
H A D | memory_manager.cpp | 251 case AllocatorType::HEAP_ALLOC: in CreateMemory()
|
/ohos5.0/foundation/window/window_manager/utils/src/ |
H A D | surface_reader.cpp | 160 pixelMap->SetPixelsAddr(data, nullptr, width * height, AllocatorType::HEAP_ALLOC, nullptr); in ProcessBuffer()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageplugin_fuzzer/src/ |
H A D | image_plugin_fuzz.cpp | 110 context.allocatorType = AllocatorType::HEAP_ALLOC; in SvgDecoderFuncTest001()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/ |
H A D | gif_encoder_test.cpp | 135 pixelMap->SetPixelsAddr(nullptr, nullptr, 10, AllocatorType::HEAP_ALLOC, nullptr);
|
H A D | webp_encoder_test.cpp | 137 pixelMap->SetPixelsAddr(nullptr, nullptr, 10, AllocatorType::HEAP_ALLOC, nullptr); 222 pixelMap->SetPixelsAddr(nullptr, nullptr, 10, AllocatorType::HEAP_ALLOC, nullptr); 252 pixelMap->SetPixelsAddr(nullptr, nullptr, 10, AllocatorType::HEAP_ALLOC, nullptr);
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | basic_transformer_test.cpp | 69 allocatorType = AllocatorType::HEAP_ALLOC;
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libheifplugin/src/ |
H A D | heif_decoder.cpp | 154 context.allocatorType = AllocatorType::HEAP_ALLOC; in AllocHeapBuffer()
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/ |
H A D | gif_decoder.cpp | 145 context.allocatorType = Media::AllocatorType::HEAP_ALLOC; in Decode() 679 } else if (context.allocatorType == Media::AllocatorType::HEAP_ALLOC) { in AllocMemory() 697 } else if (context.allocatorType == Media::AllocatorType::HEAP_ALLOC) { in FreeMemory()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_live_view_service_test.cpp | 72 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in MakePixelMap()
|