1# src files 2list( 3 APPEND 4 LIBMVCDEC_SRCS 5 "${AVC_ROOT}/decoder/ih264d_api.c" 6 "${AVC_ROOT}/decoder/ih264d_bitstrm.c" 7 "${AVC_ROOT}/decoder/ih264d_cabac.c" 8 "${AVC_ROOT}/decoder/ih264d_cabac_init_tables.c" 9 "${AVC_ROOT}/decoder/ih264d_compute_bs.c" 10 "${AVC_ROOT}/decoder/ih264d_deblocking.c" 11 "${AVC_ROOT}/decoder/ih264d_dpb_mgr.c" 12 "${AVC_ROOT}/decoder/ih264d_format_conv.c" 13 "${AVC_ROOT}/decoder/ih264d_function_selector_generic.c" 14 "${AVC_ROOT}/decoder/ih264d_inter_pred.c" 15 "${AVC_ROOT}/decoder/ih264d_mb_utils.c" 16 "${AVC_ROOT}/decoder/ih264d_mvpred.c" 17 "${AVC_ROOT}/decoder/ih264d_nal.c" 18 "${AVC_ROOT}/decoder/ih264d_parse_bslice.c" 19 "${AVC_ROOT}/decoder/ih264d_parse_cabac.c" 20 "${AVC_ROOT}/decoder/ih264d_parse_cavlc.c" 21 "${AVC_ROOT}/decoder/ih264d_parse_headers.c" 22 "${AVC_ROOT}/decoder/ih264d_parse_islice.c" 23 "${AVC_ROOT}/decoder/ih264d_parse_mb_header.c" 24 "${AVC_ROOT}/decoder/ih264d_parse_pslice.c" 25 "${AVC_ROOT}/decoder/ih264d_parse_slice.c" 26 "${AVC_ROOT}/decoder/ih264d_process_bslice.c" 27 "${AVC_ROOT}/decoder/ih264d_process_intra_mb.c" 28 "${AVC_ROOT}/decoder/ih264d_process_pslice.c" 29 "${AVC_ROOT}/decoder/ih264d_quant_scaling.c" 30 "${AVC_ROOT}/decoder/ih264d_sei.c" 31 "${AVC_ROOT}/decoder/ih264d_tables.c" 32 "${AVC_ROOT}/decoder/ih264d_thread_compute_bs.c" 33 "${AVC_ROOT}/decoder/ih264d_thread_parse_decode.c" 34 "${AVC_ROOT}/decoder/ih264d_utils.c" 35 "${AVC_ROOT}/decoder/ih264d_vui.c" 36 "${AVC_ROOT}/decoder/mvc/imvcd_api.c" 37 "${AVC_ROOT}/decoder/mvc/imvcd_api_utils.c" 38 "${AVC_ROOT}/decoder/mvc/imvcd_dpb_manager.c" 39 "${AVC_ROOT}/decoder/mvc/imvcd_error_handler.c" 40 "${AVC_ROOT}/decoder/mvc/imvcd_nalu_parser.c" 41 "${AVC_ROOT}/decoder/mvc/imvcd_slice_functions.c" 42 "${AVC_ROOT}/decoder/mvc/imvcd_utils.c") 43 44include_directories(${AVC_ROOT}/decoder) 45include_directories(${AVC_ROOT}/decoder/mvc) 46 47if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "aarch64" OR "${CMAKE_SYSTEM_PROCESSOR}" 48 STREQUAL "aarch32") 49 list( 50 APPEND LIBMVCDEC_ASMS "${AVC_ROOT}/decoder/arm/ih264d_function_selector.c" 51 "${AVC_ROOT}/decoder/arm/ih264d_function_selector_a9q.c" 52 "${AVC_ROOT}/decoder/arm/ih264d_function_selector_av8.c") 53else() 54 list( 55 APPEND LIBMVCDEC_ASMS "${AVC_ROOT}/decoder/x86/ih264d_function_selector.c" 56 "${AVC_ROOT}/decoder/x86/ih264d_function_selector_sse42.c" 57 "${AVC_ROOT}/decoder/x86/ih264d_function_selector_ssse3.c") 58endif() 59 60add_library(libmvcdec STATIC ${LIBAVC_COMMON_SRCS} ${LIBAVC_COMMON_ASMS} 61 ${LIBMVCDEC_SRCS} ${LIBMVCDEC_ASMS}) 62