| OLD | NEW |
| 1 ## | 1 ## |
| 2 ## Copyright (c) 2012 The WebM project authors. All Rights Reserved. | 2 ## Copyright (c) 2012 The WebM project authors. All Rights Reserved. |
| 3 ## | 3 ## |
| 4 ## Use of this source code is governed by a BSD-style license | 4 ## Use of this source code is governed by a BSD-style license |
| 5 ## that can be found in the LICENSE file in the root of the source | 5 ## that can be found in the LICENSE file in the root of the source |
| 6 ## tree. An additional intellectual property rights grant can be found | 6 ## tree. An additional intellectual property rights grant can be found |
| 7 ## in the file PATENTS. All contributing project authors may | 7 ## in the file PATENTS. All contributing project authors may |
| 8 ## be found in the AUTHORS file in the root of the source tree. | 8 ## be found in the AUTHORS file in the root of the source tree. |
| 9 ## | 9 ## |
| 10 | 10 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 TGT_ISA:=$(word 1, $(subst -, ,$(TOOLCHAIN))) | 128 TGT_ISA:=$(word 1, $(subst -, ,$(TOOLCHAIN))) |
| 129 target := libs | 129 target := libs |
| 130 | 130 |
| 131 LOCAL_SRC_FILES += vpx_config.c | 131 LOCAL_SRC_FILES += vpx_config.c |
| 132 | 132 |
| 133 # Remove duplicate entries | 133 # Remove duplicate entries |
| 134 CODEC_SRCS_UNIQUE = $(sort $(CODEC_SRCS)) | 134 CODEC_SRCS_UNIQUE = $(sort $(CODEC_SRCS)) |
| 135 | 135 |
| 136 # Pull out C files. vpx_config.c is in the immediate directory and | 136 # Pull out C files. vpx_config.c is in the immediate directory and |
| 137 # so it does not need libvpx/ prefixed like the rest of the source files. | 137 # so it does not need libvpx/ prefixed like the rest of the source files. |
| 138 # The neon files with intrinsics need to have .neon appended so the proper |
| 139 # flags are applied. |
| 138 CODEC_SRCS_C = $(filter %.c, $(CODEC_SRCS_UNIQUE)) | 140 CODEC_SRCS_C = $(filter %.c, $(CODEC_SRCS_UNIQUE)) |
| 139 LOCAL_CODEC_SRCS_C = $(filter-out vpx_config.c, $(CODEC_SRCS_C)) | 141 LOCAL_NEON_SRCS_C = $(filter %_neon.c, $(CODEC_SRCS_C)) |
| 142 LOCAL_CODEC_SRCS_C = $(filter-out vpx_config.c %_neon.c, $(CODEC_SRCS_C)) |
| 140 | 143 |
| 141 LOCAL_SRC_FILES += $(foreach file, $(LOCAL_CODEC_SRCS_C), libvpx/$(file)) | 144 LOCAL_SRC_FILES += $(foreach file, $(LOCAL_CODEC_SRCS_C), libvpx/$(file)) |
| 145 LOCAL_SRC_FILES += $(foreach file, $(LOCAL_NEON_SRCS_C), libvpx/$(file).neon) |
| 142 | 146 |
| 143 # Pull out assembly files, splitting NEON from the rest. This is | 147 # Pull out assembly files, splitting NEON from the rest. This is |
| 144 # done to specify that the NEON assembly files use NEON assembler flags. | 148 # done to specify that the NEON assembly files use NEON assembler flags. |
| 145 CODEC_SRCS_ASM_ALL = $(filter %.asm.s, $(CODEC_SRCS_UNIQUE)) | 149 CODEC_SRCS_ASM_ALL = $(filter %.asm.s, $(CODEC_SRCS_UNIQUE)) |
| 146 CODEC_SRCS_ASM = $(foreach v, \ | 150 CODEC_SRCS_ASM = $(foreach v, \ |
| 147 $(CODEC_SRCS_ASM_ALL), \ | 151 $(CODEC_SRCS_ASM_ALL), \ |
| 148 $(if $(findstring neon,$(v)),,$(v))) | 152 $(if $(findstring neon,$(v)),,$(v))) |
| 149 CODEC_SRCS_ASM_ADS2GAS = $(patsubst %.s, \ | 153 CODEC_SRCS_ASM_ADS2GAS = $(patsubst %.s, \ |
| 150 $(ASM_CNV_PATH_LOCAL)/libvpx/%.s, \ | 154 $(ASM_CNV_PATH_LOCAL)/libvpx/%.s, \ |
| 151 $(CODEC_SRCS_ASM)) | 155 $(CODEC_SRCS_ASM)) |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 | 207 |
| 204 ifeq ($(CONFIG_VP8_ENCODER), yes) | 208 ifeq ($(CONFIG_VP8_ENCODER), yes) |
| 205 $(eval $(call asm_offsets_template,\ | 209 $(eval $(call asm_offsets_template,\ |
| 206 $(ASM_CNV_PATH)/vp8_asm_enc_offsets.asm, \ | 210 $(ASM_CNV_PATH)/vp8_asm_enc_offsets.asm, \ |
| 207 $(LIBVPX_PATH)/vp8/encoder/vp8_asm_enc_offsets.c)) | 211 $(LIBVPX_PATH)/vp8/encoder/vp8_asm_enc_offsets.c)) |
| 208 endif | 212 endif |
| 209 | 213 |
| 210 ifeq ($(CONFIG_RUNTIME_CPU_DETECT),yes) | 214 ifeq ($(CONFIG_RUNTIME_CPU_DETECT),yes) |
| 211 $(call import-module,cpufeatures) | 215 $(call import-module,cpufeatures) |
| 212 endif | 216 endif |
| OLD | NEW |