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 \ 2859f566c4ec3dfc097ad8163523e522280b27e5c3James Dong -DOSCL_IMPORT_REF= -DOSCL_UNUSED_ARG= -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 3659f566c4ec3dfc097ad8163523e522280b27e5c3James Donginclude $(BUILD_STATIC_LIBRARY) 371700744ae0ce2fcf722816453ae0af2cd5646458James Dong 381700744ae0ce2fcf722816453ae0af2cd5646458James Dong################################################################################ 391700744ae0ce2fcf722816453ae0af2cd5646458James Dong 401700744ae0ce2fcf722816453ae0af2cd5646458James Donginclude $(CLEAR_VARS) 411700744ae0ce2fcf722816453ae0af2cd5646458James Dong 421700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_SRC_FILES := \ 431700744ae0ce2fcf722816453ae0af2cd5646458James Dong SoftMPEG4Encoder.cpp 441700744ae0ce2fcf722816453ae0af2cd5646458James Dong 451700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_C_INCLUDES := \ 461700744ae0ce2fcf722816453ae0af2cd5646458James Dong frameworks/av/media/libstagefright/include \ 471700744ae0ce2fcf722816453ae0af2cd5646458James Dong frameworks/native/include/media/openmax \ 48bf5bea96f236adb5eef78c2f414ef82b3602a0f7Eino-Ville Talvala frameworks/native/include/media/hardware \ 491700744ae0ce2fcf722816453ae0af2cd5646458James Dong $(LOCAL_PATH)/src \ 501700744ae0ce2fcf722816453ae0af2cd5646458James Dong $(LOCAL_PATH)/include \ 511700744ae0ce2fcf722816453ae0af2cd5646458James Dong $(LOCAL_PATH)/../common/include \ 521700744ae0ce2fcf722816453ae0af2cd5646458James Dong $(LOCAL_PATH)/../common 531700744ae0ce2fcf722816453ae0af2cd5646458James Dong 541700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_CFLAGS := \ 551700744ae0ce2fcf722816453ae0af2cd5646458James Dong -DBX_RC \ 561700744ae0ce2fcf722816453ae0af2cd5646458James Dong -DOSCL_IMPORT_REF= -DOSCL_UNUSED_ARG= -DOSCL_EXPORT_REF= 571700744ae0ce2fcf722816453ae0af2cd5646458James Dong 581700744ae0ce2fcf722816453ae0af2cd5646458James Dong 591700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_STATIC_LIBRARIES := \ 601700744ae0ce2fcf722816453ae0af2cd5646458James Dong libstagefright_m4vh263enc 611700744ae0ce2fcf722816453ae0af2cd5646458James Dong 621700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_SHARED_LIBRARIES := \ 631700744ae0ce2fcf722816453ae0af2cd5646458James Dong libstagefright \ 641700744ae0ce2fcf722816453ae0af2cd5646458James Dong libstagefright_enc_common \ 651700744ae0ce2fcf722816453ae0af2cd5646458James Dong libstagefright_foundation \ 661700744ae0ce2fcf722816453ae0af2cd5646458James Dong libstagefright_omx \ 671700744ae0ce2fcf722816453ae0af2cd5646458James Dong libutils \ 68bf5bea96f236adb5eef78c2f414ef82b3602a0f7Eino-Ville Talvala libui 691700744ae0ce2fcf722816453ae0af2cd5646458James Dong 701700744ae0ce2fcf722816453ae0af2cd5646458James Dong 711700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_MODULE := libstagefright_soft_mpeg4enc 721700744ae0ce2fcf722816453ae0af2cd5646458James DongLOCAL_MODULE_TAGS := optional 731700744ae0ce2fcf722816453ae0af2cd5646458James Dong 741700744ae0ce2fcf722816453ae0af2cd5646458James Donginclude $(BUILD_SHARED_LIBRARY) 75