/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_watermark_demo.cpp | 32 uint32_t colorLength = sizeof(color) / sizeof(color[0]); in main() local 40 std::unique_ptr<Media::PixelMap> pixelMap1 = Media::PixelMap::Create(color, colorLength, offset, stride, opts); in main()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/pixelmap_ndk/ |
H A D | pixelmap_native_impl.cpp | 33 OH_PixelmapNative::OH_PixelmapNative(const uint32_t *colors, uint32_t colorLength, const InitializationOptions &opts) in OH_PixelmapNative() argument 40 auto tmpPixelmap = PixelMap::Create(colors, colorLength, opts); in OH_PixelmapNative()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/include/ |
H A D | pixelmap_native_impl.h | 27 OH_PixelmapNative(const uint32_t *colors, uint32_t colorLength, const OHOS::Media::InitializationOptions &opts);
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/ |
H A D | pixel_map_test.cpp | 177 uint32_t colorLength = width * height * pixelByte; in CreateBuffer() local 178 for (int i = 0; i < colorLength; i += pixelByte) { in CreateBuffer() 2086 constexpr uint32_t colorLength = width * height * pixelByte; in HWTEST_F() local 2087 uint8_t buffer[colorLength] = {0}; in HWTEST_F() 2092 std::unique_ptr<PixelMap> pixelMap1 = PixelMap::Create(color, colorLength, offset, width, opts1); in HWTEST_F() 2123 constexpr uint32_t colorLength = width * height * pixelByte; in HWTEST_F() local 2124 uint8_t buffer[colorLength] = {0}; in HWTEST_F() 2129 std::unique_ptr<PixelMap> pixelMap1 = PixelMap::Create(color, colorLength, offset, width, opts1); in HWTEST_F() 2143 for (int i = 0; i < colorLength; i += 4) in HWTEST_F() 2165 constexpr uint32_t colorLength in HWTEST_F() local 2215 constexpr uint32_t colorLength = width * height * pixelByte; HWTEST_F() local 2246 constexpr uint32_t colorLength = width * height * pixelByte; HWTEST_F() local 2290 constexpr uint32_t colorLength = width * height * pixelByte; HWTEST_F() local 2326 constexpr uint32_t colorLength = width * height * pixelByte; HWTEST_F() local 2362 constexpr uint32_t colorLength = width * height * pixelByte; HWTEST_F() local 2398 constexpr uint32_t colorLength = width * height * pixelByte; HWTEST_F() local 2436 constexpr uint32_t colorLength = width * height * pixelByte; HWTEST_F() local [all...] |
H A D | native_image_test.cpp | 459 uint32_t colorLength = 1; in HWTEST_F() local 465 bool ret = pixelmap.CheckParams(&colors, colorLength, offset, width, opts); in HWTEST_F() 469 ret = pixelmap.CheckParams(&colors, colorLength, offset, width, opts); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/systemtest/ |
H A D | rs_interfaces_system_test.cpp | 141 uint32_t colorLength = sizeof(color) / sizeof(color[0]);
in HWTEST_F() local 149 std::unique_ptr<Media::PixelMap> pixelMap1 = Media::PixelMap::Create(color, colorLength, offset, stride, opts);
in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/kits/cj/src/ |
H A D | pixel_map_impl.cpp | 40 std::unique_ptr<PixelMap> PixelMapImpl::CreatePixelMap(uint32_t *colors, uint32_t colorLength, in CreatePixelMap() argument 48 std::unique_ptr<PixelMap> ptr_ = PixelMap::Create(colors, colorLength, opts); in CreatePixelMap()
|
H A D | image_ffi.cpp | 603 int64_t FfiOHOSCreatePixelMap(uint8_t *colors, uint32_t colorLength, CInitializationOptions opts) in FfiOHOSCreatePixelMap() argument 608 PixelMapImpl::CreatePixelMap(reinterpret_cast<uint32_t*>(colors), colorLength, option); in FfiOHOSCreatePixelMap()
|
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | pixel_map_preview.cpp | 45 const uint32_t* colors, uint32_t colorLength, int32_t width, int32_t height) in ConvertSkImageToPixmap() 44 ConvertSkImageToPixmap( const uint32_t* colors, uint32_t colorLength, int32_t width, int32_t height) ConvertSkImageToPixmap() argument
|
H A D | pixel_map_preview.h | 30 const uint32_t* colors, uint32_t colorLength, int32_t width, int32_t height);
|
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | image_source_preview.h | 132 const uint32_t* colors, uint32_t colorLength, const InitializationOptions& opts) in Create() 131 Create( const uint32_t* colors, uint32_t colorLength, const InitializationOptions& opts) Create() argument
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_data_panel.cpp | 281 size_t colorLength = jsLinearGradient->GetGradient().size(); in ConvertGradientColor() local 282 if (colorLength == 0) { in ConvertGradientColor() 285 for (size_t colorIndex = 0; colorIndex < colorLength; ++colorIndex) { in ConvertGradientColor()
|
/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/ |
H A D | pixel_map.h | 69 NATIVEEXPORT static std::unique_ptr<PixelMap> Create(const uint32_t *colors, uint32_t colorLength, 71 NATIVEEXPORT static std::unique_ptr<PixelMap> Create(const uint32_t *colors, uint32_t colorLength, int32_t offset, 222 static bool CheckParams(const uint32_t *colors, uint32_t colorLength, int32_t offset, int32_t stride,
|
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | pixel_map.h | 107 NATIVEEXPORT static std::unique_ptr<PixelMap> Create(const uint32_t *colors, uint32_t colorLength, 109 NATIVEEXPORT static std::unique_ptr<PixelMap> Create(const uint32_t *colors, uint32_t colorLength, int32_t offset, 111 NATIVEEXPORT static std::unique_ptr<PixelMap> Create(const uint32_t *colors, uint32_t colorLength, int32_t offset, 113 NATIVEEXPORT static std::unique_ptr<PixelMap> Create(const uint32_t *colors, uint32_t colorLength, 406 static bool CheckParams(const uint32_t *colors, uint32_t colorLength, int32_t offset, int32_t stride,
|
/foundation/multimedia/image_framework/frameworks/kits/cj/include/ |
H A D | pixel_map_impl.h | 67 static std::unique_ptr<PixelMap> CreatePixelMap(uint32_t *colors, uint32_t colorLength,
|
H A D | image_ffi.h | 108 FFI_EXPORT int64_t FfiOHOSCreatePixelMap(uint8_t *colors, uint32_t colorLength, CInitializationOptions opts);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_ui_capture_test.cpp | 246 uint32_t colorLength = sizeof(color) / sizeof(color[0]); in HWTEST_F() local 250 std::shared_ptr<Media::PixelMap> pixelMap1 = Media::PixelMap::Create(color, colorLength, offset, stride, opts); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/ |
H A D | rs_uni_ui_capture_ext_test.cpp | 152 uint32_t colorLength = sizeof(color) / sizeof(color[0]); in HWTEST_F() local 156 std::shared_ptr<Media::PixelMap> pixelMap1 = Media::PixelMap::Create(color, colorLength, offset, stride, opts); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/base/image/ |
H A D | pixel_map.h | 156 const uint32_t* colors, uint32_t colorLength, int32_t width, int32_t height);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_data_panel_bridge.cpp | 84 size_t colorLength = jsLinearGradient->GetGradient().size(); in ConvertGradientColor() local 85 if (colorLength == 0) { in ConvertGradientColor() 88 for (size_t colorIndex = 0; colorIndex < colorLength; ++colorIndex) { in ConvertGradientColor()
|
H A D | arkts_native_progress_bridge.cpp | 96 size_t colorLength = jsLinearGradient->GetGradient().size(); in ConvertProgressResourceColor() local 97 if (colorLength == 0) { in ConvertProgressResourceColor() 100 for (size_t colorIndex = 0; colorIndex < colorLength; ++colorIndex) { in ConvertProgressResourceColor()
|
/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/ |
H A D | avmetadatahelper_impl.cpp | 375 int32_t colorLength = surfaceBuffer->GetWidth() * surfaceBuffer->GetHeight() * PIXEL_SIZE_HDR_YUV; in CreatePixelMapFromSurfaceBuffer() local 376 colorLength = isHdr ? colorLength : colorLength / HDR_PIXEL_SIZE; in CreatePixelMapFromSurfaceBuffer() 390 static_cast<uint32_t>(colorLength), options); in CreatePixelMapFromSurfaceBuffer()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | pixel_map_ohos.cpp | 279 const uint32_t* colors, uint32_t colorLength, int32_t width, int32_t height) in ConvertSkImageToPixmap() 285 std::unique_ptr<Media::PixelMap> pixmap = Media::PixelMap::Create(colors, colorLength, opts); in ConvertSkImageToPixmap() 278 ConvertSkImageToPixmap( const uint32_t* colors, uint32_t colorLength, int32_t width, int32_t height) ConvertSkImageToPixmap() argument
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_map.cpp | 244 unique_ptr<PixelMap> PixelMap::Create(const uint32_t *colors, uint32_t colorLength, const InitializationOptions &opts) in Create() argument 247 return Create(colors, colorLength, 0, opts.size.width, opts); in Create() 250 unique_ptr<PixelMap> PixelMap::Create(const uint32_t *colors, uint32_t colorLength, int32_t offset, int32_t width, in Create() argument 254 return Create(colors, colorLength, 0, opts.size.width, opts, true); in Create() 257 unique_ptr<PixelMap> PixelMap::Create(const uint32_t *colors, uint32_t colorLength, int32_t offset, int32_t width, in Create() argument 265 return Create(colors, colorLength, info, opts, errorCode); in Create() 406 unique_ptr<PixelMap> PixelMap::Create(const uint32_t *colors, uint32_t colorLength, BUILD_PARAM &info, in Create() argument 410 if (!CheckParams(colors, colorLength, offset, info.width_, opts)) { in Create() 446 PixelConvert::PixelsConvert(srcInfo, dstInfo, colorLength, dstMemory->GetType() == AllocatorType::DMA_ALLOC); in Create() 560 bool PixelMap::CheckParams(const uint32_t *colors, uint32_t colorLength, int32_ argument [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | pixelmap_native_ndk_test.cpp | 250 size_t colorLength = 0; in HWTEST_F() local 253 Image_ErrorCode ret = OH_PixelmapNative_CreatePixelmap(colors, colorLength, opts, &pixelMap); in HWTEST_F()
|