forked from OpenHEVC/openHEVC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
139 lines (136 loc) · 3.77 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
APP_STL := gnustl_static
APP_ABI := armeabi
APP_OPTIM := debug
LOCAL_ARM_MODE := arm
#LOCAL_CFLAGS := -I <Your header files goes here>
LOCAL_CFLAGS += -g
LOCAL_CFLAGS += -ggdb
LOCAL_CFLAGS += -O1
openhevc_files := \
libavutil/avstring.c \
libavutil/atomic.c \
libavutil/base64.c \
libavutil/bprint.c \
libavutil/buffer.c \
libavutil/channel_layout.c \
libavutil/cpu.c \
libavutil/crc.c \
libavutil/des.c \
libavutil/dict.c \
libavutil/error.c \
libavutil/eval.c \
libavutil/file_open.c \
libavutil/frame.c \
libavutil/imgutils.c \
libavutil/intmath.c \
libavutil/log.c \
libavutil/log2_tab.c \
libavutil/mathematics.c \
libavutil/md5.c \
libavutil/mem.c \
libavutil/opt.c \
libavutil/parseutils.c \
libavutil/pixdesc.c \
libavutil/rational.c \
libavutil/random_seed.c \
libavutil/rc4.c \
libavutil/samplefmt.c \
libavutil/sha.c \
libavutil/time.c \
libavutil/timecode.c \
libavutil/utils.c \
libavutil/arm/cpu.c \
gpac/modules/openhevc_dec/openHevcWrapper.c \
libavformat/allformats.c \
libavformat/avio.c \
libavformat/aviobuf.c \
libavformat/cutils.c \
libavformat/file.c \
libavformat/format.c \
libavformat/id3v1.c \
libavformat/id3v2.c \
libavformat/isom.c \
libavformat/hevcdec.c \
libavformat/matroska.c \
libavformat/matroskadec.c \
libavformat/metadata.c \
libavformat/mov.c \
libavformat/mov_chan.c \
libavformat/mpegts.c \
libavformat/mux.c \
libavformat/options.c \
libavformat/os_support.c \
libavformat/rawdec.c \
libavformat/riffdec.c \
libavformat/riff.c \
libavformat/rmsipr.c \
libavformat/utils.c \
libavcodec/arm/videodsp_init_arm.c \
libavcodec/ac3tab.c \
libavcodec/allcodecs.c \
libavcodec/avfft.c \
libavcodec/avpacket.c \
libavcodec/avpicture.c \
libavcodec/bitstream.c \
libavcodec/bitstream_filter.c \
libavcodec/bswapdsp.c \
libavcodec/cabac.c \
libavcodec/codec_desc.c \
libavcodec/dct.c \
libavcodec/dct32_float.c \
libavcodec/dct32_template.c \
libavcodec/faanidct.c \
libavcodec/fft_template.c \
libavcodec/golomb.c \
libavcodec/hevc_cabac.c \
libavcodec/hevc_mvs.c \
libavcodec/hevc_parser.c \
libavcodec/hevc_ps.c \
libavcodec/hevc_refs.c \
libavcodec/hevc_sei.c \
libavcodec/hevc_filter.c \
libavcodec/hevc.c \
libavcodec/hevcdsp.c \
libavcodec/hevcpred.c \
libavcodec/hpeldsp.c \
libavcodec/jrevdct.c \
libavcodec/mathtables.c \
libavcodec/me_cmp.c \
libavcodec/mdct_template.c \
libavcodec/mpegaudiodata.c \
libavcodec/mpeg4audio.c \
libavcodec/imgconvert.c \
libavcodec/options.c \
libavcodec/parser.c \
libavcodec/pthread_slice.c \
libavcodec/pthread_frame.c \
libavcodec/pthread.c \
libavcodec/raw.c \
libavcodec/rawdec.c \
libavcodec/rdft.c \
libavcodec/simple_idct.c \
libavcodec/utils.c \
libavcodec/videodsp.c \
libavcodec/arm/hevcdsp_init_arm.c \
libavutil/arm/asm.S \
libavcodec/arm/hevcdsp_deblock_neon.S \
libavcodec/arm/hevcdsp_idct_neon.S \
libavcodec/arm/hevcdsp_qpel_neon.S \
libavcodec/arm/hevcdsp_epel_neon.S \
libavcodec/arm/simple_idct_neon.S \
libavcodec/arm/simple_idct_arm.S \
libavcodec/arm/simple_idct_armv6.S \
libavcodec/arm/jrevdct_arm.S \
libavcodec/arm/int_neon.S \
main_hm/getopt.c \
main_hm/main.c
LOCAL_SRC_FILES := $(openhevc_files)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/platform/arm/ \
$(LOCAL_PATH)/gpac/modules/openhevc_dec/
LOCAL_MODULE := openhevc
ifeq ($(TARGET_ARCH),arm)
LOCAL_SDK_VERSION := 9
endif
include $(BUILD_EXECUTABLE)