Home
last modified time | relevance | path

Searched refs:dstMemory (Results 1 - 6 of 6) sorted by relevance

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_yuv.cpp301 auto dstMemory = CreateMemory(imageInfo_.pixelFormat, "Rotate ImageData", dstWidth, dstHeight, dstStrides); in rotate() local
302 if (dstMemory == nullptr) { in rotate()
307 uint8_t *dst = reinterpret_cast<uint8_t *>(dstMemory->data.data); in rotate()
315 dstMemory->Release(); in rotate()
320 SetPixelsAddr(dstMemory->data.data, dstMemory->extend.data, dstMemory->data.size, dstMemory->GetType(), nullptr); in rotate()
336 auto dstMemory = CreateMemory(imageInfo_.pixelFormat, "crop ImageData", rect.width, rect.height, dstStrides); in crop() local
337 if (dstMemory in crop()
399 auto dstMemory = CreateMemory(imageInfo.pixelFormat, "scale ImageData", dstW, dstH, dstStrides); scale() local
437 auto dstMemory = CreateMemory(imageInfo.pixelFormat, "scale ImageData", dstW, dstH, dstStrides); scale() local
475 auto dstMemory = CreateMemory(imageInfo_.pixelFormat, "flip ImageData", srcW, srcH, dstStrides); flip() local
691 auto dstMemory = CreateMemory(imageInfo_.pixelFormat, "translate ImageData", width, height, dstStrides); translate() local
878 auto dstMemory = MemoryManager::CreateMemory(allocatorType_, memoryData); SetColorSpace() local
[all...]
H A Dpixel_map.cpp376 static int AllocPixelMapMemory(std::unique_ptr<AbsMemory> &dstMemory, int32_t &dstRowStride, in AllocPixelMapMemory() argument
388 dstMemory = MemoryManager::CreateMemory( in AllocPixelMapMemory()
390 if (dstMemory == nullptr) { in AllocPixelMapMemory()
397 if (dstMemory->GetType() == AllocatorType::DMA_ALLOC) { in AllocPixelMapMemory()
398 SurfaceBuffer* sbBuffer = reinterpret_cast<SurfaceBuffer*>(dstMemory->extend.data); in AllocPixelMapMemory()
435 std::unique_ptr<AbsMemory> dstMemory = nullptr; in Create() local
437 errorCode = AllocPixelMapMemory(dstMemory, dstRowStride, dstImageInfo, opts.useDMA); in Create()
444 BufferInfo dstInfo = {dstMemory->data.data, dstRowStride, dstImageInfo}; in Create()
446 PixelConvert::PixelsConvert(srcInfo, dstInfo, colorLength, dstMemory->GetType() == AllocatorType::DMA_ALLOC); in Create()
449 dstMemory in Create()
661 std::unique_ptr<AbsMemory> dstMemory = nullptr; Create() local
3465 std::unique_ptr<AbsMemory> dstMemory = MemoryManager::CreateMemory(memoryInfo.allocType, memoryData); GendstTransInfo() local
3530 TransMemoryInfo dstMemory; DoTranslation() local
[all...]
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/
H A DHeifDecoderImpl.h121 bool HwApplyAlphaImage(std::shared_ptr<HeifImage> &masterImage, uint8_t *dstMemory, size_t dstRowStride);
123 bool SwApplyAlphaImage(std::shared_ptr<HeifImage> &masterImage, uint8_t *dstMemory, size_t dstRowStride);
126 uint8_t *dstMemory, size_t dstRowStride);
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/
H A DHeifDecoderImpl.cpp899 size_t alphaStride, uint8_t *dstMemory, size_t dstRowStride) in FillAlphaChannel()
903 uint8_t *dstRowStart = dstMemory; in FillAlphaChannel()
940 uint8_t *dstMemory, size_t dstRowStride) in HwApplyAlphaImage()
963 hwBuffer->GetStride(), dstMemory, dstRowStride); in HwApplyAlphaImage()
967 uint8_t *dstMemory, size_t dstRowStride) in SwApplyAlphaImage()
994 return FillAlphaChannel(masterImage, alphaMemory.get(), alphaStride, dstMemory, dstRowStride); in SwApplyAlphaImage()
998 uint8_t *dstMemory, size_t dstRowStride) in ConvertHwBufferPixelFormat()
1023 PixelFormatConvertParam dstParam = {dstMemory, gridInfo.displayWidth, gridInfo.displayHeight, in ConvertHwBufferPixelFormat()
898 FillAlphaChannel(std::shared_ptr<HeifImage> &masterImage, uint8_t *alphaMemory, size_t alphaStride, uint8_t *dstMemory, size_t dstRowStride) FillAlphaChannel() argument
939 HwApplyAlphaImage(std::shared_ptr<HeifImage> &masterImage, uint8_t *dstMemory, size_t dstRowStride) HwApplyAlphaImage() argument
966 SwApplyAlphaImage(std::shared_ptr<HeifImage> &masterImage, uint8_t *dstMemory, size_t dstRowStride) SwApplyAlphaImage() argument
997 ConvertHwBufferPixelFormat(sptr<SurfaceBuffer> &hwBuffer, GridInfo &gridInfo, uint8_t *dstMemory, size_t dstRowStride) ConvertHwBufferPixelFormat() argument
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dpost_proc.cpp516 auto dstMemory = MemoryManager::CreateMemory(AllocatorType::DMA_ALLOC, memoryData); in AllocDmaMemory()
517 if (dstMemory == nullptr) { in AllocDmaMemory()
520 *nativeBuffer = dstMemory->extend.data; in AllocDmaMemory()
521 auto sbBuffer = reinterpret_cast<SurfaceBuffer *>(dstMemory->extend.data); in AllocDmaMemory()
523 return (uint8_t *)dstMemory->data.data; in AllocDmaMemory()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp3177 std::unique_ptr<AbsMemory> dstMemory = MemoryManager::CreateMemory(allocatorType, memoryData);
3178 if (dstMemory == nullptr) {
3182 pixelAstc->SetPixelsAddr(dstMemory->data.data, dstMemory->extend.data, dstMemory->data.size, dstMemory->GetType(),
3188 static_cast<uint8_t *>(dstMemory->data.data), astcSize, pixelAstc);
3193 if (memcpy_s(dstMemory->data.data, astcSize, sourceFilePtr, astcSize) != 0) {

Completed in 14 milliseconds