2013-12-10 09:19:42 +01:00
|
|
|
DECODER_SRCDIR=codec/decoder
|
|
|
|
DECODER_CPP_SRCS=\
|
2014-01-24 13:35:38 +01:00
|
|
|
$(DECODER_SRCDIR)/core/src/au_parser.cpp\
|
|
|
|
$(DECODER_SRCDIR)/core/src/bit_stream.cpp\
|
2014-09-28 05:21:14 +02:00
|
|
|
$(DECODER_SRCDIR)/core/src/cabac_decoder.cpp\
|
2014-01-24 13:35:38 +01:00
|
|
|
$(DECODER_SRCDIR)/core/src/deblocking.cpp\
|
|
|
|
$(DECODER_SRCDIR)/core/src/decode_mb_aux.cpp\
|
|
|
|
$(DECODER_SRCDIR)/core/src/decode_slice.cpp\
|
|
|
|
$(DECODER_SRCDIR)/core/src/decoder.cpp\
|
|
|
|
$(DECODER_SRCDIR)/core/src/decoder_core.cpp\
|
|
|
|
$(DECODER_SRCDIR)/core/src/decoder_data_tables.cpp\
|
2014-04-17 04:43:10 +02:00
|
|
|
$(DECODER_SRCDIR)/core/src/error_concealment.cpp\
|
2014-01-24 13:35:38 +01:00
|
|
|
$(DECODER_SRCDIR)/core/src/fmo.cpp\
|
|
|
|
$(DECODER_SRCDIR)/core/src/get_intra_predictor.cpp\
|
|
|
|
$(DECODER_SRCDIR)/core/src/manage_dec_ref.cpp\
|
|
|
|
$(DECODER_SRCDIR)/core/src/memmgr_nal_unit.cpp\
|
|
|
|
$(DECODER_SRCDIR)/core/src/mv_pred.cpp\
|
2014-09-28 05:21:14 +02:00
|
|
|
$(DECODER_SRCDIR)/core/src/parse_mb_syn_cabac.cpp\
|
2014-01-24 13:35:38 +01:00
|
|
|
$(DECODER_SRCDIR)/core/src/parse_mb_syn_cavlc.cpp\
|
|
|
|
$(DECODER_SRCDIR)/core/src/pic_queue.cpp\
|
|
|
|
$(DECODER_SRCDIR)/core/src/rec_mb.cpp\
|
|
|
|
$(DECODER_SRCDIR)/plus/src/welsDecoderExt.cpp\
|
2013-12-10 09:19:42 +01:00
|
|
|
|
2014-03-18 10:21:46 +01:00
|
|
|
DECODER_OBJS += $(DECODER_CPP_SRCS:.cpp=.$(OBJ))
|
2014-02-12 21:11:05 +01:00
|
|
|
|
2013-12-10 09:19:42 +01:00
|
|
|
DECODER_ASM_SRCS=\
|
2014-03-18 14:59:42 +01:00
|
|
|
$(DECODER_SRCDIR)/core/x86/dct.asm\
|
|
|
|
$(DECODER_SRCDIR)/core/x86/intra_pred.asm\
|
2013-12-10 09:19:42 +01:00
|
|
|
|
2014-09-12 04:25:46 +02:00
|
|
|
DECODER_OBJSASM += $(DECODER_ASM_SRCS:.asm=.$(OBJ))
|
|
|
|
ifeq ($(ASM_ARCH), x86)
|
|
|
|
DECODER_OBJS += $(DECODER_OBJSASM)
|
2013-12-10 09:19:42 +01:00
|
|
|
endif
|
2014-09-12 04:25:46 +02:00
|
|
|
OBJS += $(DECODER_OBJSASM)
|
2013-12-10 09:19:42 +01:00
|
|
|
|
2014-04-23 09:44:44 +02:00
|
|
|
DECODER_ASM_ARM_SRCS=\
|
2014-02-26 13:31:52 +01:00
|
|
|
$(DECODER_SRCDIR)/core/arm/block_add_neon.S\
|
|
|
|
$(DECODER_SRCDIR)/core/arm/intra_pred_neon.S\
|
|
|
|
|
2014-09-12 04:25:46 +02:00
|
|
|
DECODER_OBJSARM += $(DECODER_ASM_ARM_SRCS:.S=.$(OBJ))
|
|
|
|
ifeq ($(ASM_ARCH), arm)
|
|
|
|
DECODER_OBJS += $(DECODER_OBJSARM)
|
2014-02-26 13:31:52 +01:00
|
|
|
endif
|
2014-09-12 04:25:46 +02:00
|
|
|
OBJS += $(DECODER_OBJSARM)
|
2014-02-26 13:31:52 +01:00
|
|
|
|
2014-06-13 09:21:48 +02:00
|
|
|
DECODER_ASM_ARM64_SRCS=\
|
2014-07-21 06:19:43 +02:00
|
|
|
$(DECODER_SRCDIR)/core/arm64/block_add_aarch64_neon.S\
|
2014-06-13 09:21:48 +02:00
|
|
|
$(DECODER_SRCDIR)/core/arm64/intra_pred_aarch64_neon.S\
|
|
|
|
|
2014-09-12 04:25:46 +02:00
|
|
|
DECODER_OBJSARM64 += $(DECODER_ASM_ARM64_SRCS:.S=.$(OBJ))
|
|
|
|
ifeq ($(ASM_ARCH), arm64)
|
|
|
|
DECODER_OBJS += $(DECODER_OBJSARM64)
|
2014-06-13 09:21:48 +02:00
|
|
|
endif
|
2014-09-12 04:25:46 +02:00
|
|
|
OBJS += $(DECODER_OBJSARM64)
|
2014-06-13 09:21:48 +02:00
|
|
|
|
2013-12-10 09:19:42 +01:00
|
|
|
OBJS += $(DECODER_OBJS)
|
2014-09-12 04:25:46 +02:00
|
|
|
|
2014-03-18 10:21:46 +01:00
|
|
|
$(DECODER_SRCDIR)/%.$(OBJ): $(DECODER_SRCDIR)/%.cpp
|
2014-01-30 10:32:51 +01:00
|
|
|
$(QUIET_CXX)$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCLUDES) $(DECODER_CFLAGS) $(DECODER_INCLUDES) -c $(CXX_O) $<
|
2013-12-10 09:19:42 +01:00
|
|
|
|
2014-03-18 10:21:46 +01:00
|
|
|
$(DECODER_SRCDIR)/%.$(OBJ): $(DECODER_SRCDIR)/%.asm
|
2014-01-30 10:32:51 +01:00
|
|
|
$(QUIET_ASM)$(ASM) $(ASMFLAGS) $(ASM_INCLUDES) $(DECODER_ASMFLAGS) $(DECODER_ASM_INCLUDES) -o $@ $<
|
2013-12-10 11:57:32 +01:00
|
|
|
|
2014-03-18 10:21:46 +01:00
|
|
|
$(DECODER_SRCDIR)/%.$(OBJ): $(DECODER_SRCDIR)/%.S
|
2014-05-08 13:02:53 +02:00
|
|
|
$(QUIET_CCAS)$(CCAS) $(CCASFLAGS) $(ASMFLAGS) $(INCLUDES) $(DECODER_CFLAGS) $(DECODER_INCLUDES) -c -o $@ $<
|
2014-02-26 13:31:52 +01:00
|
|
|
|
2013-12-10 09:19:42 +01:00
|
|
|
$(LIBPREFIX)decoder.$(LIBSUFFIX): $(DECODER_OBJS)
|
2014-01-30 10:32:51 +01:00
|
|
|
$(QUIET)rm -f $@
|
|
|
|
$(QUIET_AR)$(AR) $(AR_OPTS) $+
|
2013-12-10 09:19:42 +01:00
|
|
|
|
|
|
|
libraries: $(LIBPREFIX)decoder.$(LIBSUFFIX)
|
|
|
|
LIBRARIES += $(LIBPREFIX)decoder.$(LIBSUFFIX)
|