/ohos5.0/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | image_type.h | 55 SHARE_MEM_ALLOC = 2, enumerator 259 AllocatorType allocType = AllocatorType::SHARE_MEM_ALLOC; 272 AllocatorType allocType = AllocatorType::SHARE_MEM_ALLOC ; 283 AllocatorType allocType = AllocatorType::SHARE_MEM_ALLOC;
|
H A D | pixel_map.h | 97 AllocatorType allocatorType = AllocatorType::SHARE_MEM_ALLOC; 513 AllocatorType allocatorType_ = AllocatorType::SHARE_MEM_ALLOC;
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/ |
H A D | pixel_map_parcel_test.cpp | 48 data1.WriteInt32((int32_t)AllocatorType::SHARE_MEM_ALLOC); 61 data2.WriteInt32((int32_t)AllocatorType::SHARE_MEM_ALLOC);
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_map_parcel.cpp | 45 if (allocType == AllocatorType::SHARE_MEM_ALLOC) { in ReleaseMemory() 135 if (allocType == AllocatorType::SHARE_MEM_ALLOC) { in CreateFromParcel() 207 if (pixelMap->GetAllocatorType() == AllocatorType::SHARE_MEM_ALLOC) { in WriteToParcel()
|
H A D | pixel_map.cpp | 158 case AllocatorType::SHARE_MEM_ALLOC: { in FreePixelMap() 210 if (type == AllocatorType::SHARE_MEM_ALLOC && context == nullptr) { in SetPixelsAddr() 469 if (allocatorType == AllocatorType::SHARE_MEM_ALLOC) { in ReleaseBuffer() 516 if (allocatorType == AllocatorType::SHARE_MEM_ALLOC) { in SetMemoryName() 824 if (source.GetAllocatorType() == AllocatorType::SHARE_MEM_ALLOC) { in SourceCropAndConvert() 1924 if (allocType == AllocatorType::SHARE_MEM_ALLOC) { in ReleaseMemory() 2212 if (allocatorType_ == AllocatorType::SHARE_MEM_ALLOC) { in WriteMemInfoToParcel() 2593 if (pixelMemInfo.allocatorType == AllocatorType::SHARE_MEM_ALLOC) { in ReadMemInfoFromParcel() 3756 if (allocatorType_ != AllocatorType::SHARE_MEM_ALLOC) { in UnMap() 3778 if (allocatorType_ != AllocatorType::SHARE_MEM_ALLOC) { in ReMap() [all …]
|
H A D | memory_manager.cpp | 241 case AllocatorType::SHARE_MEM_ALLOC: in CreateMemory()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_image_cache.cpp | 80 auto realSize = type == Media::AllocatorType::SHARE_MEM_ALLOC in CachePixelMap() 151 … auto realSize = pixelMap->GetAllocatorType() == Media::AllocatorType::SHARE_MEM_ALLOC in ReleasePixelMapCache() 194 … auto realSize = pixelMap->GetAllocatorType() == Media::AllocatorType::SHARE_MEM_ALLOC in CheckRefCntAndReleaseImageCache()
|
H A D | rs_image_base.cpp | 232 pixelMap_->GetAllocatorType() != Media::AllocatorType::SHARE_MEM_ALLOC) { in Purge() 255 (pixelMap_->GetAllocatorType() == Media::AllocatorType::SHARE_MEM_ALLOC) && in MarkRenderServiceImage()
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libheifplugin/src/ |
H A D | heif_decoder.cpp | 136 if (context.allocatorType == Media::AllocatorType::SHARE_MEM_ALLOC) { in AllocHeapBuffer() 191 context.allocatorType = AllocatorType::SHARE_MEM_ALLOC; in AllocShareMem()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/include/ |
H A D | memory_manager.h | 61 return AllocatorType::SHARE_MEM_ALLOC; in GetType()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/ |
H A D | image_type.h | 33 SHARE_MEM_ALLOC = 2, enumerator
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc.cpp | 281 … pixelMap.SetPixelsAddr(dstPixels, fdBuffer, bufferSize, AllocatorType::SHARE_MEM_ALLOC, nullptr); in CenterDisplay() 324 if (decodeOpts_.allocatorType == AllocatorType::SHARE_MEM_ALLOC) { in CheckScanlineFilter() 449 if (decodeOpts_.allocatorType == AllocatorType::SHARE_MEM_ALLOC) { in AllocBuffer() 546 if (allocatorType == AllocatorType::SHARE_MEM_ALLOC) { in ReleaseBuffer() 651 if (decodeOpts_.allocatorType == AllocatorType::SHARE_MEM_ALLOC) { in Transform() 939 if (srcWidth % HALF != 0 && pixelMap.GetAllocatorType() == AllocatorType::SHARE_MEM_ALLOC) { in ScalePixelMapEx()
|
H A D | basic_transformer.cpp | 144 if (allocatorType == AllocatorType::SHARE_MEM_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/plugins/common/libs/image/libbmpplugin/src/ |
H A D | bmp_decoder.cpp | 143 context.allocatorType = AllocatorType::SHARE_MEM_ALLOC; in SetShareMemBuffer() 262 if (context.allocatorType == Media::AllocatorType::SHARE_MEM_ALLOC) { in SetContextPixelsBuffer()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageplugin_fuzzer/src/ |
H A D | image_plugin_fuzz.cpp | 106 context.allocatorType = AllocatorType::SHARE_MEM_ALLOC; in SvgDecoderFuncTest001()
|
/ohos5.0/base/web/webview/ohos_adapter/ohos_image_adapter/src/ |
H A D | ohos_image_decoder_adapter_impl.cpp | 147 if (pixelMap_->GetAllocatorType() == Media::AllocatorType::SHARE_MEM_ALLOC) { in GetStride()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client__alpha_offscreen_demo.cpp | 118 auto allocatorType = Media::AllocatorType::SHARE_MEM_ALLOC; in main()
|
H A D | rs_uni_render_pixelmap_demo.cpp | 126 auto allocatorType = Media::AllocatorType::SHARE_MEM_ALLOC; in main()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | basic_transformer_test.cpp | 64 AllocatorType allocatorType = AllocatorType::SHARE_MEM_ALLOC;
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/src/ |
H A D | webp_decoder.cpp | 428 context.allocatorType = AllocatorType::SHARE_MEM_ALLOC; in SharedMemoryCreate() 518 if (context.allocatorType == Media::AllocatorType::SHARE_MEM_ALLOC) { in AllocOutputBuffer()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_pixelmap.cpp | 366 if (context.context && (context.allocType == AllocatorType::SHARE_MEM_ALLOC)) { in FinalizeUnmarshalling() 393 if (context.allocType == AllocatorType::SHARE_MEM_ALLOC) { in Unmarshal()
|
/ohos5.0/foundation/multimedia/image_framework/plugins/manager/include/image/ |
H A D | abs_image_decoder.h | 69 Media::AllocatorType allocatorType = Media::AllocatorType::SHARE_MEM_ALLOC;
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libsvgplugin/src/ |
H A D | svg_decoder.cpp | 98 context.allocatorType = AllocatorType::SHARE_MEM_ALLOC; in AllocShareBufferInner() 420 if (context.allocatorType == Media::AllocatorType::SHARE_MEM_ALLOC) { in AllocBuffer()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/png_test/ |
H A D | png_decoder_test.cpp | 605 context.decodeContext.allocatorType = Media::AllocatorType::SHARE_MEM_ALLOC; 625 context.decodeContext.allocatorType = Media::AllocatorType::SHARE_MEM_ALLOC; 1526 context.decodeContext.allocatorType = Media::AllocatorType::SHARE_MEM_ALLOC; 1713 context.decodeContext.allocatorType = Media::AllocatorType::SHARE_MEM_ALLOC;
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
H A D | snapshot.cpp | 149 decodeOpt.allocatorType = AllocatorType::SHARE_MEM_ALLOC; in CreatePixelMap()
|