Home
last modified time | relevance | path

Searched refs:HEAP_ALLOC (Results 1 – 25 of 46) sorted by relevance

12

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/
H A Dpixel_map_test.cpp851 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 Dpixel_yuv_ext_test.cpp67 pixelYuvExt.allocatorType_ = AllocatorType::HEAP_ALLOC;
108 pixelYuvExt.allocatorType_ = AllocatorType::HEAP_ALLOC;
126 pixelYuvExt.allocatorType_ = AllocatorType::HEAP_ALLOC;
H A Dpixel_map_parcel_test.cpp74 data3.WriteInt32((int32_t)AllocatorType::HEAP_ALLOC);
H A Dimage_pixel_map_parcel_test.cpp53 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in ConstructPixmap()
H A Dimage_pixel_map_test.cpp68 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 Dimage_type.h32 HEAP_ALLOC = 1, enumerator
170 AllocatorType allocatorType = AllocatorType::HEAP_ALLOC;
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/src/
H A Dwebp_decoder.cpp129 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 Dimage_creator.cpp195 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 Dpost_proc.cpp250 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 Dbasic_transformer.cpp153 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 Dimage_type.h54 HEAP_ALLOC = 1, enumerator
319 AllocatorType allocatorType = AllocatorType::HEAP_ALLOC;
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/include/
H A Dmemory_manager.h51 return AllocatorType::HEAP_ALLOC; in GetType()
/ohos5.0/foundation/multimedia/image_effect/test/unittest/mock/src/
H A Dmock_pixel_map.cpp52 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 Dbmp_decoder.cpp217 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 Dpixel_map.cpp145 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 Dpixel_map_parcel.cpp56 } else if (allocType == AllocatorType::HEAP_ALLOC) { in ReleaseMemory()
H A Dmemory_manager.cpp251 case AllocatorType::HEAP_ALLOC: in CreateMemory()
/ohos5.0/foundation/window/window_manager/utils/src/
H A Dsurface_reader.cpp160 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 Dimage_plugin_fuzz.cpp110 context.allocatorType = AllocatorType::HEAP_ALLOC; in SvgDecoderFuncTest001()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/plugin_test/
H A Dgif_encoder_test.cpp135 pixelMap->SetPixelsAddr(nullptr, nullptr, 10, AllocatorType::HEAP_ALLOC, nullptr);
H A Dwebp_encoder_test.cpp137 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 Dbasic_transformer_test.cpp69 allocatorType = AllocatorType::HEAP_ALLOC;
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libheifplugin/src/
H A Dheif_decoder.cpp154 context.allocatorType = AllocatorType::HEAP_ALLOC; in AllocHeapBuffer()
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/
H A Dgif_decoder.cpp145 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 Dadvanced_notification_live_view_service_test.cpp72 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in MakePixelMap()

12