Home
last modified time | relevance | path

Searched refs:colorSpaceValue (Results 1 - 5 of 5) sorted by relevance

/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dauxiliary_picture_napi.cpp564 napi_value colorSpaceValue = reinterpret_cast<napi_value>(resultValue); in GetAuxiliaryPictureInfoNapiValue() local
565 napi_create_int32(env, static_cast<int32_t>(auxiliaryPictureInfo->colorSpace), &colorSpaceValue); in GetAuxiliaryPictureInfoNapiValue()
566 napi_set_named_property(env, result, "colorSpace", colorSpaceValue); in GetAuxiliaryPictureInfoNapiValue()
H A Dimage_source_napi.cpp919 napi_value colorSpaceValue = nullptr; in STATIC_NAPI_VALUE_FUNC() local
920 napi_create_int32(env, static_cast<int32_t>(imageInfo->colorSpace), &colorSpaceValue); in STATIC_NAPI_VALUE_FUNC()
921 napi_set_named_property(env, result, "colorSpace", colorSpaceValue); in STATIC_NAPI_VALUE_FUNC()
H A Dpixel_map_napi.cpp2092 napi_value colorSpaceValue = nullptr; in STATIC_NAPI_VALUE_FUNC() local
2093 napi_create_int32(env, static_cast<int32_t>(imageInfo->colorSpace), &colorSpaceValue); in STATIC_NAPI_VALUE_FUNC()
2094 napi_set_named_property(env, result, "colorSpace", colorSpaceValue); in STATIC_NAPI_VALUE_FUNC()
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
H A Djs_display.cpp549 GraphicCM_ColorSpaceType colorSpaceValue = static_cast<GraphicCM_ColorSpaceType>(colorSpace); in CreateJsColorSpaceArray() local
550 if (NATIVE_TO_JS_COLOR_SPACE_TYPE_MAP.count(colorSpaceValue) == 0) { in CreateJsColorSpaceArray()
555 nativeColorSpaces.insert(static_cast<uint32_t>(NATIVE_TO_JS_COLOR_SPACE_TYPE_MAP.at(colorSpaceValue))); in CreateJsColorSpaceArray()
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_pixel_map_napi.cpp1704 napi_value colorSpaceValue = nullptr; in STATIC_NAPI_VALUE_FUNC() local
1705 napi_create_int32(env, static_cast<int32_t>(imageInfo->colorSpace), &colorSpaceValue); in STATIC_NAPI_VALUE_FUNC()
1706 napi_set_named_property(env, result, "colorSpace", colorSpaceValue); in STATIC_NAPI_VALUE_FUNC()

Completed in 25 milliseconds