Home
last modified time | relevance | path

Searched refs:SHARE_MEM_ALLOC (Results 1 – 25 of 48) sorted by relevance

12

/ohos5.0/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dimage_type.h55 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 Dpixel_map.h97 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 Dpixel_map_parcel_test.cpp48 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 Dpixel_map_parcel.cpp45 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 Dpixel_map.cpp158 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 Dmemory_manager.cpp241 case AllocatorType::SHARE_MEM_ALLOC: in CreateMemory()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_image_cache.cpp80 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 Drs_image_base.cpp232 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 Dheif_decoder.cpp136 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 Dmemory_manager.h61 return AllocatorType::SHARE_MEM_ALLOC; in GetType()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/
H A Dimage_type.h33 SHARE_MEM_ALLOC = 2, enumerator
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dpost_proc.cpp281 … 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 Dbasic_transformer.cpp144 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 Dbmp_decoder.cpp143 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 Dimage_plugin_fuzz.cpp106 context.allocatorType = AllocatorType::SHARE_MEM_ALLOC; in SvgDecoderFuncTest001()
/ohos5.0/base/web/webview/ohos_adapter/ohos_image_adapter/src/
H A Dohos_image_decoder_adapter_impl.cpp147 if (pixelMap_->GetAllocatorType() == Media::AllocatorType::SHARE_MEM_ALLOC) { in GetStride()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client__alpha_offscreen_demo.cpp118 auto allocatorType = Media::AllocatorType::SHARE_MEM_ALLOC; in main()
H A Drs_uni_render_pixelmap_demo.cpp126 auto allocatorType = Media::AllocatorType::SHARE_MEM_ALLOC; in main()
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dbasic_transformer_test.cpp64 AllocatorType allocatorType = AllocatorType::SHARE_MEM_ALLOC;
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/src/
H A Dwebp_decoder.cpp428 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 Drs_profiler_pixelmap.cpp366 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 Dabs_image_decoder.h69 Media::AllocatorType allocatorType = Media::AllocatorType::SHARE_MEM_ALLOC;
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libsvgplugin/src/
H A Dsvg_decoder.cpp98 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 Dpng_decoder_test.cpp605 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 Dsnapshot.cpp149 decodeOpt.allocatorType = AllocatorType::SHARE_MEM_ALLOC; in CreatePixelMap()

12