Home
last modified time | relevance | path

Searched refs:ops (Results 1 - 14 of 14) sorted by relevance

/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/
H A Dimage_packing_test.cpp133 static bool parseImagePackingOps(napi_env env, napi_value arg, struct ImagePackingTestOps &ops) in parseImagePackingOps() argument
140 if (!GetStringProperty(env, arg, "format", &(ops.format), &(ops.formatSize))) { in parseImagePackingOps()
143 if (!GetInt32Property(env, arg, "quality", &(ops.quality))) { in parseImagePackingOps()
146 GetUint32Property(env, arg, "size", &(ops.size)); in parseImagePackingOps()
212 struct ImagePackingTestOps ops; in PackToData() local
213 if (!parseImagePackingOps(env, argValue[ARGS_THIRD], ops)) { in PackToData()
214 DEBUG_LOG("packing ops parse failed"); in PackToData()
219 packerOpts.format = ops.format; in PackToData()
220 packerOpts.quality = ops in PackToData()
256 struct ImagePackingTestOps ops; PackToFile() local
[all...]
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/
H A Dimage_source_test.cpp230 static bool parseImageDecodingOps(napi_env env, napi_value arg, struct OhosImageDecodingOps &ops) in parseImageDecodingOps() argument
238 GetBoolProperty(env, arg, "editable", &(ops.editable)); in parseImageDecodingOps()
239 GetInt32Property(env, arg, "pixelFormat", &(ops.pixelFormat)); in parseImageDecodingOps()
240 GetInt32Property(env, arg, "fitDensity", &(ops.fitDensity)); in parseImageDecodingOps()
241 GetUint32Property(env, arg, "index", &(ops.index)); in parseImageDecodingOps()
242 GetUint32Property(env, arg, "sampleSize", &(ops.sampleSize)); in parseImageDecodingOps()
243 GetUint32Property(env, arg, "rotate", &(ops.rotate)); 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 in parseImageDecodingOps()
295 struct OhosImageSourceOps ops; Create() local
325 struct OhosImageSourceOps ops; CreateFromFd() local
356 struct OhosImageSourceOps ops; CreateFromData() local
380 struct OhosImageSourceOps ops; CreateFromUri() local
417 struct OhosImageSourceOps ops; CreateFromRawFile() local
439 struct OhosImageSourceOps ops; CreateIncremental() local
476 struct OhosImageSourceOps ops; CreateIncrementalFromData() local
523 struct OhosImageDecodingOps ops; CreatePixelMap() local
543 struct OhosImageDecodingOps ops; CreatePixelMapList() local
[all...]
/test/xts/acts/graphic/graphicEffectFliterTest/
H A DImagePixelMapTest.cpp39 OH_Pixelmap_InitializationOptions *ops = nullptr; in HWTEST_F() local
40 OH_PixelmapInitializationOptions_Create(&ops); in HWTEST_F()
42 OH_PixelmapInitializationOptions_SetSrcPixelFormat(ops, 1); in HWTEST_F()
43 OH_PixelmapInitializationOptions_GetSrcPixelFormat(ops, &srcpixelFormat); in HWTEST_F()
45 Image_ErrorCode ret = OH_PixelmapInitializationOptions_Release(ops); in HWTEST_F()
H A DNativeEffectTest.cpp29 OH_Pixelmap_InitializationOptions *ops = nullptr; in CreatePixelMap() local
30 OH_PixelmapInitializationOptions_Create(&ops); in CreatePixelMap()
32 OH_PixelmapInitializationOptions_SetAlphaType(ops, 2); in CreatePixelMap()
34 OH_PixelmapInitializationOptions_SetHeight(ops, 4); in CreatePixelMap()
36 OH_PixelmapInitializationOptions_SetWidth(ops, 4); in CreatePixelMap()
38 OH_PixelmapInitializationOptions_SetPixelFormat(ops, 4); in CreatePixelMap()
48 OH_PixelmapNative_CreatePixelmap(data, dataLength, ops, *pixelmap); in CreatePixelMap()
/test/xts/acts/graphic/imageNdk/entry/src/main/cpp/
H A DImageNdk.cpp280 OH_Pixelmap_InitializationOptions *ops = nullptr; in TestNativeSetGetSrcPixelFormat() local
281 OH_PixelmapInitializationOptions_Create(&ops); in TestNativeSetGetSrcPixelFormat()
283 OH_PixelmapInitializationOptions_SetSrcPixelFormat(ops, 1); in TestNativeSetGetSrcPixelFormat()
284 OH_PixelmapInitializationOptions_GetSrcPixelFormat(ops, &srcpixelFormat); in TestNativeSetGetSrcPixelFormat()
285 Image_ErrorCode errCode = OH_PixelmapInitializationOptions_Release(ops); in TestNativeSetGetSrcPixelFormat()
/test/xts/acts/ai/neural_network_runtime/v2_0/common/
H A Dmock_idevice.cpp202 int32_t MockIDevice::GetSupportedOperation(const Model& model, std::vector<bool>& ops) in GetSupportedOperation() argument
204 ops = m_operations; in GetSupportedOperation()
H A Dmock_idevice.h45 int32_t GetSupportedOperation(const Model& model, std::vector<bool>& ops) override;
/test/xts/acts/ai/nncore/opstest/src/
H A Dmock_idevice.cpp200 int32_t MockIDevice::GetSupportedOperation(const Model& model, std::vector<bool>& ops) in GetSupportedOperation() argument
202 ops = m_operations; in GetSupportedOperation()
/test/xts/acts/ai/neural_network_runtime/v1_0/common/
H A Dmock_idevice.cpp184 int32_t MockIDevice::GetSupportedOperation(const Model& model, std::vector<bool>& ops) in GetSupportedOperation() argument
186 ops = m_operations; in GetSupportedOperation()
H A Dmock_idevice.h45 int32_t GetSupportedOperation(const Model& model, std::vector<bool>& ops) override;
/test/xts/acts/ai/nncore/common/
H A Dmock_idevice.cpp200 int32_t MockIDevice::GetSupportedOperation(const Model& model, std::vector<bool>& ops) in GetSupportedOperation() argument
202 ops = m_operations; in GetSupportedOperation()
H A Dmock_idevice.h45 int32_t GetSupportedOperation(const Model& model, std::vector<bool>& ops) override;
/test/xts/acts/ai/nncore/opstest/include/
H A Dmock_idevice.h45 int32_t GetSupportedOperation(const Model& model, std::vector<bool>& ops) override;
/test/xts/acts/multimedia/image/image_ets_standard/pictureNdk/entry/src/main/cpp/
H A DPictureNdk.cpp306 OH_DecodingOptions *ops = nullptr; in CreateTestPixelmapByImageSource() local
308 errCode = OH_DecodingOptions_Create(&ops); in CreateTestPixelmapByImageSource()
313 errCode = OH_DecodingOptions_SetPixelFormat(ops, pixelFormat); in CreateTestPixelmapByImageSource()
318 errCode = OH_ImageSourceNative_CreatePixelmap(g_ctx.imageSource, ops, &g_ctx.pixelMap); in CreateTestPixelmapByImageSource()

Completed in 11 milliseconds