Home | History | Annotate | Download | only in libavc
      1 LOCAL_PATH := $(call my-dir)
      2 include $(CLEAR_VARS)
      3 
      4 libavcd_source_dir := $(LOCAL_PATH)
      5 
      6 ## Arch-common settings
      7 LOCAL_MODULE := libavcdec
      8 #LOCAL_32_BIT_ONLY := true
      9 
     10 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
     11 
     12 LOCAL_CFLAGS += -fPIC
     13 LOCAL_CFLAGS += -O3
     14 
     15 LOCAL_C_INCLUDES := $(LOCAL_PATH)/decoder $(LOCAL_PATH)/common
     16 
     17 libavcd_srcs_c  += common/ih264_buf_mgr.c
     18 libavcd_srcs_c  += common/ih264_disp_mgr.c
     19 libavcd_srcs_c  += common/ih264_inter_pred_filters.c
     20 libavcd_srcs_c  += common/ih264_luma_intra_pred_filters.c
     21 libavcd_srcs_c  += common/ih264_chroma_intra_pred_filters.c
     22 libavcd_srcs_c  += common/ih264_padding.c
     23 libavcd_srcs_c  += common/ih264_mem_fns.c
     24 libavcd_srcs_c  += common/ih264_deblk_edge_filters.c
     25 libavcd_srcs_c  += common/ih264_iquant_itrans_recon.c
     26 libavcd_srcs_c  += common/ih264_ihadamard_scaling.c
     27 libavcd_srcs_c  += common/ih264_weighted_pred.c
     28 
     29 libavcd_srcs_c  += common/ithread.c
     30 
     31 libavcd_srcs_c  += decoder/ih264d_cabac.c
     32 libavcd_srcs_c  += decoder/ih264d_parse_mb_header.c
     33 libavcd_srcs_c  += decoder/ih264d_parse_cabac.c
     34 libavcd_srcs_c  += decoder/ih264d_process_intra_mb.c
     35 libavcd_srcs_c  += decoder/ih264d_inter_pred.c
     36 libavcd_srcs_c  += decoder/ih264d_parse_bslice.c
     37 libavcd_srcs_c  += decoder/ih264d_parse_pslice.c
     38 libavcd_srcs_c  += decoder/ih264d_parse_islice.c
     39 libavcd_srcs_c  += decoder/ih264d_cabac_init_tables.c
     40 libavcd_srcs_c  += decoder/ih264d_bitstrm.c
     41 libavcd_srcs_c  += decoder/ih264d_compute_bs.c
     42 libavcd_srcs_c  += decoder/ih264d_deblocking.c
     43 libavcd_srcs_c  += decoder/ih264d_parse_headers.c
     44 libavcd_srcs_c  += decoder/ih264d_mb_utils.c
     45 libavcd_srcs_c  += decoder/ih264d_mvpred.c
     46 libavcd_srcs_c  += decoder/ih264d_utils.c
     47 libavcd_srcs_c  += decoder/ih264d_process_bslice.c
     48 libavcd_srcs_c  += decoder/ih264d_process_pslice.c
     49 libavcd_srcs_c  += decoder/ih264d_parse_slice.c
     50 libavcd_srcs_c  += decoder/ih264d_quant_scaling.c
     51 libavcd_srcs_c  += decoder/ih264d_parse_cavlc.c
     52 libavcd_srcs_c  += decoder/ih264d_dpb_mgr.c
     53 libavcd_srcs_c  += decoder/ih264d_nal.c
     54 libavcd_srcs_c  += decoder/ih264d_sei.c
     55 libavcd_srcs_c  += decoder/ih264d_tables.c
     56 libavcd_srcs_c  += decoder/ih264d_vui.c
     57 libavcd_srcs_c  += decoder/ih264d_format_conv.c
     58 libavcd_srcs_c  += decoder/ih264d_thread_parse_decode.c
     59 libavcd_srcs_c  += decoder/ih264d_api.c
     60 libavcd_srcs_c  += decoder/ih264d_thread_compute_bs.c
     61 libavcd_srcs_c  += decoder/ih264d_function_selector_generic.c
     62 
     63 
     64 LOCAL_SRC_FILES := $(libavcd_srcs_c) $(libavcd_srcs_asm)
     65 
     66 
     67 # Load the arch-specific settings
     68 include $(LOCAL_PATH)/decoder.arm.mk
     69 include $(LOCAL_PATH)/decoder.arm64.mk
     70 include $(LOCAL_PATH)/decoder.x86.mk
     71 include $(LOCAL_PATH)/decoder.x86_64.mk
     72 include $(LOCAL_PATH)/decoder.mips.mk
     73 include $(LOCAL_PATH)/decoder.mips64.mk
     74 
     75 include $(BUILD_STATIC_LIBRARY)
     76