4#ifndef QOHOSIMAGECONVERSIONS_P_H
5#define QOHOSIMAGECONVERSIONS_P_H
18#include <QtCore/private/qcore_ohos_p.h>
19#include <QtCore/private/qnapi_p.h>
20#include <QtGui/qimage.h>
22#include <multimedia/image_framework/image/pixelmap_native.h>
28Q_GUI_EXPORT std::shared_ptr<::OH_PixelmapNative> makeEmptyOhosNativePixelMap();
30Q_GUI_EXPORT std::shared_ptr<::OH_PixelmapNative> wrapOhosNativePixelMapPtr(::OH_PixelmapNative *pixelMap);
32Q_GUI_EXPORT QNapi::Object makeOhosNapiPixelMapFromQImage(QOhosJsState &jsState,
const QImage &image);
std::optional<::PIXEL_FORMAT > tryMapQtPixelFormatToOhosPixelFormat(QImage::Format format)
::PIXELMAP_ALPHA_TYPE mapQtPixelFormatToOhosPixelMapAlphaType(const QPixelFormat &pixelFormat)
std::shared_ptr<::OH_Pixelmap_InitializationOptions > createOhPixelmapInitializationOptions()
std::shared_ptr<::OH_Pixelmap_InitializationOptions > makeNativePixelMapInitializationOptions(std::uint32_t width, std::uint32_t height, ::PIXEL_FORMAT pixelFormat, ::PIXELMAP_ALPHA_TYPE alphaType)
QOhosInvokeResult< Func, FuncArgs... > callOhosCApiFunc(QOhosNamedFunc< Func, f > func, FuncArgs &&...funcArgs)
void callOhosCApiFuncOrFailOnErrorResult(QOhosNamedFunc< Func, f > func, FuncArgs &&...funcArgs)
QNapi::Object makeOhosNapiPixelMapFromQImage(QOhosJsState &jsState, const QImage &image)
std::shared_ptr<::OH_PixelmapNative > makeEmptyOhosNativePixelMap()
std::shared_ptr<::OH_PixelmapNative > wrapOhosNativePixelMapPtr(::OH_PixelmapNative *pixelMap)
std::shared_ptr<::OH_PixelmapNative > makeOhosNativePixelMapFromQImage(QImage qImage)
QDebug Q_GUI_EXPORT & operator<<(QDebug &s, const QVectorPath &path)