diff options
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2014-05-16 10:31:13 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2014-05-21 18:14:55 -0700 |
commit | 0d8951cef4b1a1dbf4ff5ba3e8796cf1d4503098 (patch) | |
tree | 8a81f7d0f636b8b69bfe611aa124035e32ed4edc /decoder.mk | |
parent | 446ae52464da2263587877973845fe044100e205 (diff) | |
download | android_external_libhevc-0d8951cef4b1a1dbf4ff5ba3e8796cf1d4503098.tar.gz android_external_libhevc-0d8951cef4b1a1dbf4ff5ba3e8796cf1d4503098.tar.bz2 android_external_libhevc-0d8951cef4b1a1dbf4ff5ba3e8796cf1d4503098.zip |
Initial Version of HEVC decoder
Compliant to reference software HM11.0 onwards
Bug: 14571712
Change-Id: I8af25c1221cc6ab70440141c4d9b48c1ac69696a
Diffstat (limited to 'decoder.mk')
-rw-r--r-- | decoder.mk | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/decoder.mk b/decoder.mk new file mode 100644 index 0000000..38e3654 --- /dev/null +++ b/decoder.mk @@ -0,0 +1,96 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) + +libhevc_source_dir := $(LOCAL_PATH) + +## Arch-common settings +LOCAL_MODULE := libhevcdec +#LOCAL_32_BIT_ONLY := true + +LOCAL_MODULE_CLASS := STATIC_LIBRARIES + + +LOCAL_CFLAGS += -D_LIB -DMULTICORE -fPIC +#TODO -O3 is throwing up an error in aarch64 while linking +LOCAL_CFLAGS += -O2 -DHM_10DOT0 -DANDROID + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/decoder $(LOCAL_PATH)/common + +libhevcd_srcs_c += common/ihevc_quant_tables.c +libhevcd_srcs_c += common/ihevc_inter_pred_filters.c +libhevcd_srcs_c += common/ihevc_weighted_pred.c +libhevcd_srcs_c += common/ihevc_padding.c +libhevcd_srcs_c += common/ihevc_deblk_edge_filter.c +libhevcd_srcs_c += common/ihevc_deblk_tables.c +libhevcd_srcs_c += common/ihevc_cabac_tables.c +libhevcd_srcs_c += common/ihevc_common_tables.c +libhevcd_srcs_c += common/ihevc_intra_pred_filters.c +libhevcd_srcs_c += common/ihevc_chroma_intra_pred_filters.c +libhevcd_srcs_c += common/ihevc_mem_fns.c +libhevcd_srcs_c += common/ihevc_sao.c +libhevcd_srcs_c += common/ihevc_trans_tables.c +libhevcd_srcs_c += common/ihevc_recon.c +libhevcd_srcs_c += common/ihevc_itrans.c +libhevcd_srcs_c += common/ihevc_itrans_recon.c +libhevcd_srcs_c += common/ihevc_iquant_recon.c +libhevcd_srcs_c += common/ihevc_iquant_itrans_recon.c +libhevcd_srcs_c += common/ihevc_itrans_recon_32x32.c +libhevcd_srcs_c += common/ihevc_itrans_recon_16x16.c +libhevcd_srcs_c += common/ihevc_itrans_recon_8x8.c +libhevcd_srcs_c += common/ihevc_chroma_itrans_recon.c +libhevcd_srcs_c += common/ihevc_chroma_iquant_recon.c +libhevcd_srcs_c += common/ihevc_chroma_iquant_itrans_recon.c +libhevcd_srcs_c += common/ihevc_chroma_recon.c +libhevcd_srcs_c += common/ihevc_chroma_itrans_recon_16x16.c +libhevcd_srcs_c += common/ihevc_chroma_itrans_recon_8x8.c +libhevcd_srcs_c += common/ihevc_buf_mgr.c +libhevcd_srcs_c += common/ihevc_disp_mgr.c +libhevcd_srcs_c += common/ihevc_dpb_mgr.c +libhevcd_srcs_c += common/ithread.c + + + +libhevcd_srcs_c += decoder/ihevcd_version.c +libhevcd_srcs_c += decoder/ihevcd_trace.c +libhevcd_srcs_c += decoder/ihevcd_api.c +libhevcd_srcs_c += decoder/ihevcd_decode.c +libhevcd_srcs_c += decoder/ihevcd_nal.c +libhevcd_srcs_c += decoder/ihevcd_bitstream.c +libhevcd_srcs_c += decoder/ihevcd_parse_headers.c +libhevcd_srcs_c += decoder/ihevcd_parse_slice_header.c +libhevcd_srcs_c += decoder/ihevcd_parse_slice.c +libhevcd_srcs_c += decoder/ihevcd_parse_residual.c +libhevcd_srcs_c += decoder/ihevcd_cabac.c +libhevcd_srcs_c += decoder/ihevcd_intra_pred_mode_prediction.c +libhevcd_srcs_c += decoder/ihevcd_process_slice.c +libhevcd_srcs_c += decoder/ihevcd_utils.c +libhevcd_srcs_c += decoder/ihevcd_job_queue.c +libhevcd_srcs_c += decoder/ihevcd_ref_list.c +libhevcd_srcs_c += decoder/ihevcd_get_mv.c +libhevcd_srcs_c += decoder/ihevcd_mv_pred.c +libhevcd_srcs_c += decoder/ihevcd_mv_merge.c +libhevcd_srcs_c += decoder/ihevcd_iquant_itrans_recon_ctb.c +libhevcd_srcs_c += decoder/ihevcd_itrans_recon_dc.c +libhevcd_srcs_c += decoder/ihevcd_common_tables.c +libhevcd_srcs_c += decoder/ihevcd_boundary_strength.c +libhevcd_srcs_c += decoder/ihevcd_deblk.c +libhevcd_srcs_c += decoder/ihevcd_inter_pred.c +libhevcd_srcs_c += decoder/ihevcd_sao.c +libhevcd_srcs_c += decoder/ihevcd_ilf_padding.c +libhevcd_srcs_c += decoder/ihevcd_debug.c +libhevcd_srcs_c += decoder/ihevcd_ittiam_logo.c +libhevcd_srcs_c += decoder/ihevcd_statistics.c +libhevcd_srcs_c += decoder/ihevcd_fmt_conv.c + +LOCAL_SRC_FILES := $(libhevcd_srcs_c) $(libhevcd_srcs_asm) + + +# Load the arch-specific settings +include $(LOCAL_PATH)/decoder.arm.mk +include $(LOCAL_PATH)/decoder.arm64.mk +include $(LOCAL_PATH)/decoder.x86.mk +include $(LOCAL_PATH)/decoder.x86_64.mk +include $(LOCAL_PATH)/decoder.mips.mk +include $(LOCAL_PATH)/decoder.mips64.mk + +include $(BUILD_STATIC_LIBRARY) |