Home | History | Annotate | Download | only in libmpeg2
      1 libmpeg2d_cflags_arm64 += -DARMV8
      2 libmpeg2d_cflags_arm64 += -DDISABLE_NEONINTR  -DARM -DARMGCC
      3 
      4 libmpeg2d_inc_dir_arm64   +=  $(LOCAL_PATH)/decoder/arm
      5 libmpeg2d_inc_dir_arm64   +=  $(LOCAL_PATH)/common/armv8
      6 
      7 libmpeg2d_srcs_c_arm64    +=  decoder/arm/impeg2d_function_selector.c
      8 
      9 ifeq ($(ARCH_ARM_HAVE_NEON),true)
     10 libmpeg2d_srcs_c_arm64      +=  decoder/arm/impeg2d_function_selector_av8.c
     11 
     12 libmpeg2d_srcs_asm_arm64    +=  common/armv8/impeg2_neon_macros.s
     13 libmpeg2d_srcs_asm_arm64    +=  common/armv8/impeg2_format_conv.s
     14 libmpeg2d_srcs_asm_arm64    +=  common/armv8/impeg2_idct.s
     15 libmpeg2d_srcs_asm_arm64    +=  common/armv8/impeg2_inter_pred.s
     16 libmpeg2d_srcs_asm_arm64    +=  common/armv8/impeg2_mem_func.s
     17 libmpeg2d_cflags_arm += -DDEFAULT_ARCH=D_ARCH_ARMV8_GENERIC
     18 else
     19 libmpeg2d_cflags_arm64 += -DDISABLE_NEON -DDEFAULT_ARCH=D_ARCH_ARM_NONEON
     20 endif
     21 
     22 
     23 
     24 
     25 LOCAL_SRC_FILES_arm64 += $(libmpeg2d_srcs_c_arm64) $(libmpeg2d_srcs_asm_arm64)
     26 LOCAL_C_INCLUDES_arm64 += $(libmpeg2d_inc_dir_arm64)
     27 LOCAL_CFLAGS_arm64 += $(libmpeg2d_cflags_arm64)
     28 
     29 # CLANG WORKAROUNDS
     30 LOCAL_CLANG_ASFLAGS_arm64 += -no-integrated-as
     31 LOCAL_CLANG_ASFLAGS_arm64 += $(addprefix -Wa$(comma)-I,$(libmpeg2d_inc_dir_arm64))
     32