/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_image_cache.cpp | 77 auto type = pixelMap->GetAllocatorType(); in CachePixelMap() 148 bool shouldCount = pixelMap && pixelMap->GetAllocatorType() != Media::AllocatorType::DMA_ALLOC; in ReleasePixelMapCache() 151 auto realSize = pixelMap->GetAllocatorType() == Media::AllocatorType::SHARE_MEM_ALLOC in ReleasePixelMapCache() 179 bool shouldCount = pixelMap && pixelMap->GetAllocatorType() != Media::AllocatorType::DMA_ALLOC; in ReleasePixelMapCacheUnique() 182 auto realSize = pixelMap->GetAllocatorType() == Media::AllocatorType::SHARE_MEM_ALLOC in ReleasePixelMapCacheUnique()
|
H A D | rs_image_base.cpp | 115 if (pixelMap_ && pixelMap_->GetAllocatorType() == Media::AllocatorType::DMA_ALLOC) {
in DrawImage() 170 (pixelMap_->GetAllocatorType() == Media::AllocatorType::SHARE_MEM_ALLOC) &&
in SetPixelMap() 234 if (!pixelMap_ || pixelMap_->GetAllocatorType() != Media::AllocatorType::SHARE_MEM_ALLOC) {
in Purge()
|
H A D | rs_pixel_map_util.cpp | 219 if (pixelMap->GetAllocatorType() == Media::AllocatorType::DMA_ALLOC) { in IsYUVFormat() 305 if (!(pixelMap->GetAllocatorType() == Media::AllocatorType::DMA_ALLOC)) { in IsSupportZeroCopy()
|
H A D | rs_image.cpp | 750 if (pixelMap != nullptr && pixelMap->GetAllocatorType() != Media::AllocatorType::DMA_ALLOC) { in ProcessImageAfterCreation()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_map_parcel.cpp | 189 if (!data.WriteInt32(static_cast<int32_t>(pixelMap->GetAllocatorType()))) { in WriteImageInfo() 191 pixelMap->GetAllocatorType()); in WriteImageInfo() 207 if (pixelMap->GetAllocatorType() == AllocatorType::SHARE_MEM_ALLOC) { in WriteToParcel()
|
H A D | pixel_map.cpp | 236 if (bufferSize == 0 || (pixelMap->GetAllocatorType() == AllocatorType::HEAP_ALLOC && in CheckPixelmap() 491 AllocatorType allocatorType = GetAllocatorType(); in SetMemoryName() 675 if (dstPixelMap->GetAllocatorType() == AllocatorType::DMA_ALLOC) { in Create() 803 if (bufferSize == 0 || (source.GetAllocatorType() == AllocatorType::HEAP_ALLOC && in SourceCropAndConvert() 810 if (source.GetAllocatorType() == AllocatorType::SHARE_MEM_ALLOC) { in SourceCropAndConvert() 816 IMAGE_LOGE("source crop allocate memory fail allocatetype: %{public}d ", source.GetAllocatorType()); in SourceCropAndConvert() 885 if (source.GetAllocatorType() == AllocatorType::DMA_ALLOC) { in CopyPixMapToDst() 917 AllocatorType sourceType = source.GetAllocatorType(); in SetDstPixelMapInfo() 920 if (source.GetAllocatorType() == AllocatorType::DMA_ALLOC && source.IsHdr()) { in SetDstPixelMapInfo() 944 if (bufferSize == 0 || (source.GetAllocatorType() in CopyPixelMap() 1911 AllocatorType PixelMap::GetAllocatorType() GetAllocatorType() function in OHOS::Media::PixelMap [all...] |
/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/ |
H A D | pixel_map.cpp | 60 AllocatorType PixelMap::GetAllocatorType() in GetAllocatorType() function in OHOS::Media::PixelMap
|
H A D | pixel_map.h | 121 NATIVEEXPORT AllocatorType GetAllocatorType();
|
/foundation/multimedia/image_effect/test/unittest/mock/include/ |
H A D | mock_pixel_map.h | 40 MOCK_METHOD0(GetAllocatorType, AllocatorType());
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc.cpp | 232 int32_t srcRowStride = pixelMap.GetAllocatorType() == AllocatorType::DMA_ALLOC ? pixelMap.GetRowStride() : 0; in CenterDisplay() 244 if (pixelMap.GetAllocatorType() == AllocatorType::HEAP_ALLOC) { in CenterDisplay() 248 } else if (pixelMap.GetAllocatorType() == AllocatorType::DMA_ALLOC) { in CenterDisplay() 254 IMAGE_LOGE("[PostProc]CenterDisplay AllocMemory[%{public}d] failed", pixelMap.GetAllocatorType()); in CenterDisplay() 259 ReleaseBuffer(pixelMap.GetAllocatorType(), fd, bufferSize, &dstPixels, nativeBuffer); in CenterDisplay() 263 if (pixelMap.GetAllocatorType() == AllocatorType::HEAP_ALLOC) { in CenterDisplay() 265 } else if (pixelMap.GetAllocatorType() == AllocatorType::DMA_ALLOC) { in CenterDisplay() 844 auto m = MemoryManager::CreateMemory(pixelMap.GetAllocatorType(), memoryData); in ScalePixelMapWithSLR() 880 pixelMap.GetAllocatorType(), desiredSize.width, desiredSize.height); in ScalePixelMapEx() 905 auto mem = MemoryManager::CreateMemory(pixelMap.GetAllocatorType() in ScalePixelMapEx() [all...] |
H A D | image_format_convert.cpp | 517 auto allocType = srcPiexlMap->GetAllocatorType(); in RGBConvertImageFormatOption() 568 auto allocType = srcPiexlMap->GetAllocatorType(); in RGBConvertImageFormatOptionUnique() 604 static AllocatorType GetAllocatorType(std::shared_ptr<PixelMap> &srcPiexlMap, PixelFormat destFormat) in GetAllocatorType() function 606 auto allocType = srcPiexlMap->GetAllocatorType(); in GetAllocatorType() 635 auto allocType = GetAllocatorType(srcPiexlMap, destFormat); in YUVConvertImageFormatOption()
|
/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()
|
/foundation/multimedia/media_foundation/video_processing_engine/framework/capi/image_processing/ |
H A D | image_processing_native.cpp | 261 if (pixelMap->GetAllocatorType() == AllocatorType::DMA_ALLOC) { in GetSurfaceBufferFromPixelMap() 275 if (pixelMap->GetAllocatorType() == AllocatorType::DMA_ALLOC) { in GetSurfaceBufferFromPixelMapNoCopy() 285 if (pixelMap->GetAllocatorType() == AllocatorType::DMA_ALLOC) { in SetSurfaceBufferToPixelMap()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client__alpha_offscreen_demo.cpp | 60 cout << "AllocatorType: " << (int)pixelmap->GetAllocatorType() << endl; in DecodePixelMap()
|
H A D | rs_uni_render_pixelmap_demo.cpp | 83 cout << "AllocatorType: " << (int)pixelmap->GetAllocatorType() << endl; in DecodePixelMap()
|
/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | common_utils.cpp | 115 extraInfo->bufferType = SwitchToEffectBuffType(pixelMap->GetAllocatorType()); in LockPixelMap() 595 AllocatorType allocatorType = pixelMap->GetAllocatorType(); in ModifyPixelMapProperty() 632 AllocatorType allocatorType = pixelMap->GetAllocatorType(); in ModifyPixelMapPropertyForTexture()
|
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_encoder.cpp | 547 if (pixelMap->GetAllocatorType() == AllocatorType::DMA_ALLOC) {
in EncodeImageByPixelMap() 574 bool needConvertToSurfaceBuffer = pixelmap->GetAllocatorType() != AllocatorType::DMA_ALLOC;
in EncodeHeifByPixelmap() 1024 pixelmap_->GetAllocatorType() != AllocatorType::DMA_ALLOC ||
in EncodeDualVivid() 1070 if (pixelmap_->GetAllocatorType() != AllocatorType::DMA_ALLOC) {
in EncodeSdrImage() 1393 AllocatorType mainAllocType = mainPixelmap->GetAllocatorType();
in EncodeJpegPictureDualVivid() 1394 AllocatorType gainmapAllocType = gainmapPixelmap->GetAllocatorType();
in EncodeJpegPictureDualVivid() 1417 if (mainPixelmap->GetAllocatorType() != AllocatorType::DMA_ALLOC) {
in EncodeJpegPictureSdr() 1521 if (pixelMap->GetAllocatorType() != AllocatorType::DMA_ALLOC || pixelMap->GetFd() == nullptr) {
in WriteJpegCodedData()
|
/foundation/multimedia/av_session/frameworks/native/session/src/ |
H A D | avsession_pixel_map_adapter.cpp | 81 if (source.GetAllocatorType() == AllocatorType::DMA_ALLOC) { in CopyPixMapToDst()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/pixelmap_ndk/ |
H A D | pixelmap_native.cpp | 864 if (pixelmap->GetInnerPixelmap()->GetAllocatorType() != AllocatorType::DMA_ALLOC) { in OH_PixelmapNative_SetMetadata() 1001 if (pixelmap->GetInnerPixelmap()->GetAllocatorType() != AllocatorType::DMA_ALLOC) { in OH_PixelmapNative_GetMetadata() 1020 if (pixelmap->GetInnerPixelmap()->GetAllocatorType() != AllocatorType::DMA_ALLOC) { in OH_PixelmapNative_GetNativeBuffer()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_property_drawable_background.cpp | 430 if (pixelMap->GetAllocatorType() == Media::AllocatorType::DMA_ALLOC && in SetCompressedDataForASTC() 499 bgImage->GetPixelMap()->GetAllocatorType() == Media::AllocatorType::DMA_ALLOC) { in CreateDrawFunc()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_utils.cpp | 468 if (pixelMap->GetAllocatorType() == AllocatorType::DMA_ALLOC) { in DumpPixelMap() 795 if (!pixelMap || pixelMap->GetAllocatorType() != AllocatorType::DMA_ALLOC) { in FlushSurfaceBuffer()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imageplugin_fuzzer/src/ |
H A D | image_plugin_fuzz.cpp | 207 pixelMap->GetAllocatorType(); in PixelMapTest002()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_pixelmap.cpp | 542 if (map.GetAllocatorType() == AllocatorType::DMA_ALLOC) { in OnClientMarshalling()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/picture/ |
H A D | picture.cpp | 346 mainPixelMap_->GetAllocatorType() != AllocatorType::DMA_ALLOC) { in GetHdrComposedPixelMap()
|
/foundation/window/window_manager/snapshot/src/ |
H A D | snapshot_utils.cpp | 388 if (pixelMap.GetAllocatorType() == Media::AllocatorType::DMA_ALLOC) { in WriteToJpegWithPixelMap()
|