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