Home
last modified time | relevance | path

Searched refs:GetInt32Property (Results 1 – 2 of 2) sorted by relevance

/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/
Dimage_source_test.cpp91 static bool GetInt32Property(napi_env env, napi_value root, const char* utf8name, int32_t* res) in GetInt32Property() function
220 GetInt32Property(env, arg, "density", &(src.density)); in parseImageSourceOpt()
221 GetInt32Property(env, arg, "pixelFormat", &(src.pixelFormat)); in parseImageSourceOpt()
225 GetInt32Property(env, nSize, "width", &(src.size.width)); in parseImageSourceOpt()
226 GetInt32Property(env, nSize, "height", &(src.size.height)); in parseImageSourceOpt()
239 GetInt32Property(env, arg, "pixelFormat", &(ops.pixelFormat)); in parseImageDecodingOps()
240 GetInt32Property(env, arg, "fitDensity", &(ops.fitDensity)); in parseImageDecodingOps()
247 GetInt32Property(env, nSize, "width", &(ops.size.width)); in parseImageDecodingOps()
248 GetInt32Property(env, nSize, "height", &(ops.size.height)); in parseImageDecodingOps()
253 GetInt32Property(env, nRegion, "x", &(ops.region.x)); in parseImageDecodingOps()
[all …]
/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/
Dimage_packing_test.cpp61 static bool GetInt32Property(napi_env env, napi_value root, const char* utf8name, int32_t* res) in GetInt32Property() function
143 if (!GetInt32Property(env, arg, "quality", &(ops.quality))) { in parseImagePackingOps()