shithub: openh264

ref: b1ce6997f98da6fabb82c55cf7cb549c49953d48
dir: /codec/decoder/meson.build/

View raw version
cpp_sources = [
  'core/src/au_parser.cpp',
  'core/src/bit_stream.cpp',
  'core/src/cabac_decoder.cpp',
  'core/src/deblocking.cpp',
  'core/src/decode_mb_aux.cpp',
  'core/src/decode_slice.cpp',
  'core/src/decoder.cpp',
  'core/src/decoder_core.cpp',
  'core/src/decoder_data_tables.cpp',
  'core/src/error_concealment.cpp',
  'core/src/fmo.cpp',
  'core/src/get_intra_predictor.cpp',
  'core/src/manage_dec_ref.cpp',
  'core/src/memmgr_nal_unit.cpp',
  'core/src/mv_pred.cpp',
  'core/src/parse_mb_syn_cabac.cpp',
  'core/src/parse_mb_syn_cavlc.cpp',
  'core/src/pic_queue.cpp',
  'core/src/rec_mb.cpp',
  'plus/src/welsDecoderExt.cpp',
  'core/src/wels_decoder_thread.cpp',
]

objs_asm = []
if ['x86', 'x86_64'].contains(cpu_family)
  asm_sources = [
    'core/x86/dct.asm',
    'core/x86/intra_pred.asm',
  ]
  objs_asm = asm_gen.process(asm_sources)
elif cpu_family == 'arm'
  cpp_sources += [
    'core/arm/block_add_neon.S',
    'core/arm/intra_pred_neon.S',
  ]
elif cpu_family == 'aarch64'
  cpp_sources += [
    'core/arm64/block_add_aarch64_neon.S',
    'core/arm64/intra_pred_aarch64_neon.S',
  ]
else
  error('Unsupported cpu family @0@'.format(cpu_family))
endif

libdecoder = static_library('decoder', cpp_sources, objs_asm,
  include_directories: [inc, decoder_inc, casm_inc],
  dependencies: deps)