niklase@google.com | da159d6 | 2011-05-30 11:51:34 +0000 | [diff] [blame] | 1 | # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license |
| 4 | # that can be found in the LICENSE file in the root of the source |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | |
| 9 | LOCAL_PATH := $(call my-dir) |
| 10 | include $(CLEAR_VARS) |
| 11 | |
leozwang@google.com | 0b0c28c | 2011-06-07 17:24:39 +0000 | [diff] [blame] | 12 | MY_LIBVPX_PATH = ../libvpx |
niklase@google.com | da159d6 | 2011-05-30 11:51:34 +0000 | [diff] [blame] | 13 | |
| 14 | LOCAL_SRC_FILES = \ |
leozwang@google.com | 0b0c28c | 2011-06-07 17:24:39 +0000 | [diff] [blame] | 15 | $(MY_LIBVPX_PATH)/vp8/common/alloccommon.c \ |
| 16 | $(MY_LIBVPX_PATH)/vp8/common/blockd.c \ |
| 17 | $(MY_LIBVPX_PATH)/vp8/common/debugmodes.c \ |
| 18 | $(MY_LIBVPX_PATH)/vp8/common/entropy.c \ |
| 19 | $(MY_LIBVPX_PATH)/vp8/common/entropymode.c \ |
| 20 | $(MY_LIBVPX_PATH)/vp8/common/entropymv.c \ |
| 21 | $(MY_LIBVPX_PATH)/vp8/common/extend.c \ |
| 22 | $(MY_LIBVPX_PATH)/vp8/common/filter.c \ |
| 23 | $(MY_LIBVPX_PATH)/vp8/common/findnearmv.c \ |
| 24 | $(MY_LIBVPX_PATH)/vp8/common/generic/systemdependent.c \ |
| 25 | $(MY_LIBVPX_PATH)/vp8/common/idctllm.c \ |
| 26 | $(MY_LIBVPX_PATH)/vp8/common/invtrans.c \ |
| 27 | $(MY_LIBVPX_PATH)/vp8/common/loopfilter.c \ |
| 28 | $(MY_LIBVPX_PATH)/vp8/common/loopfilter_filters.c \ |
| 29 | $(MY_LIBVPX_PATH)/vp8/common/mbpitch.c \ |
| 30 | $(MY_LIBVPX_PATH)/vp8/common/modecont.c \ |
| 31 | $(MY_LIBVPX_PATH)/vp8/common/modecontext.c \ |
| 32 | $(MY_LIBVPX_PATH)/vp8/common/quant_common.c \ |
| 33 | $(MY_LIBVPX_PATH)/vp8/common/recon.c \ |
| 34 | $(MY_LIBVPX_PATH)/vp8/common/reconinter.c \ |
| 35 | $(MY_LIBVPX_PATH)/vp8/common/reconintra.c \ |
| 36 | $(MY_LIBVPX_PATH)/vp8/common/reconintra4x4.c \ |
| 37 | $(MY_LIBVPX_PATH)/vp8/common/setupintrarecon.c \ |
| 38 | $(MY_LIBVPX_PATH)/vp8/common/swapyv12buffer.c \ |
| 39 | $(MY_LIBVPX_PATH)/vp8/common/textblit.c \ |
| 40 | $(MY_LIBVPX_PATH)/vp8/common/treecoder.c \ |
| 41 | $(MY_LIBVPX_PATH)/vp8/vp8_cx_iface.c \ |
| 42 | $(MY_LIBVPX_PATH)/vp8/vp8_dx_iface.c \ |
| 43 | $(MY_LIBVPX_PATH)/vpx_config.c \ |
| 44 | $(MY_LIBVPX_PATH)/vpx/src/vpx_codec.c \ |
| 45 | $(MY_LIBVPX_PATH)/vpx/src/vpx_decoder.c \ |
| 46 | $(MY_LIBVPX_PATH)/vpx/src/vpx_image.c \ |
| 47 | $(MY_LIBVPX_PATH)/vpx_mem/vpx_mem.c \ |
| 48 | $(MY_LIBVPX_PATH)/vpx_scale/generic/vpxscale.c \ |
| 49 | $(MY_LIBVPX_PATH)/vpx_scale/generic/yv12config.c \ |
| 50 | $(MY_LIBVPX_PATH)/vpx_scale/generic/yv12extend.c \ |
| 51 | $(MY_LIBVPX_PATH)/vpx_scale/generic/gen_scalers.c \ |
| 52 | $(MY_LIBVPX_PATH)/vpx_scale/generic/scalesystemdependent.c \ |
| 53 | $(MY_LIBVPX_PATH)/vpx/src/vpx_encoder.c \ |
| 54 | $(MY_LIBVPX_PATH)/vp8/encoder/bitstream.c \ |
| 55 | $(MY_LIBVPX_PATH)/vp8/encoder/boolhuff.c \ |
| 56 | $(MY_LIBVPX_PATH)/vp8/encoder/dct.c \ |
| 57 | $(MY_LIBVPX_PATH)/vp8/encoder/encodeframe.c \ |
| 58 | $(MY_LIBVPX_PATH)/vp8/encoder/encodeintra.c \ |
| 59 | $(MY_LIBVPX_PATH)/vp8/encoder/encodemb.c \ |
| 60 | $(MY_LIBVPX_PATH)/vp8/encoder/encodemv.c \ |
| 61 | $(MY_LIBVPX_PATH)/vp8/encoder/ethreading.c \ |
| 62 | $(MY_LIBVPX_PATH)/vp8/encoder/firstpass.c \ |
| 63 | $(MY_LIBVPX_PATH)/vp8/encoder/generic/csystemdependent.c \ |
| 64 | $(MY_LIBVPX_PATH)/vp8/encoder/mcomp.c \ |
| 65 | $(MY_LIBVPX_PATH)/vp8/encoder/modecosts.c \ |
| 66 | $(MY_LIBVPX_PATH)/vp8/encoder/pickinter.c \ |
| 67 | $(MY_LIBVPX_PATH)/vp8/encoder/picklpf.c \ |
| 68 | $(MY_LIBVPX_PATH)/vp8/encoder/psnr.c \ |
| 69 | $(MY_LIBVPX_PATH)/vp8/encoder/quantize.c \ |
| 70 | $(MY_LIBVPX_PATH)/vp8/encoder/ratectrl.c \ |
| 71 | $(MY_LIBVPX_PATH)/vp8/encoder/rdopt.c \ |
| 72 | $(MY_LIBVPX_PATH)/vp8/encoder/sad_c.c \ |
| 73 | $(MY_LIBVPX_PATH)/vp8/encoder/segmentation.c \ |
| 74 | $(MY_LIBVPX_PATH)/vp8/encoder/tokenize.c \ |
| 75 | $(MY_LIBVPX_PATH)/vp8/encoder/treewriter.c \ |
| 76 | $(MY_LIBVPX_PATH)/vp8/encoder/onyx_if.c \ |
| 77 | $(MY_LIBVPX_PATH)/vp8/encoder/temporal_filter.c \ |
| 78 | $(MY_LIBVPX_PATH)/vp8/encoder/variance_c.c \ |
| 79 | $(MY_LIBVPX_PATH)/vp8/decoder/dboolhuff.c \ |
| 80 | $(MY_LIBVPX_PATH)/vp8/decoder/decodemv.c \ |
| 81 | $(MY_LIBVPX_PATH)/vp8/decoder/decodframe.c \ |
| 82 | $(MY_LIBVPX_PATH)/vp8/decoder/dequantize.c \ |
| 83 | $(MY_LIBVPX_PATH)/vp8/decoder/detokenize.c \ |
| 84 | $(MY_LIBVPX_PATH)/vp8/decoder/generic/dsystemdependent.c \ |
| 85 | $(MY_LIBVPX_PATH)/vp8/decoder/onyxd_if.c \ |
| 86 | $(MY_LIBVPX_PATH)/vp8/decoder/reconintra_mt.c \ |
| 87 | $(MY_LIBVPX_PATH)/vp8/decoder/threading.c \ |
| 88 | $(MY_LIBVPX_PATH)/vp8/decoder/idct_blk.c \ |
| 89 | $(MY_LIBVPX_PATH)/vp8/common/arm/arm_systemdependent.c \ |
| 90 | $(MY_LIBVPX_PATH)/vp8/encoder/arm/arm_csystemdependent.c \ |
| 91 | $(MY_LIBVPX_PATH)/vp8/decoder/arm/arm_dsystemdependent.c \ |
niklase@google.com | da159d6 | 2011-05-30 11:51:34 +0000 | [diff] [blame] | 92 | |
| 93 | LOCAL_CFLAGS := \ |
leozwang@google.com | f97b680 | 2011-07-13 17:49:49 +0000 | [diff] [blame] | 94 | -DHAVE_CONFIG_H=vpx_config.h \ |
| 95 | -include $(LOCAL_PATH)/third_party/libvpx/source/config/android/vpx_config.h |
niklase@google.com | da159d6 | 2011-05-30 11:51:34 +0000 | [diff] [blame] | 96 | |
leozwang@google.com | 0b0c28c | 2011-06-07 17:24:39 +0000 | [diff] [blame] | 97 | LOCAL_MODULE := libwebrtc_vpx |
niklase@google.com | da159d6 | 2011-05-30 11:51:34 +0000 | [diff] [blame] | 98 | |
| 99 | LOCAL_C_INCLUDES := \ |
| 100 | external/libvpx \ |
| 101 | external/libvpx/vpx_ports \ |
| 102 | external/libvpx/vp8/common \ |
| 103 | external/libvpx/vp8/encoder \ |
| 104 | external/libvpx/vp8 \ |
| 105 | external/libvpx/vpx_codec |
| 106 | |
| 107 | include $(BUILD_STATIC_LIBRARY) |