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 | |
| 12 | MY_LIBVPX_DEC_SRC = \ |
| 13 | vpx/src/vpx_codec.c \ |
| 14 | vpx/src/vpx_decoder.c \ |
| 15 | vpx/src/vpx_image.c \ |
| 16 | vpx_mem/vpx_mem.c \ |
| 17 | vpx_scale/generic/vpxscale.c \ |
| 18 | vpx_scale/generic/yv12config.c \ |
| 19 | vpx_scale/generic/yv12extend.c \ |
| 20 | vpx_scale/generic/gen_scalers.c \ |
| 21 | vpx_scale/generic/scalesystemdependant.c \ |
| 22 | vp8/common/alloccommon.c \ |
| 23 | vp8/common/blockd.c \ |
| 24 | vp8/common/debugmodes.c \ |
| 25 | vp8/common/entropy.c \ |
| 26 | vp8/common/entropymode.c \ |
| 27 | vp8/common/entropymv.c \ |
| 28 | vp8/common/extend.c \ |
| 29 | vp8/common/filter.c \ |
| 30 | vp8/common/findnearmv.c \ |
| 31 | vp8/common/generic/systemdependent.c \ |
| 32 | vp8/common/idctllm.c \ |
| 33 | vp8/common/invtrans.c \ |
| 34 | vp8/common/loopfilter.c \ |
| 35 | vp8/common/loopfilter_filters.c \ |
| 36 | vp8/common/mbpitch.c \ |
| 37 | vp8/common/modecont.c \ |
| 38 | vp8/common/modecontext.c \ |
| 39 | vp8/common/quant_common.c \ |
| 40 | vp8/common/recon.c \ |
| 41 | vp8/common/reconinter.c \ |
| 42 | vp8/common/reconintra.c \ |
| 43 | vp8/common/reconintra4x4.c \ |
| 44 | vp8/common/setupintrarecon.c \ |
| 45 | vp8/common/swapyv12buffer.c \ |
| 46 | vp8/common/textblit.c \ |
| 47 | vp8/common/treecoder.c \ |
| 48 | vp8/vp8_cx_iface.c \ |
| 49 | vp8/vp8_dx_iface.c \ |
| 50 | vp8/decoder/generic/dsystemdependent.c \ |
| 51 | vp8/decoder/dboolhuff.c \ |
| 52 | vp8/decoder/decodemv.c \ |
| 53 | vp8/decoder/decodframe.c \ |
| 54 | vp8/decoder/dequantize.c \ |
| 55 | vp8/decoder/detokenize.c \ |
| 56 | vp8/decoder/onyxd_if.c \ |
| 57 | vp8/decoder/reconintra_mt.c \ |
| 58 | vp8/decoder/threading.c \ |
| 59 | vpx_config.c \ |
| 60 | vp8/decoder/idct_blk.c |
| 61 | |
| 62 | MY_LIBVPX_ENC_PATH = ../libvpx |
| 63 | |
| 64 | LOCAL_SRC_FILES = \ |
| 65 | $(MY_LIBVPX_ENC_PATH)/vpx/src/vpx_encoder.c \ |
| 66 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/bitstream.c \ |
| 67 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/boolhuff.c \ |
| 68 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/dct.c \ |
| 69 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/encodeframe.c \ |
| 70 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/encodeintra.c \ |
| 71 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/encodemb.c \ |
| 72 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/encodemv.c \ |
| 73 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/ethreading.c \ |
| 74 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/firstpass.c \ |
| 75 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/arm/arm_csystemdependent.c \ |
| 76 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/mcomp.c \ |
| 77 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/modecosts.c \ |
| 78 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/pickinter.c \ |
| 79 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/picklpf.c \ |
| 80 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/psnr.c \ |
| 81 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/quantize.c \ |
| 82 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/ratectrl.c \ |
| 83 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/rdopt.c \ |
| 84 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/sad_c.c \ |
| 85 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/segmentation.c \ |
| 86 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/tokenize.c \ |
| 87 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/treewriter.c \ |
| 88 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/onyx_if.c \ |
| 89 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/temporal_filter.c \ |
| 90 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/arm/variance_arm.c \ |
| 91 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/arm/variance_arm.h \ |
| 92 | $(MY_LIBVPX_ENC_PATH)/vp8/encoder/variance_c.c |
| 93 | |
| 94 | # $(MY_LIBVPX_ENC_PATH)/vp8/encoder/generic/csystemdependent.c |
| 95 | # $(MY_LIBVPX_ENC_PATH)/vp8/encoder/variance_c.c |
| 96 | # $(MY_LIBVPX_ENC_PATH)/vp8/decoder/idct_blk.c \ |
| 97 | # md5_utils.c |
| 98 | # args.c \ |
| 99 | # tools_common.c \ |
| 100 | # nestegg/halloc/src/halloc.c \ |
| 101 | # nestegg/src/nestegg.c \ |
| 102 | # vpxdec.c \ |
| 103 | # y4minput.c \ |
| 104 | # libmkv/EbmlWriter.c \ |
| 105 | # vpxenc.c \ |
| 106 | # simple_decoder.c \ |
| 107 | # postproc.c \ |
| 108 | # decode_to_md5.c \ |
| 109 | # simple_encoder.c \ |
| 110 | # twopass_encoder.c \ |
| 111 | # force_keyframe.c \ |
| 112 | # decode_with_drops.c \ |
| 113 | # error_resilient.c \ |
| 114 | # vp8_scalable_patterns.c \ |
| 115 | # vp8_set_maps.c \ |
| 116 | # vp8cx_set_ref.c |
| 117 | |
| 118 | LOCAL_CFLAGS := \ |
| 119 | -DHAVE_CONFIG_H=vpx_config.h \ |
| 120 | -include $(LOCAL_PATH)/third_party_mods/libvpx/source/config/android/vpx_config.h |
| 121 | |
| 122 | LOCAL_MODULE := libwebrtc_vpx_enc |
| 123 | |
| 124 | LOCAL_C_INCLUDES := \ |
| 125 | external/libvpx \ |
| 126 | external/libvpx/vpx_ports \ |
| 127 | external/libvpx/vp8/common \ |
| 128 | external/libvpx/vp8/encoder \ |
| 129 | external/libvpx/vp8 \ |
| 130 | external/libvpx/vpx_codec |
| 131 | |
| 132 | include $(BUILD_STATIC_LIBRARY) |