1 ifeq ($(strip $(BOARD_USES_WRS_OMXIL_CORE)),true) 2 LOCAL_PATH := $(call my-dir) 3 4 ifeq ($(strip $(USE_VIDEO_EFFECT)),true) 5 LOCAL_C_FLAGS := -DUSE_VIDEO_EFFECT 6 endif 7 8 ################################################################################ 9 10 include $(CLEAR_VARS) 11 12 ifeq ($(TARGET_HAS_ISV),true) 13 LOCAL_CFLAGS += -DTARGET_HAS_ISV 14 endif 15 16 LOCAL_SHARED_LIBRARIES := \ 17 libwrs_omxil_common \ 18 libva_videodecoder \ 19 liblog \ 20 libva \ 21 libva-android 22 23 LOCAL_C_INCLUDES := \ 24 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 25 $(TARGET_OUT_HEADERS)/khronos/openmax \ 26 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 27 $(TARGET_OUT_HEADERS)/libva \ 28 $(call include-path-for, frameworks-native)/media/hardware \ 29 $(call include-path-for, frameworks-native)/media/openmax \ 30 $(call include-path-for, libhardware) 31 32 PLATFORM_USE_GEN_HW := \ 33 baytrail \ 34 cherrytrail 35 36 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_USE_GEN_HW)),) 37 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 38 endif 39 40 LOCAL_SRC_FILES := \ 41 OMXComponentCodecBase.cpp \ 42 OMXVideoDecoderBase.cpp \ 43 OMXVideoDecoderAVC.cpp 44 45 LOCAL_CFLAGS += -Werror 46 LOCAL_MODULE_TAGS := optional 47 LOCAL_MODULE := libOMXVideoDecoderAVC 48 ifeq ($(TARGET_BOARD_PLATFORM),clovertrail) 49 LOCAL_CFLAGS += -DVED_TILING 50 endif 51 52 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 53 LOCAL_CFLAGS += -DVED_TILING 54 endif 55 56 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 57 LOCAL_CFLAGS += -DVED_TILING 58 endif 59 60 ifeq ($(TARGET_VPP_USE_GEN),true) 61 LOCAL_CFLAGS += -DDEINTERLACE_EXT 62 endif 63 64 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 65 LOCAL_CFLAGS += -DUSE_GEN_HW 66 endif 67 68 include $(BUILD_SHARED_LIBRARY) 69 70 ################################################################################ 71 72 PLATFORM_SUPPORT_VP8 := \ 73 merrifield \ 74 morganfield \ 75 moorefield \ 76 baytrail \ 77 cherrytrail 78 79 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_SUPPORT_VP8)),) 80 include $(CLEAR_VARS) 81 82 ifeq ($(TARGET_HAS_ISV),true) 83 LOCAL_CFLAGS += -DTARGET_HAS_ISV 84 endif 85 86 LOCAL_SHARED_LIBRARIES := \ 87 libwrs_omxil_common \ 88 libva_videodecoder \ 89 liblog \ 90 libva \ 91 libva-android 92 93 LOCAL_C_INCLUDES := \ 94 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 95 $(TARGET_OUT_HEADERS)/khronos/openmax \ 96 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 97 $(TARGET_OUT_HEADERS)/libva \ 98 $(call include-path-for, frameworks-native)/media/hardware \ 99 $(call include-path-for, frameworks-native)/media/openmax \ 100 $(call include-path-for, libhardware) 101 102 LOCAL_SRC_FILES := \ 103 OMXComponentCodecBase.cpp \ 104 OMXVideoDecoderBase.cpp \ 105 OMXVideoDecoderVP8.cpp 106 107 LOCAL_CFLAGS += -Werror 108 LOCAL_MODULE_TAGS := optional 109 LOCAL_MODULE := libOMXVideoDecoderVP8 110 111 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 112 LOCAL_CFLAGS += -DVED_TILING 113 endif 114 115 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 116 LOCAL_CFLAGS += -DVED_TILING 117 endif 118 119 PLATFORM_USE_GEN_HW := \ 120 baytrail \ 121 cherrytrail 122 123 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_USE_GEN_HW)),) 124 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 125 endif 126 127 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_USE_GEN_HW)),) 128 LOCAL_CFLAGS += -DUSE_GEN_HW 129 endif 130 131 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 132 LOCAL_CFLAGS += -DUSE_X_TILE 133 endif 134 135 include $(BUILD_SHARED_LIBRARY) 136 endif 137 138 ################################################################################ 139 140 # VP9 with SW decode and HW Render 141 include $(CLEAR_VARS) 142 143 ifeq ($(TARGET_HAS_ISV),true) 144 LOCAL_CFLAGS += -DTARGET_HAS_ISV 145 endif 146 147 LOCAL_SHARED_LIBRARIES := \ 148 libwrs_omxil_common \ 149 libva_videodecoder \ 150 liblog \ 151 libva \ 152 libva-android \ 153 libva-tpi 154 155 LOCAL_STATIC_LIBRARIES := \ 156 libvpx_internal 157 158 LOCAL_C_INCLUDES := \ 159 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 160 $(TARGET_OUT_HEADERS)/khronos/openmax \ 161 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 162 $(TARGET_OUT_HEADERS)/libva \ 163 $(LOCAL_PATH)/libvpx_internal/libvpx \ 164 $(LOCAL_PATH)/libvpx_internal/libvpx/vpx_codec \ 165 $(LOCAL_PATH)/libvpx_internal/libvpx/vpx_ports \ 166 $(call include-path-for, frameworks-native)/media/hardware \ 167 $(call include-path-for, frameworks-native)/media/openmax \ 168 $(call include-path-for, libhardware) 169 170 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 171 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 172 endif 173 174 LOCAL_SRC_FILES := \ 175 OMXComponentCodecBase.cpp \ 176 OMXVideoDecoderBase.cpp \ 177 OMXVideoDecoderVP9HWR.cpp 178 179 LOCAL_CFLAGS += -Werror 180 LOCAL_MODULE_TAGS := optional 181 LOCAL_MODULE := libOMXVideoDecoderVP9HWR 182 183 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 184 LOCAL_CFLAGS += -DVED_TILING 185 endif 186 187 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 188 LOCAL_CFLAGS += -DVED_TILING 189 endif 190 191 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 192 LOCAL_CFLAGS += -DUSE_GEN_HW 193 endif 194 include $(BUILD_SHARED_LIBRARY) 195 196 # VP9 hybrid decoder and HW Render 197 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 198 include $(CLEAR_VARS) 199 ifeq ($(TARGET_HAS_VPP),true) 200 LOCAL_CFLAGS += -DTARGET_HAS_VPP 201 endif 202 LOCAL_SHARED_LIBRARIES := \ 203 libwrs_omxil_common \ 204 liblog \ 205 libva_videodecoder \ 206 libdl \ 207 208 LOCAL_C_INCLUDES := \ 209 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 210 $(TARGET_OUT_HEADERS)/khronos/openmax \ 211 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 212 $(TARGET_OUT_HEADERS)/libva \ 213 $(call include-path-for, frameworks-native)/media/hardware \ 214 $(call include-path-for, frameworks-native)/media/openmax \ 215 $(call include-path-for, libhardware) 216 217 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 218 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 219 endif 220 221 LOCAL_SRC_FILES := \ 222 OMXComponentCodecBase.cpp \ 223 OMXVideoDecoderBase.cpp \ 224 OMXVideoDecoderVP9Hybrid.cpp 225 226 LOCAL_CFLAGS += -Werror 227 LOCAL_MODULE_TAGS := optional 228 LOCAL_MODULE := libOMXVideoDecoderVP9Hybrid 229 230 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 231 LOCAL_CFLAGS += -DVED_TILING 232 endif 233 234 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 235 LOCAL_CFLAGS += -DVED_TILING 236 endif 237 238 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 239 LOCAL_CFLAGS += -DUSE_GEN_HW 240 endif 241 include $(BUILD_SHARED_LIBRARY) 242 endif 243 244 include $(CLEAR_VARS) 245 ifeq ($(TARGET_HAS_ISV),true) 246 LOCAL_CFLAGS += -DTARGET_HAS_ISV 247 endif 248 249 LOCAL_SHARED_LIBRARIES := \ 250 libwrs_omxil_common \ 251 libva_videodecoder \ 252 liblog \ 253 libva \ 254 libva-android 255 256 LOCAL_C_INCLUDES := \ 257 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 258 $(TARGET_OUT_HEADERS)/khronos/openmax \ 259 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 260 $(TARGET_OUT_HEADERS)/libva \ 261 $(call include-path-for, frameworks-native)/media/hardware \ 262 $(call include-path-for, frameworks-native)/media/openmax \ 263 $(call include-path-for, libhardware) 264 265 PLATFORM_USE_GEN_HW := \ 266 baytrail \ 267 cherrytrail 268 269 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_USE_GEN_HW)),) 270 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 271 endif 272 273 LOCAL_SRC_FILES := \ 274 OMXComponentCodecBase.cpp \ 275 OMXVideoDecoderBase.cpp \ 276 OMXVideoDecoderMPEG4.cpp 277 278 LOCAL_CFLAGS += -Werror 279 LOCAL_MODULE_TAGS := optional 280 LOCAL_MODULE := libOMXVideoDecoderMPEG4 281 ifeq ($(TARGET_BOARD_PLATFORM),clovertrail) 282 LOCAL_CFLAGS += -DVED_TILING 283 endif 284 285 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 286 LOCAL_CFLAGS += -DVED_TILING 287 endif 288 289 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 290 LOCAL_CFLAGS += -DVED_TILING 291 endif 292 293 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 294 LOCAL_CFLAGS += -DUSE_GEN_HW 295 endif 296 297 include $(BUILD_SHARED_LIBRARY) 298 299 ################################################################################ 300 301 include $(CLEAR_VARS) 302 ifeq ($(TARGET_HAS_ISV),true) 303 LOCAL_CFLAGS += -DTARGET_HAS_ISV 304 endif 305 306 LOCAL_SHARED_LIBRARIES := \ 307 libwrs_omxil_common \ 308 libva_videodecoder \ 309 liblog \ 310 libva \ 311 libva-android 312 313 LOCAL_C_INCLUDES := \ 314 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 315 $(TARGET_OUT_HEADERS)/khronos/openmax \ 316 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 317 $(TARGET_OUT_HEADERS)/libva \ 318 $(call include-path-for, frameworks-native)/media/hardware \ 319 $(call include-path-for, frameworks-native)/media/openmax \ 320 $(call include-path-for, libhardware) 321 322 PLATFORM_USE_GEN_HW := \ 323 baytrail \ 324 cherrytrail 325 326 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_USE_GEN_HW)),) 327 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 328 endif 329 330 LOCAL_SRC_FILES := \ 331 OMXComponentCodecBase.cpp \ 332 OMXVideoDecoderBase.cpp \ 333 OMXVideoDecoderH263.cpp 334 335 LOCAL_CFLAGS += -Werror 336 LOCAL_MODULE_TAGS := optional 337 LOCAL_MODULE := libOMXVideoDecoderH263 338 ifeq ($(TARGET_BOARD_PLATFORM),clovertrail) 339 LOCAL_CFLAGS += -DVED_TILING 340 endif 341 342 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 343 LOCAL_CFLAGS += -DVED_TILING 344 endif 345 346 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 347 LOCAL_CFLAGS += -DVED_TILING 348 endif 349 350 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 351 LOCAL_CFLAGS += -DUSE_GEN_HW 352 endif 353 354 include $(BUILD_SHARED_LIBRARY) 355 356 ################################################################################ 357 358 include $(CLEAR_VARS) 359 ifeq ($(TARGET_HAS_ISV),true) 360 LOCAL_CFLAGS += -DTARGET_HAS_ISV 361 endif 362 363 LOCAL_SHARED_LIBRARIES := \ 364 libwrs_omxil_common \ 365 libva_videodecoder \ 366 liblog \ 367 libva \ 368 libva-android 369 370 LOCAL_C_INCLUDES := \ 371 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 372 $(TARGET_OUT_HEADERS)/khronos/openmax \ 373 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 374 $(TARGET_OUT_HEADERS)/libva \ 375 $(call include-path-for, frameworks-native)/media/hardware \ 376 $(call include-path-for, frameworks-native)/media/openmax \ 377 $(call include-path-for, libhardware) 378 379 PLATFORM_USE_GEN_HW := \ 380 baytrail \ 381 cherrytrail 382 383 ifneq ($(filter $(TARGET_BOARD_PLATFORM),$(PLATFORM_USE_GEN_HW)),) 384 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/ufo 385 endif 386 387 LOCAL_SRC_FILES := \ 388 OMXComponentCodecBase.cpp \ 389 OMXVideoDecoderBase.cpp \ 390 OMXVideoDecoderWMV.cpp 391 392 LOCAL_CFLAGS += -Werror 393 LOCAL_MODULE_TAGS := optional 394 LOCAL_MODULE := libOMXVideoDecoderWMV 395 ifeq ($(TARGET_BOARD_PLATFORM),clovertrail) 396 LOCAL_CFLAGS += -DVED_TILING 397 endif 398 399 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 400 LOCAL_CFLAGS += -DVED_TILING 401 endif 402 403 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 404 LOCAL_CFLAGS += -DVED_TILING 405 endif 406 407 ifeq ($(TARGET_VPP_USE_GEN),true) 408 LOCAL_CFLAGS += -DDEINTERLACE_EXT 409 endif 410 411 ifeq ($(TARGET_BOARD_PLATFORM),baytrail) 412 LOCAL_CFLAGS += -DUSE_GEN_HW 413 endif 414 415 include $(BUILD_SHARED_LIBRARY) 416 417 ################################################################################ 418 419 #Build secure AVC video decoder only on supported platforms 420 ifeq ($(USE_INTEL_SECURE_AVC),true) 421 422 include $(CLEAR_VARS) 423 ifeq ($(TARGET_HAS_ISV),true) 424 LOCAL_CFLAGS += -DTARGET_HAS_ISV 425 endif 426 427 LOCAL_SHARED_LIBRARIES := \ 428 libwrs_omxil_common \ 429 libdrm \ 430 libva_videodecoder \ 431 liblog \ 432 libva \ 433 libva-android 434 435 LOCAL_C_INCLUDES := \ 436 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 437 $(TARGET_OUT_HEADERS)/khronos/openmax \ 438 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 439 $(TARGET_OUT_HEADERS)/libva \ 440 $(TARGET_OUT_HEADERS)/libdrm \ 441 $(call include-path-for, frameworks-native)/media/hardware \ 442 $(call include-path-for, frameworks-native)/media/openmax \ 443 $(call include-path-for, libhardware) 444 445 LOCAL_SRC_FILES := \ 446 OMXComponentCodecBase.cpp \ 447 OMXVideoDecoderBase.cpp 448 449 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 450 LOCAL_SRC_FILES += \ 451 securevideo/moorefield/OMXVideoDecoderAVCSecure.cpp \ 452 securevideo/moorefield/drm_vendor_api.c 453 LOCAL_CFLAGS += -DVED_TILING 454 LOCAL_SHARED_LIBRARIES += libdl 455 endif 456 457 LOCAL_CFLAGS += -Werror 458 LOCAL_MODULE_TAGS := optional 459 LOCAL_MODULE := libOMXVideoDecoderAVCSecure 460 461 include $(BUILD_SHARED_LIBRARY) 462 463 endif #USE_INTEL_SECURE_AVC 464 465 ################################################################################ 466 467 include $(CLEAR_VARS) 468 ifeq ($(TARGET_HAS_ISV),true) 469 LOCAL_CFLAGS += -DTARGET_HAS_ISV 470 endif 471 472 LOCAL_SHARED_LIBRARIES := \ 473 libwrs_omxil_common \ 474 liblog \ 475 libva_videoencoder \ 476 libva \ 477 libva-android \ 478 libva-tpi \ 479 libutils \ 480 libcutils \ 481 libhardware \ 482 libintelmetadatabuffer 483 484 LOCAL_C_INCLUDES := \ 485 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 486 $(TARGET_OUT_HEADERS)/khronos/openmax \ 487 $(TARGET_OUT_HEADERS)/libmix_videoencoder \ 488 $(TARGET_OUT_HEADERS)/libva \ 489 $(call include-path-for, frameworks-native)/media/hardware \ 490 $(call include-path-for, frameworks-native)/media/openmax \ 491 492 LOCAL_SRC_FILES := \ 493 OMXComponentCodecBase.cpp \ 494 OMXVideoEncoderBase.cpp \ 495 OMXVideoEncoderAVC.cpp 496 497 LOCAL_CFLAGS += $(LOCAL_C_FLAGS) 498 LOCAL_CFLAGS += -Werror 499 LOCAL_MODULE_TAGS := optional 500 LOCAL_MODULE := libOMXVideoEncoderAVC 501 include $(BUILD_SHARED_LIBRARY) 502 503 ################################################################################ 504 505 include $(CLEAR_VARS) 506 ifeq ($(TARGET_HAS_ISV),true) 507 LOCAL_CFLAGS += -DTARGET_HAS_ISV 508 endif 509 510 LOCAL_SHARED_LIBRARIES := \ 511 libwrs_omxil_common \ 512 liblog \ 513 libva_videoencoder \ 514 libva \ 515 libva-android \ 516 libva-tpi \ 517 libutils \ 518 libcutils \ 519 libhardware \ 520 libintelmetadatabuffer 521 522 LOCAL_C_INCLUDES := \ 523 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 524 $(TARGET_OUT_HEADERS)/khronos/openmax \ 525 $(TARGET_OUT_HEADERS)/libmix_videoencoder \ 526 $(TARGET_OUT_HEADERS)/libva \ 527 $(call include-path-for, frameworks-native)/media/hardware \ 528 $(call include-path-for, frameworks-native)/media/openmax \ 529 530 LOCAL_SRC_FILES := \ 531 OMXComponentCodecBase.cpp \ 532 OMXVideoEncoderBase.cpp \ 533 OMXVideoEncoderH263.cpp 534 535 LOCAL_CFLAGS += $(LOCAL_C_FLAGS) 536 537 ifeq ($(SW_MPEG4_ENCODER),true) 538 LOCAL_CFLAGS += -DSYNC_MODE 539 endif 540 LOCAL_CFLAGS += -Werror 541 LOCAL_MODULE_TAGS := optional 542 LOCAL_MODULE := libOMXVideoEncoderH263 543 include $(BUILD_SHARED_LIBRARY) 544 545 ################################################################################ 546 547 include $(CLEAR_VARS) 548 ifeq ($(TARGET_HAS_ISV),true) 549 LOCAL_CFLAGS += -DTARGET_HAS_ISV 550 endif 551 552 LOCAL_SHARED_LIBRARIES := \ 553 libwrs_omxil_common \ 554 liblog \ 555 libva_videoencoder \ 556 libva \ 557 libva-android \ 558 libva-tpi \ 559 libutils \ 560 libcutils \ 561 libhardware \ 562 libintelmetadatabuffer 563 564 LOCAL_C_INCLUDES := \ 565 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 566 $(TARGET_OUT_HEADERS)/khronos/openmax \ 567 $(TARGET_OUT_HEADERS)/libmix_videoencoder \ 568 $(TARGET_OUT_HEADERS)/libva \ 569 $(call include-path-for, frameworks-native)/media/hardware \ 570 $(call include-path-for, frameworks-native)/media/openmax \ 571 572 LOCAL_SRC_FILES := \ 573 OMXComponentCodecBase.cpp \ 574 OMXVideoEncoderBase.cpp \ 575 OMXVideoEncoderMPEG4.cpp 576 577 LOCAL_CFLAGS += $(LOCAL_C_FLAGS) 578 579 LOCAL_CFLAGS += -Werror 580 LOCAL_MODULE_TAGS := optional 581 LOCAL_MODULE := libOMXVideoEncoderMPEG4 582 include $(BUILD_SHARED_LIBRARY) 583 584 ################################################################################ 585 586 include $(CLEAR_VARS) 587 ifeq ($(TARGET_HAS_ISV),true) 588 LOCAL_CFLAGS += -DTARGET_HAS_ISV 589 endif 590 591 LOCAL_SHARED_LIBRARIES := \ 592 libwrs_omxil_common \ 593 libva_videodecoder \ 594 liblog \ 595 libva \ 596 libva-android 597 598 LOCAL_C_INCLUDES := \ 599 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 600 $(TARGET_OUT_HEADERS)/khronos/openmax \ 601 $(TARGET_OUT_HEADERS)/libmix_videodecoder \ 602 $(TARGET_OUT_HEADERS)/libva \ 603 $(call include-path-for, frameworks-native)/media/hardware \ 604 $(call include-path-for, frameworks-native)/media/openmax \ 605 $(call include-path-for, libhardware) 606 607 LOCAL_SRC_FILES := \ 608 OMXComponentCodecBase.cpp \ 609 OMXVideoDecoderBase.cpp \ 610 OMXVideoDecoderPAVC.cpp 611 612 LOCAL_CFLAGS += -Werror 613 LOCAL_MODULE_TAGS := optional 614 LOCAL_MODULE := libOMXVideoDecoderPAVC 615 ifeq ($(TARGET_BOARD_PLATFORM),clovertrail) 616 LOCAL_CFLAGS += -DVED_TILING 617 endif 618 619 ifeq ($(TARGET_BOARD_PLATFORM),merrifield) 620 LOCAL_CFLAGS += -DVED_TILING 621 endif 622 623 ifeq ($(TARGET_BOARD_PLATFORM),moorefield) 624 LOCAL_CFLAGS += -DVED_TILING 625 endif 626 627 include $(BUILD_SHARED_LIBRARY) 628 629 ################################################################################ 630 631 include $(CLEAR_VARS) 632 ifeq ($(TARGET_HAS_ISV),true) 633 LOCAL_CFLAGS += -DTARGET_HAS_ISV 634 endif 635 636 LOCAL_SHARED_LIBRARIES := \ 637 libwrs_omxil_common \ 638 liblog \ 639 libva_videoencoder \ 640 libva \ 641 libva-android \ 642 libva-tpi \ 643 libutils \ 644 libcutils \ 645 libhardware \ 646 libintelmetadatabuffer 647 648 LOCAL_C_INCLUDES := \ 649 $(TARGET_OUT_HEADERS)/wrs_omxil_core \ 650 $(TARGET_OUT_HEADERS)/khronos/openmax \ 651 $(TARGET_OUT_HEADERS)/libmix_videoencoder \ 652 $(TARGET_OUT_HEADERS)/libva \ 653 $(call include-path-for, frameworks-native)/media/hardware \ 654 $(call include-path-for, frameworks-native)/media/openmax \ 655 656 LOCAL_SRC_FILES := \ 657 OMXComponentCodecBase.cpp \ 658 OMXVideoEncoderBase.cpp \ 659 OMXVideoEncoderVP8.cpp 660 661 LOCAL_CFLAGS += $(LOCAL_C_FLAGS) 662 LOCAL_CFLAGS += -Werror 663 LOCAL_MODULE_TAGS := optional 664 LOCAL_MODULE := libOMXVideoEncoderVP8 665 include $(BUILD_SHARED_LIBRARY) 666 667 endif # ifeq ($(strip $(BOARD_USES_WRS_OMXIL_CORE)),true) 668