159f566c4ec3dfc097ad8163523e522280b27e5c3James DongLOCAL_PATH := $(call my-dir) 259f566c4ec3dfc097ad8163523e522280b27e5c3James Donginclude $(CLEAR_VARS) 359f566c4ec3dfc097ad8163523e522280b27e5c3James Dong 459f566c4ec3dfc097ad8163523e522280b27e5c3James DongLOCAL_SRC_FILES := \ 559f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/bitstream_io.cpp \ 659f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/combined_encode.cpp \ 759f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/datapart_encode.cpp \ 859f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/dct.cpp \ 959f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/findhalfpel.cpp \ 1059f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/fastcodemb.cpp \ 1159f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/fastidct.cpp \ 1259f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/fastquant.cpp \ 1359f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/me_utils.cpp \ 1459f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/mp4enc_api.cpp \ 1559f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/rate_control.cpp \ 1659f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/motion_est.cpp \ 1759f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/motion_comp.cpp \ 1859f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/sad.cpp \ 1959f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/sad_halfpel.cpp \ 2059f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/vlc_encode.cpp \ 2159f566c4ec3dfc097ad8163523e522280b27e5c3James Dong src/vop.cpp 2259f566c4ec3dfc097ad8163523e522280b27e5c3James Dong 2359f566c4ec3dfc097ad8163523e522280b27e5c3James Dong 2459f566c4ec3dfc097ad8163523e522280b27e5c3James DongLOCAL_MODULE := libstagefright_m4vh263enc 2559f566c4ec3dfc097ad8163523e522280b27e5c3James Dong 2659f566c4ec3dfc097ad8163523e522280b27e5c3James DongLOCAL_CFLAGS := \ 2759f566c4ec3dfc097ad8163523e522280b27e5c3James Dong -DBX_RC \ 28b3f9759c8c9437c45b9a34519ce2ea38a8314d4eAndreas Gampe -DOSCL_IMPORT_REF= -D"OSCL_UNUSED_ARG(x)=(void)(x)" -DOSCL_EXPORT_REF= 2959f566c4ec3dfc097ad8163523e522280b27e5c3James Dong 3059f566c4ec3dfc097ad8163523e522280b27e5c3James DongLOCAL_C_INCLUDES := \ 3159f566c4ec3dfc097ad8163523e522280b27e5c3James Dong $(LOCAL_PATH)/src \ 3259f566c4ec3dfc097ad8163523e522280b27e5c3James Dong $(LOCAL_PATH)/include \ 33559bf2836f5da25b75bfb229fec0d20d540ee426James Dong $(TOP)/frameworks/av/media/libstagefright/include \ 346c6b4d0d2b98a7ceee8b697daaf611f8df3254fbJames Dong $(TOP)/frameworks/native/include/media/openmax 3559f566c4ec3dfc097ad8163523e522280b27e5c3James Dong 3684333e0475bc911adc16417f4ca327c975cf6c36Andreas HuberLOCAL_CFLAGS += -Werror 378009d3ba666f6f414b30ae7a701c36dccdebcc76Dan AustinLOCAL_SANITIZE := signed-integer-overflow 3884333e0475bc911adc16417f4ca327c975cf6c36Andreas Huber 3959f566c4ec3dfc097ad8163523e522280b27e5c3James Donginclude $(BUILD_STATIC_LIBRARY) 401700744ae0ce2fcf722816453ae0af2cd5646458James Dong 411700744ae0ce2fcf722816453ae0af2cd5646458James Dong################################################################################ 421700744ae0ce2fcf722816453ae0af2cd5646458James Dong 431700744ae0ce2fcf722816453ae0af2cd5646458James Donginclude $(CLEAR_VARS) 441700744ae0ce2fcf722816453ae0af2cd5646458James Dong 451700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_SRC_FILES := \ 461700744ae0ce2fcf722816453ae0af2cd5646458James Dong SoftMPEG4Encoder.cpp 471700744ae0ce2fcf722816453ae0af2cd5646458James Dong 481700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_C_INCLUDES := \ 491700744ae0ce2fcf722816453ae0af2cd5646458James Dong frameworks/av/media/libstagefright/include \ 501700744ae0ce2fcf722816453ae0af2cd5646458James Dong frameworks/native/include/media/openmax \ 51bf5bea96f236adb5eef78c2f414ef82b3602a0f7Eino-Ville Talvala frameworks/native/include/media/hardware \ 521700744ae0ce2fcf722816453ae0af2cd5646458James Dong $(LOCAL_PATH)/src \ 531700744ae0ce2fcf722816453ae0af2cd5646458James Dong $(LOCAL_PATH)/include \ 541700744ae0ce2fcf722816453ae0af2cd5646458James Dong $(LOCAL_PATH)/../common/include \ 551700744ae0ce2fcf722816453ae0af2cd5646458James Dong $(LOCAL_PATH)/../common 561700744ae0ce2fcf722816453ae0af2cd5646458James Dong 571700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_CFLAGS := \ 581700744ae0ce2fcf722816453ae0af2cd5646458James Dong -DBX_RC \ 59b3f9759c8c9437c45b9a34519ce2ea38a8314d4eAndreas Gampe -DOSCL_IMPORT_REF= -D"OSCL_UNUSED_ARG(x)=(void)(x)" -DOSCL_EXPORT_REF= 601700744ae0ce2fcf722816453ae0af2cd5646458James Dong 611700744ae0ce2fcf722816453ae0af2cd5646458James Dong 621700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_STATIC_LIBRARIES := \ 631700744ae0ce2fcf722816453ae0af2cd5646458James Dong libstagefright_m4vh263enc 641700744ae0ce2fcf722816453ae0af2cd5646458James Dong 651700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_SHARED_LIBRARIES := \ 66ce4df5e534eb86748fe80c84efb6b7fc0b6b5b46Wonsik Kim libmedia \ 671700744ae0ce2fcf722816453ae0af2cd5646458James Dong libstagefright_omx \ 681700744ae0ce2fcf722816453ae0af2cd5646458James Dong libutils \ 69da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6Ying Wang liblog \ 701700744ae0ce2fcf722816453ae0af2cd5646458James Dong 711700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_MODULE := libstagefright_soft_mpeg4enc 721700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_MODULE_TAGS := optional 731700744ae0ce2fcf722816453ae0af2cd5646458James Dong 7484333e0475bc911adc16417f4ca327c975cf6c36Andreas HuberLOCAL_CFLAGS += -Werror 75a4a6d63ec590a3be60a60527c619fb0bf7870b59Vishwath MohanLOCAL_SANITIZE := signed-integer-overflow cfi 76a4a6d63ec590a3be60a60527c619fb0bf7870b59Vishwath MohanLOCAL_SANITIZE_DIAG := cfi 7784333e0475bc911adc16417f4ca327c975cf6c36Andreas Huber 781700744ae0ce2fcf722816453ae0af2cd5646458James Donginclude $(BUILD_SHARED_LIBRARY) 79044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhat 80044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhat################################################################################ 81044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhat 82044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhatinclude $(CLEAR_VARS) 83044c6ae441f14102551c1ba918d02d5c8d12c21eAshok BhatLOCAL_SRC_FILES := \ 84044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhat test/m4v_h263_enc_test.cpp 85044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhat 86044c6ae441f14102551c1ba918d02d5c8d12c21eAshok BhatLOCAL_C_INCLUDES := \ 87044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhat $(LOCAL_PATH)/src \ 88044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhat $(LOCAL_PATH)/include 89044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhat 90044c6ae441f14102551c1ba918d02d5c8d12c21eAshok BhatLOCAL_CFLAGS := -DOSCL_EXPORT_REF= -DOSCL_IMPORT_REF= -DBX_RC 918009d3ba666f6f414b30ae7a701c36dccdebcc76Dan AustinLOCAL_SANITIZE := signed-integer-overflow 92044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhat 93044c6ae441f14102551c1ba918d02d5c8d12c21eAshok BhatLOCAL_STATIC_LIBRARIES := \ 94044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhat libstagefright_m4vh263enc 95044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhat 96044c6ae441f14102551c1ba918d02d5c8d12c21eAshok BhatLOCAL_MODULE := libstagefright_m4vh263enc_test 97044c6ae441f14102551c1ba918d02d5c8d12c21eAshok BhatLOCAL_MODULE_TAGS := tests 98044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhat 99044c6ae441f14102551c1ba918d02d5c8d12c21eAshok Bhatinclude $(BUILD_EXECUTABLE) 100