forked from OtherCrashOverride/c2_vpcodec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
47 lines (38 loc) · 1.15 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
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
libvpcodec.cpp
LOCAL_SRC_FILES += AML_HWEncoder.cpp \
enc_api.cpp \
enc/common/fill_buffer.cpp \
enc/m8_enc_fast/rate_control_m8_fast.cpp \
enc/m8_enc_fast/m8venclib_fast.cpp \
enc/m8_enc/dump.cpp \
enc/m8_enc/m8venclib.cpp \
enc/m8_enc/rate_control_m8.cpp \
enc/m8_enc/noise_reduction.cpp \
decoder/decoder.c \
decoder/amlv4l.c \
decoder/amvideo.c \
enc/gx_enc_fast/gxvenclib_fast.cpp \
enc/gx_enc_fast/rate_control_gx_fast.cpp \
enc/gx_enc_fast/parser.cpp
LOCAL_SRC_FILES += enc/intra_search/pred.cpp \
enc/intra_search/pred_neon_asm.s
ifneq (,$(wildcard vendor/amlogic/frameworks/av/LibPlayer))
LIBPLAYER_DIR:=$(TOP)/vendor/amlogic/frameworks/av/LibPlayer
else
LIBPLAYER_DIR:=$(TOP)/packages/amlogic/LibPlayer
endif
LOCAL_SHARED_LIBRARIES += libcutils \
libion \
libamplayer
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include \
$(LIBPLAYER_DIR)/amcodec/include \
$(TOP)/hardware/amlogic/gralloc \
$(LOCAL_PATH)/decoder
LOCAL_ARM_MODE := arm
LOCAL_MODULE:= libvpcodec
LOCAL_MODULE_TAGS := optional
LOCAL_PRELINK_MODULE := false
include $(BUILD_SHARED_LIBRARY)