/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_yuv_ext.cpp | 165 SetPixelsAddr(reinterpret_cast<void *>(dst), m->extend.data, m->data.size, m->GetType(), nullptr); in scale() 193 SetPixelsAddr(reinterpret_cast<void *>(dst), m->extend.data, m->data.size, m->GetType(), nullptr); in scale() 239 SetPixelsAddr(dst, m->extend.data, m->data.size, m->GetType(), nullptr); in rotate() 291 SetPixelsAddr(dst, m->extend.data, m->data.size, m->GetType(), nullptr); in flip() 301 void PixelYuvExt::SetPixelsAddr(void *addr, void *context, uint32_t size, AllocatorType type, CustomFreePixelMap func) in SetPixelsAddr() function in OHOS::Media::PixelYuvExt 303 PixelYuv::SetPixelsAddr(addr, context, size, type, func); in SetPixelsAddr()
|
H A D | pixel_yuv.cpp | 320 SetPixelsAddr(dstMemory->data.data, dstMemory->extend.data, dstMemory->data.size, dstMemory->GetType(), nullptr); in rotate() 349 SetPixelsAddr(dstMemory->data.data, dstMemory->extend.data, in crop() 419 SetPixelsAddr(dstMemory->data.data, dstMemory->extend.data, dstMemory->data.size, dstMemory->GetType(), nullptr); in scale() 456 SetPixelsAddr(dstMemory->data.data, dstMemory->extend.data, dstMemory->data.size, dstMemory->GetType(), nullptr); in scale() 499 SetPixelsAddr(dst, dstMemory->extend.data, dstMemory->data.size, dstMemory->GetType(), nullptr); in flip() 710 SetPixelsAddr(dst, dstMemory->extend.data, dstSize, dstMemory->GetType(), nullptr); in translate() 767 void PixelYuv::SetPixelsAddr(void *addr, void *context, uint32_t size, AllocatorType type, CustomFreePixelMap func) in SetPixelsAddr() function in OHOS::Media::PixelYuv 770 IMAGE_LOGE("SetPixelsAddr release the existed data first"); in SetPixelsAddr() 774 IMAGE_LOGE("SetPixelsAddr error type %{public}d ", type); in SetPixelsAddr() 949 SetPixelsAddr(reinterpret_cas in ColorSpaceBGRAToYuv() [all...] |
H A D | pixel_map_parcel.cpp | 149 pixelMap->SetPixelsAddr(base, reinterpret_cast<void *>(context), bufferSize, allocType, nullptr); in CreateFromParcel()
|
H A D | pixel_map.cpp | 208 void PixelMap::SetPixelsAddr(void *addr, void *context, uint32_t size, AllocatorType type, CustomFreePixelMap func) in SetPixelsAddr() function in OHOS::Media::PixelMap 211 IMAGE_LOGD("SetPixelsAddr release the existed data first"); in SetPixelsAddr() 215 IMAGE_LOGE("SetPixelsAddr error type %{public}d ", type); in SetPixelsAddr() 455 dstPixelMap->SetPixelsAddr(dstMemory->data.data, dstMemory->extend.data, dstMemory->data.size, dstMemory->GetType(), in Create() 671 dstPixelMap->SetPixelsAddr(dstMemory->data.data, dstMemory->extend.data, dstMemory->data.size, dstMemory->GetType(), in Create() 831 dstPixelMap.SetPixelsAddr(dstPixels, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in SourceCropAndConvert() 837 dstPixelMap.SetPixelsAddr(dstPixels, fdBuffer, bufferSize, AllocatorType::SHARE_MEM_ALLOC, nullptr); in SourceCropAndConvert() 839 dstPixelMap.SetPixelsAddr(dstPixels, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in SourceCropAndConvert() 919 dstPixelMap.SetPixelsAddr(dstPixels, memory->extend.data, memory->data.size, sourceType, nullptr); in SetDstPixelMapInfo() 928 dstPixelMap.SetPixelsAddr(dstPixel in SetDstPixelMapInfo() [all...] |
/foundation/multimedia/image_effect/test/unittest/mock/include/ |
H A D | mock_pixel_map.h | 41 MOCK_METHOD5(SetPixelsAddr, void(void *addr, void *context, uint32_t size, AllocatorType type,
|
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | pixel_yuv_ext.h | 43 NATIVEEXPORT void SetPixelsAddr(void *addr, void *context, uint32_t size, AllocatorType type,
|
H A D | pixel_yuv.h | 71 NATIVEEXPORT void SetPixelsAddr(void *addr, void *context, uint32_t size, AllocatorType type,
|
/foundation/multimedia/av_session/frameworks/native/session/test/unittest/ |
H A D | avsession_pixel_map_adapter_test.cpp | 87 pixelMap.SetPixelsAddr(nullptr, nullptr, 10, Media::AllocatorType::DMA_ALLOC, nullptr); in HWTEST_F()
|
H A D | avcallmeta_data_test.cpp | 80 pixelMap->SetPixelsAddr(buffer.data(), nullptr, bufferSize, AllocatorType::CUSTOM_ALLOC, nullptr); in CreatePixelMap()
|
H A D | avmeta_data_test.cpp | 100 pixelMap->SetPixelsAddr(buffer.data(), nullptr, bufferSize, AllocatorType::CUSTOM_ALLOC, nullptr); in CreatePixelMap()
|
/foundation/multimedia/av_session/frameworks/native/session/src/ |
H A D | avsession_pixel_map_adapter.cpp | 66 pixelMap->SetPixelsAddr(dataAddr, nullptr, dataSize, Media::AllocatorType::CUSTOM_ALLOC, nullptr); in ConvertFromInner() 121 pixelMapTemp->SetPixelsAddr(dataAddr, nullptr, dataSize, Media::AllocatorType::CUSTOM_ALLOC, nullptr); in ConvertToInner() 174 pixelMapTemp->SetPixelsAddr(dataAddr, nullptr, dataSize, Media::AllocatorType::CUSTOM_ALLOC, nullptr); in ConvertToInnerWithLimitedSize()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc.cpp | 264 pixelMap.SetPixelsAddr(dstPixels, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in CenterDisplay() 271 pixelMap.SetPixelsAddr(dstPixels, nativeBuffer, bufferSize, AllocatorType::DMA_ALLOC, nullptr); in CenterDisplay() 275 pixelMap.SetPixelsAddr(dstPixels, fdBuffer, bufferSize, AllocatorType::SHARE_MEM_ALLOC, nullptr); in CenterDisplay() 341 pixelMap.SetPixelsAddr(resultData, nullptr, bufferSize, decodeOpts_.allocatorType, nullptr); in CheckScanlineFilter() 346 pixelMap.SetPixelsAddr(resultData, fdBuffer, bufferSize, decodeOpts_.allocatorType, nullptr); in CheckScanlineFilter() 410 pixelMap.SetPixelsAddr(resultData, nullptr, bufferSize, decodeOpts_.allocatorType, nullptr); in PixelConvertProc() 416 pixelMap.SetPixelsAddr(resultData, fdBuffer, bufferSize, decodeOpts_.allocatorType, nullptr); in PixelConvertProc() 652 pixelMap.SetPixelsAddr(output.data, output.context, output.bufferSize, decodeOpts_.allocatorType, nullptr); in Transform() 865 pixelMap.SetPixelsAddr(m->data.data, m->extend.data, dstBufferSize, m->GetType(), nullptr); in ScalePixelMapWithSLR() 968 pixelMap.SetPixelsAddr(me in ScalePixelMapEx() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/ |
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); in HWTEST_F() 204 pixelMap.SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in HWTEST_F() 268 pixelMap.SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in HWTEST_F() 320 pixelMap.SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in HWTEST_F() 447 pixelMap.SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in HWTEST_F() 1914 pixelMap.SetPixelsAddr(buffer, nullptr, pixelsSize, AllocatorType::HEAP_ALLOC, nullptr); in HWTEST_F() 2000 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in ConstructSLRBigPixmap()
|
H A D | pixel_map_test.cpp | 79 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, type, nullptr); in ConstructPixmap() 111 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, type, nullptr); in ConstructPixmap() 157 pixelMap->SetPixelsAddr(buffer, nullptr, bufferSize, type, nullptr); in ConstructPixelMap() 860 pixelMap1->SetPixelsAddr(dstPixels, fdBuffer, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in HWTEST_F() 1570 pixelMap->SetPixelsAddr(buffer, context, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in HWTEST_F() 1637 srcPixelMap.SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in HWTEST_F() 1688 srcPixelMap.SetPixelsAddr(buffer, nullptr, bufferSize, AllocatorType::HEAP_ALLOC, nullptr); in HWTEST_F()
|
/foundation/multimedia/image_effect/test/unittest/mock/src/ |
H A D | mock_pixel_map.cpp | 53 ON_CALL(*this, SetPixelsAddr(_, _, _, _, _)).WillByDefault( in MockPixelMap()
|
/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()
|
/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); in HWTEST_F()
|
H A D | webp_encoder_test.cpp | 137 pixelMap->SetPixelsAddr(nullptr, nullptr, 10, AllocatorType::HEAP_ALLOC, nullptr); in HWTEST_F() 222 pixelMap->SetPixelsAddr(nullptr, nullptr, 10, AllocatorType::HEAP_ALLOC, nullptr); in HWTEST_F() 252 pixelMap->SetPixelsAddr(nullptr, nullptr, 10, AllocatorType::HEAP_ALLOC, nullptr); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_surface_capture_task.cpp | 210 pixelmap->SetPixelsAddr(data, fdPtr, size, Media::AllocatorType::SHARE_MEM_ALLOC, nullptr);
in CopyDataToPixelMap() 230 pixelmap->SetPixelsAddr(data, nullptr, size, Media::AllocatorType::HEAP_ALLOC, nullptr);
in CopyDataToPixelMap()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_extended_modifier.cpp | 71 pixelMap->SetPixelsAddr(surfaceBuffer->GetVirAddr(), nativeBuffer, bufferSize, in DmaMemAlloc()
|
/foundation/multimedia/av_session/services/session/server/test/ |
H A D | avcontroller_callback_proxy_test.cpp | 136 pixelMap->SetPixelsAddr(buffer.data(), nullptr, bufferSize, AllocatorType::CUSTOM_ALLOC, nullptr); in CreatePixelMap()
|
/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/ |
H A D | avmetadatahelper_impl.cpp | 203 pixelMap->SetPixelsAddr(holder->heap, holder, static_cast<uint32_t>(pixelMap->GetByteCount()), in CreatePixelMap() 352 pixelMap->SetPixelsAddr(pixelAddr, holder, pixelMap->GetByteCount(), in CreatePixelMapFromAVShareMemory() 398 pixelMap->SetPixelsAddr(surfaceBuffer->GetVirAddr(), surfaceBuffer.GetRefPtr(), surfaceBuffer->GetSize(), in CreatePixelMapFromSurfaceBuffer()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/ |
H A D | pixel_map.h | 84 NATIVEEXPORT void SetPixelsAddr(void *addr, void *context, uint32_t size, AllocatorType type,
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/picture/ |
H A D | auxiliary_generator.cpp | 166 pixelMap->SetPixelsAddr(addrInfos.addr, addrInfos.context, addrInfos.size, addrInfos.type, addrInfos.func); in CreatePixelMapByContext()
|