1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_NDK_STL_VARIANT := gnustl_static 6LOCAL_SDK_VERSION := 21 7 8LOCAL_MODULE := libopencv_core 9 10LOCAL_RTTI_FLAG := -frtti 11 12LOCAL_C_INCLUDES := \ 13 $(LOCAL_PATH) \ 14 $(LOCAL_PATH)/modules/core/include \ 15 $(LOCAL_PATH)/opencv2 \ 16 $(LOCAL_PATH)/modules/hal/include 17 18LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 19 20LOCAL_LDLIBS := -llog -lz -ldl 21 22# cxmathfuncs.cpp has implicit cast of int struct fields. 23LOCAL_CLANG_CFLAGS += -Wno-c++11-narrowing 24 25LOCAL_SRC_FILES := \ 26 modules/core/src/algorithm.cpp \ 27 modules/core/src/copy.cpp \ 28 modules/core/src/lda.cpp \ 29 modules/core/src/opengl.cpp \ 30 modules/core/src/stat.cpp \ 31 modules/core/src/alloc.cpp \ 32 modules/core/src/downhill_simplex.cpp \ 33 modules/core/src/lpsolver.cpp \ 34 modules/core/src/out.cpp \ 35 modules/core/src/stl.cpp \ 36 modules/core/src/arithm.cpp \ 37 modules/core/src/cuda_gpu_mat.cpp \ 38 modules/core/src/dxt.cpp \ 39 modules/core/src/mathfuncs.cpp \ 40 modules/core/src/parallel.cpp \ 41 modules/core/src/system.cpp \ 42 modules/core/src/array.cpp \ 43 modules/core/src/cuda_host_mem.cpp \ 44 modules/core/src/matmul.cpp \ 45 modules/core/src/parallel_pthreads.cpp \ 46 modules/core/src/tables.cpp \ 47 modules/core/src/cuda_info.cpp \ 48 modules/core/src/matop.cpp \ 49 modules/core/src/pca.cpp \ 50 modules/core/src/types.cpp \ 51 modules/core/src/command_line_parser.cpp \ 52 modules/core/src/cuda_stream.cpp \ 53 modules/core/src/glob.cpp \ 54 modules/core/src/matrix.cpp \ 55 modules/core/src/persistence.cpp \ 56 modules/core/src/umatrix.cpp \ 57 modules/core/src/conjugate_gradient.cpp \ 58 modules/core/src/datastructs.cpp \ 59 modules/core/src/kmeans.cpp \ 60 modules/core/src/ocl.cpp \ 61 modules/core/src/convert.cpp \ 62 modules/core/src/directx.cpp \ 63 modules/core/src/lapack.cpp \ 64 modules/core/src/rand.cpp 65 66LOCAL_STATIC_LIBRARIES += libopencv_hal 67 68include $(BUILD_SHARED_LIBRARY) 69 70 71# Build dls.cpp separately without optimizations to avoid slow compile times. 72# We only need to pass -O1 for arm64. Everything else works fine with the defaults. 73# Bug: http://b/25691376 74include $(CLEAR_VARS) 75 76LOCAL_NDK_STL_VARIANT := gnustl_static 77LOCAL_SDK_VERSION := 21 78 79LOCAL_MODULE := libopencv_fix_dls 80 81LOCAL_RTTI_FLAG := -frtti 82 83LOCAL_C_INCLUDES := \ 84 $(LOCAL_PATH) \ 85 $(LOCAL_PATH)/modules/calib3d/include \ 86 $(LOCAL_PATH)/modules/core/include \ 87 $(LOCAL_PATH)/modules/hal/include \ 88 $(LOCAL_PATH)/modules/features2d/include \ 89 $(LOCAL_PATH)/modules/flann/include \ 90 $(LOCAL_PATH)/modules/imgproc/include \ 91 $(LOCAL_PATH)/modules/calib3d/src \ 92 $(LOCAL_PATH)/modules/calib3d \ 93 $(LOCAL_PATH)/opencv2 \ 94 $(LOCAL_PATH)/modules/java/generator/src/cpp/common.h 95 96LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 97LOCAL_CFLAGS_arm64 += -O1 98 99LOCAL_SRC_FILES := \ 100 modules/calib3d/src/dls.cpp \ 101 102include $(BUILD_STATIC_LIBRARY) 103 104 105include $(CLEAR_VARS) 106 107LOCAL_NDK_STL_VARIANT := gnustl_static 108LOCAL_SDK_VERSION := 21 109 110LOCAL_MODULE := libopencv_calib3d 111 112LOCAL_LDLIBS := -ldl 113 114LOCAL_RTTI_FLAG := -frtti 115 116LOCAL_C_INCLUDES := \ 117 $(LOCAL_PATH) \ 118 $(LOCAL_PATH)/modules/calib3d/include \ 119 $(LOCAL_PATH)/modules/core/include \ 120 $(LOCAL_PATH)/modules/hal/include \ 121 $(LOCAL_PATH)/modules/features2d/include \ 122 $(LOCAL_PATH)/modules/flann/include \ 123 $(LOCAL_PATH)/modules/imgproc/include \ 124 $(LOCAL_PATH)/modules/calib3d/src \ 125 $(LOCAL_PATH)/modules/calib3d \ 126 $(LOCAL_PATH)/opencv2 \ 127 $(LOCAL_PATH)/modules/java/generator/src/cpp/common.h 128 129LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 130 131LOCAL_SRC_FILES := \ 132 modules/calib3d/src/calibinit.cpp \ 133 modules/calib3d/src/calibration.cpp \ 134 modules/calib3d/src/checkchessboard.cpp \ 135 modules/calib3d/src/circlesgrid.cpp \ 136 modules/calib3d/src/compat_ptsetreg.cpp \ 137 modules/calib3d/src/compat_stereo.cpp \ 138 modules/calib3d/src/epnp.cpp \ 139 modules/calib3d/src/fisheye.cpp \ 140 modules/calib3d/src/five-point.cpp \ 141 modules/calib3d/src/fundam.cpp \ 142 modules/calib3d/src/homography_decomp.cpp \ 143 modules/calib3d/src/levmarq.cpp \ 144 modules/calib3d/src/p3p.cpp \ 145 modules/calib3d/src/polynom_solver.cpp \ 146 modules/calib3d/src/posit.cpp \ 147 modules/calib3d/src/ptsetreg.cpp \ 148 modules/calib3d/src/quadsubpix.cpp \ 149 modules/calib3d/src/rho.cpp \ 150 modules/calib3d/src/solvepnp.cpp \ 151 modules/calib3d/src/stereobm.cpp \ 152 modules/calib3d/src/stereosgbm.cpp \ 153 modules/calib3d/src/triangulate.cpp \ 154 modules/calib3d/src/upnp.cpp \ 155 modules/calib3d/opencl_kernels_calib3d.cpp 156 157LOCAL_SHARED_LIBRARIES := libopencv_imgproc libopencv_flann libopencv_core libopencv_ml libopencv_imgcodecs libopencv_videoio libopencv_highgui libopencv_features2d 158LOCAL_STATIC_LIBRARIES := libopencv_hal 159 160# Bug: http://b/25691376 161LOCAL_STATIC_LIBRARIES += libopencv_fix_dls 162 163include $(BUILD_SHARED_LIBRARY) 164 165 166 167 168include $(CLEAR_VARS) 169 170LOCAL_NDK_STL_VARIANT := gnustl_static 171LOCAL_SDK_VERSION := 21 172 173LOCAL_MODULE := libopencv_features2d 174 175LOCAL_LDLIBS := -ldl 176 177LOCAL_RTTI_FLAG := -frtti 178 179LOCAL_C_INCLUDES := \ 180 $(LOCAL_PATH) \ 181 $(LOCAL_PATH)/modules/features2d \ 182 $(LOCAL_PATH)/modules/features2d/include \ 183 $(LOCAL_PATH)/modules/core/include \ 184 $(LOCAL_PATH)/modules/hal/include \ 185 $(LOCAL_PATH)/modules/flann/include \ 186 $(LOCAL_PATH)/modules/imgproc/include \ 187 $(LOCAL_PATH)/opencv2 \ 188 $(LOCAL_PATH)/features2d/src/kaze \ 189 $(LOCAL_PATH)/modules/java/generator/src/cpp 190 191LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 192 193LOCAL_SRC_FILES := \ 194 modules/features2d/src/agast.cpp \ 195 modules/features2d/src/agast_score.cpp \ 196 modules/features2d/src/akaze.cpp \ 197 modules/features2d/src/bagofwords.cpp \ 198 modules/features2d/src/blobdetector.cpp \ 199 modules/features2d/src/brisk.cpp \ 200 modules/features2d/src/draw.cpp \ 201 modules/features2d/src/dynamic.cpp \ 202 modules/features2d/src/evaluation.cpp \ 203 modules/features2d/src/fast.cpp \ 204 modules/features2d/src/fast_score.cpp \ 205 modules/features2d/src/feature2d.cpp \ 206 modules/features2d/src/gftt.cpp \ 207 modules/features2d/src/kaze.cpp \ 208 modules/features2d/src/keypoint.cpp \ 209 modules/features2d/src/matchers.cpp \ 210 modules/features2d/src/mser.cpp \ 211 modules/features2d/src/orb.cpp \ 212 modules/features2d/src/kaze/KAZEFeatures.cpp \ 213 modules/features2d/src/kaze/nldiffusion_functions.cpp \ 214 modules/features2d/src/kaze/AKAZEFeatures.cpp \ 215 modules/features2d/src/kaze/fed.cpp \ 216 modules/features2d/opencl_kernels_features2d.cpp \ 217 modules/features2d/misc/java/src/cpp/features2d_converters.cpp \ 218 modules/java/generator/src/cpp/converters.cpp 219 220 221LOCAL_SHARED_LIBRARIES := libopencv_core libopencv_flann libopencv_imgproc libopencv_ml libopencv_imgcodecs libopencv_videoio libopencv_highgui 222LOCAL_STATIC_LIBRARIES := libopencv_hal 223 224include $(BUILD_SHARED_LIBRARY) 225 226 227 228 229include $(CLEAR_VARS) 230 231LOCAL_NDK_STL_VARIANT := gnustl_static 232LOCAL_SDK_VERSION := 21 233 234LOCAL_LDLIBS := -ldl 235 236LOCAL_MODULE := libopencv_flann 237 238LOCAL_RTTI_FLAG := -frtti 239 240LOCAL_C_INCLUDES := \ 241 $(LOCAL_PATH) \ 242 $(LOCAL_PATH)/modules/flann/include \ 243 $(LOCAL_PATH)/modules/core/include \ 244 $(LOCAL_PATH)/modules/hal/include \ 245 $(LOCAL_PATH)/opencv2 246 247LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 248 249LOCAL_SRC_FILES := \ 250 modules/flann/src/miniflann.cpp 251 252LOCAL_SHARED_LIBRARIES := libopencv_core 253LOCAL_STATIC_LIBRARIES := libopencv_hal 254 255include $(BUILD_SHARED_LIBRARY) 256 257 258 259 260include $(CLEAR_VARS) 261 262LOCAL_NDK_STL_VARIANT := gnustl_static 263LOCAL_SDK_VERSION := 21 264 265LOCAL_MODULE := libopencv_hal 266 267LOCAL_LDLIBS := -ldl 268 269LOCAL_RTTI_FLAG := -frtti 270 271LOCAL_C_INCLUDES := \ 272 $(LOCAL_PATH) \ 273 $(LOCAL_PATH)/modules/hal \ 274 $(LOCAL_PATH)/modules/hal/include 275 276LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 277 278LOCAL_SRC_FILES := \ 279 modules/hal/src/arithm.cpp \ 280 modules/hal/src/color.cpp \ 281 modules/hal/src/filter.cpp \ 282 modules/hal/src/mathfuncs.cpp \ 283 modules/hal/src/matrix.cpp \ 284 modules/hal/src/resize.cpp \ 285 modules/hal/src/stat.cpp \ 286 modules/hal/src/warp.cpp 287 288LOCAL_SHARED_LIBRARIES := libopencv_core 289 290include $(BUILD_STATIC_LIBRARY) 291 292 293 294include $(CLEAR_VARS) 295 296LOCAL_NDK_STL_VARIANT := gnustl_static 297LOCAL_SDK_VERSION := 21 298 299LOCAL_MODULE := libopencv_highgui 300 301LOCAL_LDLIBS := -ldl 302 303LOCAL_RTTI_FLAG := -frtti 304 305LOCAL_C_INCLUDES := \ 306 $(LOCAL_PATH) \ 307 $(LOCAL_PATH)/modules/highgui/include \ 308 $(LOCAL_PATH)/modules/core/include \ 309 $(LOCAL_PATH)/modules/hal/include \ 310 $(LOCAL_PATH)/modules/imgcodecs/include \ 311 $(LOCAL_PATH)/modules/imgproc/include \ 312 $(LOCAL_PATH)/modules/videoio/include \ 313 $(LOCAL_PATH)/modules/highgui \ 314 $(LOCAL_PATH)/opencv2 315 316LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 317 318LOCAL_SRC_FILES := \ 319 modules/highgui/src/window.cpp 320 321LOCAL_SHARED_LIBRARIES := libopencv_core libopencv_imgproc libopencv_imgcodecs libopencv_videoio 322LOCAL_STATIC_LIBRARIES := libopencv_hal 323 324include $(BUILD_SHARED_LIBRARY) 325 326 327 328 329include $(CLEAR_VARS) 330 331LOCAL_NDK_STL_VARIANT := gnustl_static 332LOCAL_SDK_VERSION := 21 333LOCAL_MODULE := libjasper 334 335LOCAL_RTTI_FLAG := -frtti 336 337LOCAL_CFLAGS := -DEXCLUDE_MIF_SUPPORT -DEXCLUDE_PNM_SUPPORT -DEXCLUDE_BMP_SUPPORT -DEXCLUDE_RAS_SUPPORT -DEXCLUDE_JPG_SUPPORT -DEXCLUDE_PGX_SUPPORT -Wno-implicit-function-declaration 338 339LOCAL_C_INCLUDES := \ 340 $(LOCAL_PATH)/3rdparty/libjasper \ 341 $(LOCAL_PATH)/3rdparty/libjasper/jasper 342 343LOCAL_SRC_FILES := \ 344 3rdparty/libjasper/jpc_enc.c \ 345 3rdparty/libjasper/jas_getopt.c \ 346 3rdparty/libjasper/jas_stream.c \ 347 3rdparty/libjasper/jas_string.c \ 348 3rdparty/libjasper/jpc_util.c \ 349 3rdparty/libjasper/jpc_bs.c \ 350 3rdparty/libjasper/jpc_tsfb.c \ 351 3rdparty/libjasper/jpc_math.c \ 352 3rdparty/libjasper/jas_version.c \ 353 3rdparty/libjasper/jpc_t2cod.c \ 354 3rdparty/libjasper/jpc_t2enc.c \ 355 3rdparty/libjasper/jpc_qmfb.c \ 356 3rdparty/libjasper/jas_init.c \ 357 3rdparty/libjasper/jpc_mct.c \ 358 3rdparty/libjasper/jp2_dec.c \ 359 3rdparty/libjasper/jas_iccdata.c \ 360 3rdparty/libjasper/jpc_cs.c \ 361 3rdparty/libjasper/jpc_t2dec.c \ 362 3rdparty/libjasper/jas_cm.c \ 363 3rdparty/libjasper/jpc_t1cod.c \ 364 3rdparty/libjasper/jas_tvp.c \ 365 3rdparty/libjasper/jp2_cod.c \ 366 3rdparty/libjasper/jpc_mqenc.c \ 367 3rdparty/libjasper/jp2_enc.c \ 368 3rdparty/libjasper/jas_seq.c \ 369 3rdparty/libjasper/jas_icc.c \ 370 3rdparty/libjasper/jpc_t1enc.c \ 371 3rdparty/libjasper/jas_malloc.c \ 372 3rdparty/libjasper/jas_debug.c \ 373 3rdparty/libjasper/jpc_tagtree.c \ 374 3rdparty/libjasper/jpc_mqdec.c \ 375 3rdparty/libjasper/jpc_mqcod.c \ 376 3rdparty/libjasper/jas_image.c \ 377 3rdparty/libjasper/jas_tmr.c \ 378 3rdparty/libjasper/jpc_dec.c \ 379 3rdparty/libjasper/jpc_t1dec.c 380 381include $(BUILD_STATIC_LIBRARY) 382 383 384include $(CLEAR_VARS) 385 386LOCAL_NDK_STL_VARIANT := gnustl_static 387LOCAL_SDK_VERSION := 21 388LOCAL_MODULE := opencv_libjpeg 389 390LOCAL_RTTI_FLAG := -frtti 391 392LOCAL_C_INCLUDES := \ 393 $(LOCAL_PATH)/3rdparty/libjpeg 394 395LOCAL_SRC_FILES := \ 396 3rdparty/libjpeg/jdapistd.c \ 397 3rdparty/libjpeg/jquant2.c \ 398 3rdparty/libjpeg/jdmerge.c \ 399 3rdparty/libjpeg/jdmaster.c \ 400 3rdparty/libjpeg/jmemmgr.c \ 401 3rdparty/libjpeg/jfdctint.c \ 402 3rdparty/libjpeg/jcmainct.c \ 403 3rdparty/libjpeg/jdapimin.c \ 404 3rdparty/libjpeg/jdatasrc.c \ 405 3rdparty/libjpeg/jdmarker.c \ 406 3rdparty/libjpeg/jdcolor.c \ 407 3rdparty/libjpeg/jctrans.c \ 408 3rdparty/libjpeg/jcapimin.c \ 409 3rdparty/libjpeg/jmemnobs.c \ 410 3rdparty/libjpeg/jchuff.c \ 411 3rdparty/libjpeg/jdpostct.c \ 412 3rdparty/libjpeg/jdcoefct.c \ 413 3rdparty/libjpeg/jcapistd.c \ 414 3rdparty/libjpeg/jutils.c \ 415 3rdparty/libjpeg/jdmainct.c \ 416 3rdparty/libjpeg/jdatadst.c \ 417 3rdparty/libjpeg/jquant1.c \ 418 3rdparty/libjpeg/jcinit.c \ 419 3rdparty/libjpeg/jddctmgr.c \ 420 3rdparty/libjpeg/jdinput.c \ 421 3rdparty/libjpeg/jidctfst.c \ 422 3rdparty/libjpeg/jcarith.c \ 423 3rdparty/libjpeg/jcomapi.c \ 424 3rdparty/libjpeg/jidctint.c \ 425 3rdparty/libjpeg/jcmarker.c \ 426 3rdparty/libjpeg/jdtrans.c \ 427 3rdparty/libjpeg/jccolor.c \ 428 3rdparty/libjpeg/jfdctfst.c \ 429 3rdparty/libjpeg/jdsample.c \ 430 3rdparty/libjpeg/jcmaster.c \ 431 3rdparty/libjpeg/jccoefct.c \ 432 3rdparty/libjpeg/jcparam.c \ 433 3rdparty/libjpeg/jaricom.c \ 434 3rdparty/libjpeg/jdhuff.c \ 435 3rdparty/libjpeg/jdarith.c \ 436 3rdparty/libjpeg/jfdctflt.c \ 437 3rdparty/libjpeg/jcprepct.c \ 438 3rdparty/libjpeg/jcsample.c \ 439 3rdparty/libjpeg/jidctflt.c \ 440 3rdparty/libjpeg/jcdctmgr.c \ 441 3rdparty/libjpeg/jerror.c 442 443include $(BUILD_STATIC_LIBRARY) 444 445 446 447 448include $(CLEAR_VARS) 449 450LOCAL_NDK_STL_VARIANT := gnustl_static 451LOCAL_SDK_VERSION := 21 452LOCAL_MODULE := libtiff 453 454LOCAL_RTTI_FLAG := -frtti 455 456LOCAL_LDLIBS := -lz 457 458LOCAL_CFLAGS := -Wno-implicit-function-declaration 459 460LOCAL_C_INCLUDES := \ 461 $(LOCAL_PATH)/3rdparty/libtiff 462 463LOCAL_SRC_FILES := \ 464 3rdparty/libtiff/tif_jpeg.c \ 465 3rdparty/libtiff/tif_write.c \ 466 3rdparty/libtiff/tif_error.c \ 467 3rdparty/libtiff/tif_swab.c \ 468 3rdparty/libtiff/tif_strip.c \ 469 3rdparty/libtiff/tif_extension.c \ 470 3rdparty/libtiff/tif_jpeg_12.c \ 471 3rdparty/libtiff/tif_pixarlog.c \ 472 3rdparty/libtiff/tif_dirwrite.c \ 473 3rdparty/libtiff/tif_dirread.c \ 474 3rdparty/libtiff/tif_flush.c \ 475 3rdparty/libtiff/tif_lzma.c \ 476 3rdparty/libtiff/tif_packbits.c \ 477 3rdparty/libtiff/tif_luv.c \ 478 3rdparty/libtiff/tif_next.c \ 479 3rdparty/libtiff/tif_aux.c \ 480 3rdparty/libtiff/tif_thunder.c \ 481 3rdparty/libtiff/tif_compress.c \ 482 3rdparty/libtiff/tif_codec.c \ 483 3rdparty/libtiff/tif_print.c \ 484 3rdparty/libtiff/tif_dumpmode.c \ 485 3rdparty/libtiff/tif_open.c \ 486 3rdparty/libtiff/tif_close.c \ 487 3rdparty/libtiff/tif_dir.c \ 488 3rdparty/libtiff/tif_fax3sm.c \ 489 3rdparty/libtiff/tif_read.c \ 490 3rdparty/libtiff/tif_zip.c \ 491 3rdparty/libtiff/tif_lzw.c \ 492 3rdparty/libtiff/tif_tile.c \ 493 3rdparty/libtiff/tif_warning.c \ 494 3rdparty/libtiff/tif_color.c \ 495 3rdparty/libtiff/tif_dirinfo.c \ 496 3rdparty/libtiff/tif_version.c \ 497 3rdparty/libtiff/tif_jbig.c \ 498 3rdparty/libtiff/tif_fax3.c \ 499 3rdparty/libtiff/tif_ojpeg.c \ 500 3rdparty/libtiff/tif_predict.c \ 501 3rdparty/libtiff/tif_getimage.c \ 502 3rdparty/libtiff/tif_unix.c 503 504include $(BUILD_STATIC_LIBRARY) 505 506 507 508 509 510include $(CLEAR_VARS) 511 512LOCAL_NDK_STL_VARIANT := gnustl_static 513LOCAL_SDK_VERSION := 21 514LOCAL_MODULE := libIlmImf 515 516LOCAL_RTTI_FLAG := -frtti 517 518LOCAL_CFLAGS := -fexceptions 519 520LOCAL_LDLIBS := -lz -ldl 521 522LOCAL_C_INCLUDES := \ 523 $(LOCAL_PATH)/3rdparty/openexr \ 524 $(LOCAL_PATH)/3rdparty/openexr/IlmImf \ 525 $(LOCAL_PATH)/3rdparty/openexr/Half \ 526 $(LOCAL_PATH)/3rdparty/openexr/Iex \ 527 $(LOCAL_PATH)/3rdparty/openexr/IlmThread \ 528 $(LOCAL_PATH)/3rdparty/openexr/Imath 529 530 531LOCAL_SRC_FILES := \ 532 3rdparty/openexr/IlmImf/ImfChannelList.cpp \ 533 3rdparty/openexr/IlmImf/ImfStdIO.cpp \ 534 3rdparty/openexr/IlmImf/ImfPreviewImageAttribute.cpp \ 535 3rdparty/openexr/IlmImf/ImfFloatAttribute.cpp \ 536 3rdparty/openexr/IlmImf/ImfLineOrderAttribute.cpp \ 537 3rdparty/openexr/IlmImf/ImfTestFile.cpp \ 538 3rdparty/openexr/IlmImf/ImfInputFile.cpp \ 539 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp \ 540 3rdparty/openexr/IlmImf/ImfVecAttribute.cpp \ 541 3rdparty/openexr/IlmImf/ImfRationalAttribute.cpp \ 542 3rdparty/openexr/IlmImf/ImfBoxAttribute.cpp \ 543 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp \ 544 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp \ 545 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp \ 546 3rdparty/openexr/IlmImf/ImfChromaticitiesAttribute.cpp \ 547 3rdparty/openexr/IlmImf/ImfRleCompressor.cpp \ 548 3rdparty/openexr/IlmImf/ImfStandardAttributes.cpp \ 549 3rdparty/openexr/IlmImf/ImfChannelListAttribute.cpp \ 550 3rdparty/openexr/IlmImf/ImfOpaqueAttribute.cpp \ 551 3rdparty/openexr/IlmImf/ImfIntAttribute.cpp \ 552 3rdparty/openexr/IlmImf/ImfThreading.cpp \ 553 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp \ 554 3rdparty/openexr/IlmImf/ImfEnvmapAttribute.cpp \ 555 3rdparty/openexr/IlmImf/ImfKeyCodeAttribute.cpp \ 556 3rdparty/openexr/IlmImf/ImfRgbaYca.cpp \ 557 3rdparty/openexr/IlmImf/ImfHuf.cpp \ 558 3rdparty/openexr/IlmImf/ImfTileDescriptionAttribute.cpp \ 559 3rdparty/openexr/IlmImf/ImfVersion.cpp \ 560 3rdparty/openexr/IlmImf/ImfChromaticities.cpp \ 561 3rdparty/openexr/IlmImf/ImfStringVectorAttribute.cpp \ 562 3rdparty/openexr/IlmImf/ImfStringAttribute.cpp \ 563 3rdparty/openexr/IlmImf/ImfKeyCode.cpp \ 564 3rdparty/openexr/IlmImf/ImfOutputFile.cpp \ 565 3rdparty/openexr/IlmImf/ImfMatrixAttribute.cpp \ 566 3rdparty/openexr/IlmImf/ImfAcesFile.cpp \ 567 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp \ 568 3rdparty/openexr/IlmImf/ImfCompressor.cpp \ 569 3rdparty/openexr/IlmImf/ImfHeader.cpp \ 570 3rdparty/openexr/IlmImf/ImfFramesPerSecond.cpp \ 571 3rdparty/openexr/IlmImf/ImfEnvmap.cpp \ 572 3rdparty/openexr/IlmImf/ImfZipCompressor.cpp \ 573 3rdparty/openexr/IlmImf/ImfMultiView.cpp \ 574 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp \ 575 3rdparty/openexr/IlmImf/ImfMisc.cpp \ 576 3rdparty/openexr/IlmImf/ImfRational.cpp \ 577 3rdparty/openexr/IlmImf/ImfAttribute.cpp \ 578 3rdparty/openexr/IlmImf/ImfDoubleAttribute.cpp \ 579 3rdparty/openexr/IlmImf/ImfFrameBuffer.cpp \ 580 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp \ 581 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp \ 582 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp \ 583 3rdparty/openexr/IlmImf/ImfTimeCode.cpp \ 584 3rdparty/openexr/IlmImf/ImfLut.cpp \ 585 3rdparty/openexr/IlmImf/ImfTileOffsets.cpp \ 586 3rdparty/openexr/IlmImf/ImfConvert.cpp \ 587 3rdparty/openexr/IlmImf/ImfIO.cpp \ 588 3rdparty/openexr/IlmImf/ImfPreviewImage.cpp \ 589 3rdparty/openexr/IlmImf/ImfCompressionAttribute.cpp \ 590 3rdparty/openexr/IlmImf/ImfTimeCodeAttribute.cpp \ 591 3rdparty/openexr/IlmImf/ImfWav.cpp \ 592 3rdparty/openexr/Half/eLut.cpp \ 593 3rdparty/openexr/Half/toFloat.cpp \ 594 3rdparty/openexr/Half/half.cpp \ 595 3rdparty/openexr/Iex/IexThrowErrnoExc.cpp \ 596 3rdparty/openexr/Iex/IexBaseExc.cpp \ 597 3rdparty/openexr/IlmThread/IlmThreadMutex.cpp \ 598 3rdparty/openexr/IlmThread/IlmThreadPool.cpp \ 599 3rdparty/openexr/IlmThread/IlmThreadPosix.cpp \ 600 3rdparty/openexr/IlmThread/IlmThreadMutexPosix.cpp \ 601 3rdparty/openexr/IlmThread/IlmThreadSemaphorePosixCompat.cpp \ 602 3rdparty/openexr/IlmThread/IlmThreadSemaphore.cpp \ 603 3rdparty/openexr/IlmThread/IlmThreadSemaphorePosix.cpp \ 604 3rdparty/openexr/IlmThread/IlmThread.cpp \ 605 3rdparty/openexr/Imath/ImathRandom.cpp \ 606 3rdparty/openexr/Imath/ImathFun.cpp \ 607 3rdparty/openexr/Imath/ImathMatrixAlgo.cpp \ 608 3rdparty/openexr/Imath/ImathVec.cpp \ 609 3rdparty/openexr/Imath/ImathColorAlgo.cpp 610 611 612include $(BUILD_STATIC_LIBRARY) 613 614 615 616 617include $(CLEAR_VARS) 618 619LOCAL_NDK_STL_VARIANT := gnustl_static 620LOCAL_SDK_VERSION := 21 621 622LOCAL_MODULE := libopencv_imgcodecs 623 624LOCAL_LDLIBS := -lz -ldl 625 626LOCAL_RTTI_FLAG := -frtti 627 628LOCAL_C_INCLUDES := \ 629 $(LOCAL_PATH) \ 630 $(LOCAL_PATH)/modules/imgcodecs \ 631 $(LOCAL_PATH)/modules/imgcodecs/include \ 632 $(LOCAL_PATH)/modules/core/include \ 633 $(LOCAL_PATH)/opencv2 \ 634 $(LOCAL_PATH)/modules/imgproc/include \ 635 $(LOCAL_PATH)/modules/hal/include \ 636 $(LOCAL_PATH)/3rdparty/openexr/IlmImf \ 637 $(LOCAL_PATH)/3rdparty/openexr/Imath \ 638 $(LOCAL_PATH)/3rdparty/openexr/Iex \ 639 $(LOCAL_PATH)/3rdparty/openexr/Half \ 640 $(LOCAL_PATH)/3rdparty/libjasper \ 641 $(LOCAL_PATH)/3rdparty/libjasper/jasper \ 642 $(LOCAL_PATH)/3rdparty/libjpeg \ 643 $(LOCAL_PATH)/3rdparty/libtiff 644 645 646LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 647 648LOCAL_SRC_FILES := \ 649 modules/imgcodecs/src/bitstrm.cpp \ 650 modules/imgcodecs/src/grfmt_base.cpp \ 651 modules/imgcodecs/src/grfmt_bmp.cpp \ 652 modules/imgcodecs/src/grfmt_exr.cpp \ 653 modules/imgcodecs/src/grfmt_gdal.cpp \ 654 modules/imgcodecs/src/grfmt_hdr.cpp \ 655 modules/imgcodecs/src/grfmt_jpeg2000.cpp \ 656 modules/imgcodecs/src/grfmt_jpeg.cpp \ 657 modules/imgcodecs/src/grfmt_png.cpp \ 658 modules/imgcodecs/src/grfmt_pxm.cpp \ 659 modules/imgcodecs/src/grfmt_sunras.cpp \ 660 modules/imgcodecs/src/grfmt_tiff.cpp \ 661 modules/imgcodecs/src/grfmt_webp.cpp \ 662 modules/imgcodecs/src/loadsave.cpp \ 663 modules/imgcodecs/src/rgbe.cpp \ 664 modules/imgcodecs/src/utils.cpp 665 666LOCAL_STATIC_LIBRARIES += libopencv_hal libjasper opencv_libjpeg libtiff libIlmImf 667LOCAL_SHARED_LIBRARIES := libopencv_core libopencv_imgproc libpng 668 669include $(BUILD_SHARED_LIBRARY) 670 671 672 673 674 675include $(CLEAR_VARS) 676 677LOCAL_NDK_STL_VARIANT := gnustl_static 678LOCAL_SDK_VERSION := 21 679 680LOCAL_MODULE := libopencv_imgproc 681 682LOCAL_RTTI_FLAG := -frtti 683 684LOCAL_C_INCLUDES := \ 685 $(LOCAL_PATH) \ 686 $(LOCAL_PATH)/modules/imgproc/include \ 687 $(LOCAL_PATH)/modules/imgproc \ 688 $(LOCAL_PATH)/modules/imgproc/src \ 689 $(LOCAL_PATH)/modules/core/include \ 690 $(LOCAL_PATH)/modules/hal/include \ 691 $(LOCAL_PATH)/opencv2 692 693LOCAL_LDLIBS := -ldl 694 695LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 696 697LOCAL_SRC_FILES := \ 698 modules/imgproc/src/accum.cpp \ 699 modules/imgproc/src/approx.cpp \ 700 modules/imgproc/src/blend.cpp \ 701 modules/imgproc/src/canny.cpp \ 702 modules/imgproc/src/clahe.cpp \ 703 modules/imgproc/src/color.cpp \ 704 modules/imgproc/src/colormap.cpp \ 705 modules/imgproc/src/connectedcomponents.cpp \ 706 modules/imgproc/src/contours.cpp \ 707 modules/imgproc/src/convhull.cpp \ 708 modules/imgproc/src/corner.cpp \ 709 modules/imgproc/src/cornersubpix.cpp \ 710 modules/imgproc/src/demosaicing.cpp \ 711 modules/imgproc/src/deriv.cpp \ 712 modules/imgproc/src/distransform.cpp \ 713 modules/imgproc/src/drawing.cpp \ 714 modules/imgproc/src/emd.cpp \ 715 modules/imgproc/src/featureselect.cpp \ 716 modules/imgproc/src/filter.cpp \ 717 modules/imgproc/src/floodfill.cpp \ 718 modules/imgproc/src/gabor.cpp \ 719 modules/imgproc/src/generalized_hough.cpp \ 720 modules/imgproc/src/geometry.cpp \ 721 modules/imgproc/src/grabcut.cpp \ 722 modules/imgproc/src/hershey_fonts.cpp \ 723 modules/imgproc/src/histogram.cpp \ 724 modules/imgproc/src/hough.cpp \ 725 modules/imgproc/src/imgwarp.cpp \ 726 modules/imgproc/src/intersection.cpp \ 727 modules/imgproc/src/linefit.cpp \ 728 modules/imgproc/src/lsd.cpp \ 729 modules/imgproc/src/matchcontours.cpp \ 730 modules/imgproc/src/min_enclosing_triangle.cpp \ 731 modules/imgproc/src/moments.cpp \ 732 modules/imgproc/src/morph.cpp \ 733 modules/imgproc/src/phasecorr.cpp \ 734 modules/imgproc/src/pyramids.cpp \ 735 modules/imgproc/src/rotcalipers.cpp \ 736 modules/imgproc/src/samplers.cpp \ 737 modules/imgproc/src/segmentation.cpp \ 738 modules/imgproc/src/shapedescr.cpp \ 739 modules/imgproc/src/smooth.cpp \ 740 modules/imgproc/src/subdivision2d.cpp \ 741 modules/imgproc/src/sumpixels.cpp \ 742 modules/imgproc/src/tables.cpp \ 743 modules/imgproc/src/templmatch.cpp \ 744 modules/imgproc/src/thresh.cpp \ 745 modules/imgproc/src/undistort.cpp \ 746 modules/imgproc/src/utils.cpp \ 747 modules/imgproc/opencl_kernels_imgproc.cpp \ 748 749LOCAL_SHARED_LIBRARIES := libopencv_core 750LOCAL_STATIC_LIBRARIES := libopencv_hal 751 752include $(BUILD_SHARED_LIBRARY) 753 754 755 756 757include $(CLEAR_VARS) 758 759LOCAL_NDK_STL_VARIANT := gnustl_static 760LOCAL_SDK_VERSION := 21 761 762LOCAL_MODULE := libopencv_ml 763 764LOCAL_LDLIBS := -ldl 765 766LOCAL_RTTI_FLAG := -frtti 767 768LOCAL_C_INCLUDES := \ 769 $(LOCAL_PATH) \ 770 $(LOCAL_PATH)/modules/core/include \ 771 $(LOCAL_PATH)/modules/ml \ 772 $(LOCAL_PATH)/modules/hal/include \ 773 $(LOCAL_PATH)/modules/ml/include 774 775LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 776 777LOCAL_SRC_FILES := \ 778 modules/ml/src/ann_mlp.cpp \ 779 modules/ml/src/boost.cpp \ 780 modules/ml/src/data.cpp \ 781 modules/ml/src/em.cpp \ 782 modules/ml/src/gbt.cpp \ 783 modules/ml/src/inner_functions.cpp \ 784 modules/ml/src/kdtree.cpp \ 785 modules/ml/src/knearest.cpp \ 786 modules/ml/src/lr.cpp \ 787 modules/ml/src/nbayes.cpp \ 788 modules/ml/src/rtrees.cpp \ 789 modules/ml/src/svm.cpp \ 790 modules/ml/src/testset.cpp \ 791 modules/ml/src/tree.cpp 792 793LOCAL_SHARED_LIBRARIES := libopencv_core 794LOCAL_STATIC_LIBRARIES := libopencv_hal 795 796include $(BUILD_SHARED_LIBRARY) 797 798 799 800 801include $(CLEAR_VARS) 802 803#Use true to build with renderscript, false to build without 804WITH_RENDERSCRIPT = true 805 806LOCAL_NDK_STL_VARIANT := gnustl_static 807LOCAL_SDK_VERSION := 21 808 809LOCAL_MODULE := libopencv_objdetect 810 811LOCAL_RTTI_FLAG := -frtti 812 813LOCAL_LDLIBS := -llog -ldl 814 815LOCAL_C_INCLUDES := \ 816 $(LOCAL_PATH) \ 817 $(LOCAL_PATH)/modules/objdetect \ 818 $(LOCAL_PATH)/modules/objdetect/src \ 819 $(LOCAL_PATH)/modules/core/include \ 820 $(LOCAL_PATH)/modules/hal/include \ 821 $(LOCAL_PATH)/modules/objdetect/include \ 822 $(LOCAL_PATH)/modules/flann/include \ 823 $(LOCAL_PATH)/modules/imgproc/include \ 824 $(LOCAL_PATH)/modules/objdetect \ 825 $(LOCAL_PATH)/modules/ml/include \ 826 $(LOCAL_PATH)/modules/highgui/include \ 827 $(LOCAL_PATH)/modules/imgcodecs/include \ 828 $(LOCAL_PATH)/modules/videoio/include \ 829 $(LOCAL_PATH)/opencv2 830 831LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 832 833LOCAL_SRC_FILES := \ 834 modules/objdetect/src/cascadedetect_convert.cpp \ 835 modules/objdetect/src/cascadedetect.cpp \ 836 modules/objdetect/src/detection_based_tracker.cpp \ 837 modules/objdetect/src/haar.cpp \ 838 modules/objdetect/src/hog.cpp \ 839 modules/objdetect/opencl_kernels_objdetect.cpp \ 840 modules/java/generator/src/cpp/converters.cpp 841 842LOCAL_SHARED_LIBRARIES := libopencv_core libopencv_imgproc libopencv_ml libopencv_imgcodecs libopencv_videoio libopencv_highgui 843 844ifeq ($(WITH_RENDERSCRIPT), true) 845LOCAL_SHARED_LIBRARIES += libopencv_rsobjdetect 846LOCAL_CFLAGS += -DRENDERSCRIPT=1 847LOCAL_C_INCLUDES += $(LOCAL_PATH)/modules/rsobjdetect/src 848endif 849 850LOCAL_STATIC_LBIRARIES := libopencv_hal 851 852include $(BUILD_SHARED_LIBRARY) 853 854 855 856 857ifeq ($(WITH_RENDERSCRIPT),true) 858include $(CLEAR_VARS) 859LOCAL_MODULE := libopencv_rsobjdetect 860 861LOCAL_NDK_STL_VARIANT := gnustl_static 862LOCAL_SDK_VERSION := 21 863LOCAL_RENDERSCRIPT_TARGET_API := 21 864 865LOCAL_C_INCLUDES := \ 866 modules/rsobjdetect/src 867 868LOCAL_SRC_FILES:= \ 869 modules/rsobjdetect/src/rs/detectAt.rs \ 870 modules/rsobjdetect/src/innerloop.cpp 871 872LOCAL_LDLIBS := -llog -ldl 873 874LOCAL_RENDERSCRIPT_COMPATIBILITY := 21 875 876LOCAL_C_INCLUDES := frameworks/rs/cpp 877LOCAL_C_INCLUDES += frameworks/rs 878LOCAL_C_INCLUDES += $(call intermediates-dir-for,STATIC_LIBRARIES,libRS,TARGET,) 879 880LOCAL_STATIC_LIBRARIES := libRScpp_static 881 882LOCAL_CLANG := true 883 884include $(BUILD_SHARED_LIBRARY) 885endif 886 887 888 889 890include $(CLEAR_VARS) 891 892LOCAL_NDK_STL_VARIANT := gnustl_static 893LOCAL_SDK_VERSION := 21 894 895LOCAL_MODULE := libopencv_photo 896 897LOCAL_LDLIBS := -ldl -lz 898 899LOCAL_RTTI_FLAG := -frtti 900 901LOCAL_C_INCLUDES := \ 902 $(LOCAL_PATH) \ 903 $(LOCAL_PATH)/modules/photo \ 904 $(LOCAL_PATH)/modules/core/include \ 905 $(LOCAL_PATH)/modules/hal/include \ 906 $(LOCAL_PATH)/modules/photo/include \ 907 $(LOCAL_PATH)/modules/flann/include \ 908 $(LOCAL_PATH)/modules/imgproc/include \ 909 $(LOCAL_PATH)/modules/highgui/include \ 910 $(LOCAL_PATH)/modules/imgcodecs/include \ 911 $(LOCAL_PATH)/modules/videoio/include \ 912 $(LOCAL_PATH)/modules/photo 913 914LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 915 916LOCAL_SRC_FILES := \ 917 modules/photo/src/align.cpp \ 918 modules/photo/src/calibrate.cpp \ 919 modules/photo/src/contrast_preserve.cpp \ 920 modules/photo/src/denoise_tvl1.cpp \ 921 modules/photo/src/denoising.cpp \ 922 modules/photo/src/denoising.cuda.cpp \ 923 modules/photo/src/hdr_common.cpp \ 924 modules/photo/src/inpaint.cpp \ 925 modules/photo/src/merge.cpp \ 926 modules/photo/src/npr.cpp \ 927 modules/photo/src/seamless_cloning.cpp \ 928 modules/photo/src/seamless_cloning_impl.cpp \ 929 modules/photo/src/tonemap.cpp \ 930 modules/photo/opencl_kernels_photo.cpp 931 932LOCAL_SHARED_LIBRARIES := libopencv_core libopencv_imgproc libpng libjpeg 933LOCAL_STATIC_LIBRARIES := libopencv_hal 934 935include $(BUILD_SHARED_LIBRARY) 936 937 938 939 940 941include $(CLEAR_VARS) 942 943LOCAL_NDK_STL_VARIANT := gnustl_static 944LOCAL_SDK_VERSION := 21 945 946LOCAL_LDLIBS := -ldl 947 948LOCAL_MODULE := libopencv_shape 949 950LOCAL_RTTI_FLAG := -frtti 951 952LOCAL_C_INCLUDES := \ 953 $(LOCAL_PATH) \ 954 $(LOCAL_PATH)/modules/core/include \ 955 $(LOCAL_PATH)/modules/hal/include \ 956 $(LOCAL_PATH)/modules/shape \ 957 $(LOCAL_PATH)/modules/video/include \ 958 $(LOCAL_PATH)/modules/imgproc/include \ 959 $(LOCAL_PATH)/modules/shape/include 960 961LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 962 963LOCAL_SRC_FILES := \ 964 modules/shape/src/aff_trans.cpp \ 965 modules/shape/src/emdL1.cpp \ 966 modules/shape/src/haus_dis.cpp \ 967 modules/shape/src/hist_cost.cpp \ 968 modules/shape/src/precomp.cpp \ 969 modules/shape/src/sc_dis.cpp \ 970 modules/shape/src/tps_trans.cpp 971 972LOCAL_SHARED_LIBRARIES := libopencv_core libopencv_imgproc libopencv_video 973LOCAL_STATIC_LIBRARIES := libopencv_hal 974 975include $(BUILD_SHARED_LIBRARY) 976 977 978 979 980 981include $(CLEAR_VARS) 982 983LOCAL_NDK_STL_VARIANT := gnustl_static 984LOCAL_SDK_VERSION := 21 985 986LOCAL_MODULE := libopencv_stitching 987 988LOCAL_LDLIBS := -ldl 989 990LOCAL_RTTI_FLAG := -frtti 991 992LOCAL_C_INCLUDES := \ 993 $(LOCAL_PATH) \ 994 $(LOCAL_PATH)/modules/core/include \ 995 $(LOCAL_PATH)/modules/hal/include \ 996 $(LOCAL_PATH)/modules/stitching \ 997 $(LOCAL_PATH)/modules/flann/include \ 998 $(LOCAL_PATH)/modules/features2d/include \ 999 $(LOCAL_PATH)/modules/imgproc/include \ 1000 $(LOCAL_PATH)/modules/calib3d/include \ 1001 $(LOCAL_PATH)/modules/stitching/include \ 1002 $(LOCAL_PATH)/modules/stitching 1003 1004LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 1005 1006LOCAL_SRC_FILES := \ 1007 modules/stitching/src/autocalib.cpp \ 1008 modules/stitching/src/blenders.cpp \ 1009 modules/stitching/src/camera.cpp \ 1010 modules/stitching/src/exposure_compensate.cpp \ 1011 modules/stitching/src/matchers.cpp \ 1012 modules/stitching/src/motion_estimators.cpp \ 1013 modules/stitching/src/seam_finders.cpp \ 1014 modules/stitching/src/stitcher.cpp \ 1015 modules/stitching/src/timelapsers.cpp \ 1016 modules/stitching/src/util.cpp \ 1017 modules/stitching/src/warpers.cpp \ 1018 modules/stitching/src/warpers_cuda.cpp \ 1019 modules/stitching/opencl_kernels_stitching.cpp 1020 1021LOCAL_SHARED_LIBRARIES := libopencv_core libopencv_flann libopencv_imgproc libopencv_ml libopencv_imgcodecs libopencv_videoio libopencv_highgui libopencv_objdetect libopencv_features2d libopencv_calib3d 1022LOCAL_STATIC_LIBRARIES := libopencv_hal 1023 1024include $(BUILD_SHARED_LIBRARY) 1025 1026 1027 1028 1029 1030include $(CLEAR_VARS) 1031 1032LOCAL_NDK_STL_VARIANT := gnustl_static 1033LOCAL_SDK_VERSION := 21 1034 1035LOCAL_MODULE := libopencv_superres 1036 1037LOCAL_LDLIBS := -ldl 1038 1039LOCAL_RTTI_FLAG := -frtti 1040 1041LOCAL_C_INCLUDES := \ 1042 $(LOCAL_PATH) \ 1043 $(LOCAL_PATH)/modules/core/include \ 1044 $(LOCAL_PATH)/modules/hal/include \ 1045 $(LOCAL_PATH)/modules/superres \ 1046 $(LOCAL_PATH)/modules/video/include \ 1047 $(LOCAL_PATH)/modules/imgproc/include \ 1048 $(LOCAL_PATH)/modules/videoio/include \ 1049 $(LOCAL_PATH)/modules/superres/include \ 1050 $(LOCAL_PATH)/modules/superres/src 1051 1052LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 1053 1054LOCAL_SRC_FILES := \ 1055 modules/superres/src/btv_l1.cpp \ 1056 modules/superres/src/btv_l1_cuda.cpp \ 1057 modules/superres/src/frame_source.cpp \ 1058 modules/superres/src/input_array_utility.cpp \ 1059 modules/superres/src/optical_flow.cpp \ 1060 modules/superres/src/super_resolution.cpp \ 1061 modules/superres/opencl_kernels_superres.cpp 1062 1063LOCAL_SHARED_LIBRARIES := libopencv_core libopencv_imgproc libopencv_video libopencv_imgcodecs libopencv_videoio 1064LOCAL_STATIC_LIBRARIES := libopencv_hal 1065 1066include $(BUILD_SHARED_LIBRARY) 1067 1068 1069 1070 1071 1072include $(CLEAR_VARS) 1073 1074LOCAL_NDK_STL_VARIANT := gnustl_static 1075LOCAL_SDK_VERSION := 21 1076 1077LOCAL_MODULE := libopencv_ts 1078 1079LOCAL_LDLIBS := -ldl 1080 1081LOCAL_RTTI_FLAG := -frtti 1082 1083LOCAL_C_INCLUDES := \ 1084 $(LOCAL_PATH) \ 1085 $(LOCAL_PATH)/modules/core/include \ 1086 $(LOCAL_PATH)/modules/hal/include \ 1087 $(LOCAL_PATH)/modules/ts \ 1088 $(LOCAL_PATH)/modules/highgui/include \ 1089 $(LOCAL_PATH)/modules/videoio/include \ 1090 $(LOCAL_PATH)/modules/imgproc/include \ 1091 $(LOCAL_PATH)/modules/imgcodecs/include \ 1092 $(LOCAL_PATH)/modules/ts/include 1093 1094LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 1095 1096LOCAL_SRC_FILES := \ 1097 modules/ts/src/cuda_perf.cpp \ 1098 modules/ts/src/cuda_test.cpp \ 1099 modules/ts/src/ocl_perf.cpp \ 1100 modules/ts/src/ocl_test.cpp \ 1101 modules/ts/src/ts_arrtest.cpp \ 1102 modules/ts/src/ts.cpp \ 1103 modules/ts/src/ts_func.cpp \ 1104 modules/ts/src/ts_gtest.cpp \ 1105 modules/ts/src/ts_perf.cpp 1106 1107include $(BUILD_STATIC_LIBRARY) 1108 1109 1110 1111 1112 1113include $(CLEAR_VARS) 1114 1115LOCAL_NDK_STL_VARIANT := gnustl_static 1116LOCAL_SDK_VERSION := 21 1117 1118LOCAL_MODULE := libopencv_video 1119 1120LOCAL_LDLIBS := -lz -ldl 1121 1122LOCAL_RTTI_FLAG := -frtti 1123 1124LOCAL_C_INCLUDES := \ 1125 $(LOCAL_PATH) \ 1126 $(LOCAL_PATH)/modules/core/include \ 1127 $(LOCAL_PATH)/modules/video \ 1128 $(LOCAL_PATH)/modules/hal/include \ 1129 $(LOCAL_PATH)/modules/imgproc/include \ 1130 $(LOCAL_PATH)/modules/video/include \ 1131 $(LOCAL_PATH)/modules/imgcodecs/include 1132 1133LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 1134 1135LOCAL_SRC_FILES := \ 1136 modules/video/src/bgfg_gaussmix2.cpp \ 1137 modules/video/src/bgfg_KNN.cpp \ 1138 modules/video/src/camshift.cpp \ 1139 modules/video/src/compat_video.cpp \ 1140 modules/video/src/ecc.cpp \ 1141 modules/video/src/kalman.cpp \ 1142 modules/video/src/lkpyramid.cpp \ 1143 modules/video/src/optflowgf.cpp \ 1144 modules/video/src/tvl1flow.cpp \ 1145 modules/video/opencl_kernels_video.cpp 1146 1147LOCAL_SHARED_LIBRARIES := libopencv_core libopencv_imgproc 1148LOCAL_STATIC_LIBRARIES := libopencv_hal 1149 1150include $(BUILD_SHARED_LIBRARY) 1151 1152 1153 1154 1155 1156include $(CLEAR_VARS) 1157 1158LOCAL_NDK_STL_VARIANT := gnustl_static 1159LOCAL_SDK_VERSION := 21 1160 1161LOCAL_MODULE := libopencv_videoio 1162 1163LOCAL_LDLIBS := -ldl 1164 1165LOCAL_RTTI_FLAG := -frtti 1166 1167LOCAL_C_INCLUDES := \ 1168 $(LOCAL_PATH) \ 1169 $(LOCAL_PATH)/modules/videoio \ 1170 $(LOCAL_PATH)/modules/core/include \ 1171 $(LOCAL_PATH)/modules/imgcodecs/include \ 1172 $(LOCAL_PATH)/modules/imgproc/include \ 1173 $(LOCAL_PATH)/modules/hal/include \ 1174 $(LOCAL_PATH)/modules/videoio/include \ 1175 $(LOCAL_PATH)/modules/video 1176 1177LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 1178 1179LOCAL_SRC_FILES := \ 1180 modules/videoio/src/cap_cmu.cpp \ 1181 modules/videoio/src/cap.cpp \ 1182 modules/videoio/src/cap_dc1394.cpp \ 1183 modules/videoio/src/cap_dc1394_v2.cpp \ 1184 modules/videoio/src/cap_dshow.cpp \ 1185 modules/videoio/src/cap_ffmpeg.cpp \ 1186 modules/videoio/src/cap_gphoto2.cpp \ 1187 modules/videoio/src/cap_images.cpp \ 1188 modules/videoio/src/cap_intelperc.cpp \ 1189 modules/videoio/src/cap_libv4l.cpp \ 1190 modules/videoio/src/cap_mjpeg_decoder.cpp \ 1191 modules/videoio/src/cap_mjpeg_encoder.cpp \ 1192 modules/videoio/src/cap_msmf.cpp \ 1193 modules/videoio/src/cap_openni2.cpp \ 1194 modules/videoio/src/cap_openni.cpp \ 1195 modules/videoio/src/cap_pvapi.cpp \ 1196 modules/videoio/src/cap_v4l.cpp 1197 1198LOCAL_SHARED_LIBRARIES := libopencv_core libopencv_imgproc libopencv_imgcodecs 1199LOCAL_STATIC_LIBRARIES := libopencv_hal 1200 1201include $(BUILD_SHARED_LIBRARY) 1202 1203 1204 1205 1206 1207include $(CLEAR_VARS) 1208 1209LOCAL_NDK_STL_VARIANT := gnustl_static 1210LOCAL_SDK_VERSION := 21 1211 1212LOCAL_MODULE := libopencv_videostab 1213 1214LOCAL_LDLIBS := -ldl 1215 1216LOCAL_RTTI_FLAG := -frtti 1217 1218LOCAL_C_INCLUDES := \ 1219 $(LOCAL_PATH) \ 1220 $(LOCAL_PATH)/modules/core/include \ 1221 $(LOCAL_PATH)/modules/videostab \ 1222 $(LOCAL_PATH)/modules/hal/include \ 1223 $(LOCAL_PATH)/modules/imgproc/include \ 1224 $(LOCAL_PATH)/modules/video/include \ 1225 $(LOCAL_PATH)/modules/features2d/include \ 1226 $(LOCAL_PATH)/modules/flann/include \ 1227 $(LOCAL_PATH)/modules/photo/include \ 1228 $(LOCAL_PATH)/modules/videoio/include \ 1229 $(LOCAL_PATH)/modules/calib3d/include \ 1230 $(LOCAL_PATH)/modules/videostab/include 1231 1232LOCAL_CFLAGS := -fexceptions -D__OPENCV_BUILD=1 -DCVAPI_EXPORTS 1233 1234LOCAL_SRC_FILES := \ 1235 modules/videostab/src/deblurring.cpp \ 1236 modules/videostab/src/fast_marching.cpp \ 1237 modules/videostab/src/frame_source.cpp \ 1238 modules/videostab/src/global_motion.cpp \ 1239 modules/videostab/src/inpainting.cpp \ 1240 modules/videostab/src/log.cpp \ 1241 modules/videostab/src/motion_stabilizing.cpp \ 1242 modules/videostab/src/optical_flow.cpp \ 1243 modules/videostab/src/outlier_rejection.cpp \ 1244 modules/videostab/src/stabilizer.cpp \ 1245 modules/videostab/src/wobble_suppression.cpp 1246LOCAL_SHARED_LIBRARIES:= libopencv_core libopencv_flann libopencv_imgproc libopencv_ml libopencv_photo libopencv_video libopencv_imgcodecs libopencv_videoio libopencv_highgui libopencv_features2d libopencv_calib3d 1247 1248LOCAL_STATIC_LIBRARIES := libopencv_hal 1249 1250include $(BUILD_SHARED_LIBRARY) 1251 1252 1253 1254 1255 1256include $(CLEAR_VARS) 1257 1258LOCAL_NDK_STL_VARIANT := gnustl_static 1259LOCAL_SDK_VERSION := 21 1260 1261LOCAL_MODULE := libopencv_java 1262 1263LOCAL_LDLIBS := -llog -lz -ljnigraphics -ldl 1264 1265LOCAL_RTTI_FLAG := -frtti 1266 1267LOCAL_CFLAGS := -fexceptions -DANDROID -D__OPENCV_BUILD=1 -Dopencv_java_EXPORTS -DCAP_PROP_ANDROID_PREVIEW_SIZES_STRING=1025 1268 1269LOCAL_C_INCLUDES := \ 1270 $(LOCAL_PATH) \ 1271 $(LOCAL_PATH)/modules/java/include \ 1272 $(LOCAL_PATH)/modules/java/src \ 1273 $(LOCAL_PATH)/modules \ 1274 $(LOCAL_PATH)/modules/hal/include \ 1275 $(LOCAL_PATH)/modules/core/include \ 1276 $(LOCAL_PATH)/modules/flann/include \ 1277 $(LOCAL_PATH)/modules/imgproc/include \ 1278 $(LOCAL_PATH)/modules/ml/include \ 1279 $(LOCAL_PATH)/modules/photo/include \ 1280 $(LOCAL_PATH)/modules/video/include \ 1281 $(LOCAL_PATH)/modules/androidcamera/include \ 1282 $(LOCAL_PATH)/modules/imgcodecs/include \ 1283 $(LOCAL_PATH)/modules/videoio/include \ 1284 $(LOCAL_PATH)/modules/highgui/include \ 1285 $(LOCAL_PATH)/modules/objdetect/include \ 1286 $(LOCAL_PATH)/modules/features2d/include \ 1287 $(LOCAL_PATH)/modules/calib3d/include \ 1288 $(LOCAL_PATH)/modules/java/generator/src/cpp 1289 1290LOCAL_SRC_FILES := \ 1291 modules/java/src/ml.cpp \ 1292 modules/java/src/video.cpp \ 1293 modules/java/src/photo.cpp \ 1294 modules/java/src/calib3d.cpp \ 1295 modules/java/src/features2d.cpp \ 1296 modules/java/src/core.cpp \ 1297 modules/java/src/imgproc.cpp \ 1298 modules/java/src/objdetect.cpp \ 1299 modules/java/src/videoio.cpp \ 1300 modules/java/src/imgcodecs.cpp \ 1301 modules/java/generator/src/cpp/jni_part.cpp \ 1302 modules/java/generator/src/cpp/utils.cpp \ 1303 modules/java/generator/src/cpp/converters.cpp \ 1304 modules/java/generator/src/cpp/Mat.cpp \ 1305 modules/core/misc/java/src/cpp/core_manual.cpp 1306 1307LOCAL_SHARED_LIBRARIES := libopencv_core libopencv_flann libopencv_imgproc libopencv_ml libopencv_photo libopencv_video libopencv_imgcodecs libopencv_videoio libopencv_highgui libopencv_objdetect libopencv_features2d libopencv_calib3d 1308LOCAL_STATIC_LIBRARIES := libopencv_hal 1309 1310include $(BUILD_SHARED_LIBRARY) 1311