Home
last modified time | relevance | path

Searched refs:colorLength (Results 1 - 25 of 27) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client_watermark_demo.cpp32 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 Dpixelmap_native_impl.cpp33 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 Dpixelmap_native_impl.h27 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 Dpixel_map_test.cpp177 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 Dnative_image_test.cpp459 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 Drs_interfaces_system_test.cpp141 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 Dpixel_map_impl.cpp40 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 Dimage_ffi.cpp603 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 Dpixel_map_preview.cpp45 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 Dpixel_map_preview.h30 const uint32_t* colors, uint32_t colorLength, int32_t width, int32_t height);
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/
H A Dimage_source_preview.h132 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 Djs_data_panel.cpp281 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 Dpixel_map.h69 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 Dpixel_map.h107 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 Dpixel_map_impl.h67 static std::unique_ptr<PixelMap> CreatePixelMap(uint32_t *colors, uint32_t colorLength,
H A Dimage_ffi.h108 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 Drs_uni_ui_capture_test.cpp246 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 Drs_uni_ui_capture_ext_test.cpp152 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 Dpixel_map.h156 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 Darkts_native_data_panel_bridge.cpp84 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 Darkts_native_progress_bridge.cpp96 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 Davmetadatahelper_impl.cpp375 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 Dpixel_map_ohos.cpp279 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 Dpixel_map.cpp244 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 Dpixelmap_native_ndk_test.cpp250 size_t colorLength = 0; in HWTEST_F() local
253 Image_ErrorCode ret = OH_PixelmapNative_CreatePixelmap(colors, colorLength, opts, &pixelMap); in HWTEST_F()

Completed in 24 milliseconds

12