• Home
  • Raw
  • Download

Lines Matching refs:opus

246     ${CMAKE_CURRENT_SOURCE_DIR}/include/opus.h
256 add_library(opus ${opus_headers} ${opus_sources} ${opus_sources_float} ${Opus_PUBLIC_HEADER}) target
257 add_library(Opus::opus ALIAS opus)
262 set_target_properties(opus
271 opus
274 $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/opus>
280 target_link_libraries(opus PRIVATE ${OPUS_REQUIRED_LIBRARIES})
281 target_compile_definitions(opus PRIVATE OPUS_BUILD)
284 target_compile_definitions(opus PRIVATE FIXED_DEBUG)
288 target_compile_definitions(opus PRIVATE
293 target_compile_definitions(opus PRIVATE FLOAT_APPROX)
297 target_compile_definitions(opus PRIVATE ENABLE_ASSERTIONS)
301 target_compile_definitions(opus PRIVATE ENABLE_HARDENING)
305 target_compile_definitions(opus PRIVATE FUZZING)
309 target_compile_definitions(opus PRIVATE OPUS_CHECK_ASM)
313 target_compile_definitions(opus PRIVATE VAR_ARRAYS)
315 target_compile_definitions(opus PRIVATE USE_ALLOCA)
317 target_compile_definitions(opus PRIVATE NONTHREADSAFE_PSEUDOSTACK)
323 target_compile_definitions(opus PRIVATE CUSTOM_MODES)
328 target_compile_options(opus PRIVATE /fp:fast)
330 target_compile_options(opus PRIVATE -ffast-math)
336 target_compile_options(opus PRIVATE /GS)
338 target_compile_options(opus PRIVATE -fstack-protector-strong)
341 target_compile_options(opus PRIVATE /GS-)
346 target_compile_definitions(opus PRIVATE DLL_EXPORT)
348 set_target_properties(opus PROPERTIES C_VISIBILITY_PRESET hidden)
352 add_sources_group(opus silk ${silk_headers} ${silk_sources})
353 add_sources_group(opus celt ${celt_headers} ${celt_sources})
356 add_sources_group(opus silk ${silk_sources_fixed})
357 target_include_directories(opus PRIVATE silk/fixed)
358 target_compile_definitions(opus PRIVATE FIXED_POINT=1)
360 add_sources_group(opus silk ${silk_sources_float})
361 target_include_directories(opus PRIVATE silk/float)
365 target_compile_definitions(opus PRIVATE DISABLE_FLOAT_API)
373 target_compile_definitions(opus PRIVATE OPUS_HAVE_RTCD)
378 add_sources_group(opus celt ${celt_sources_sse})
379 target_compile_definitions(opus PRIVATE OPUS_X86_MAY_HAVE_SSE)
385 target_compile_definitions(opus PRIVATE OPUS_X86_PRESUME_SSE)
387 target_compile_options(opus PRIVATE -msse)
394 add_sources_group(opus celt ${celt_sources_sse2})
395 target_compile_definitions(opus PRIVATE OPUS_X86_MAY_HAVE_SSE2)
401 target_compile_definitions(opus PRIVATE OPUS_X86_PRESUME_SSE2)
403 target_compile_options(opus PRIVATE -msse2)
410 add_sources_group(opus celt ${celt_sources_sse4_1})
411 add_sources_group(opus silk ${silk_sources_sse4_1})
412 target_compile_definitions(opus PRIVATE OPUS_X86_MAY_HAVE_SSE4_1)
418 add_sources_group(opus silk ${silk_sources_fixed_sse4_1})
425 target_compile_definitions(opus PRIVATE OPUS_X86_PRESUME_SSE4_1)
427 target_compile_options(opus PRIVATE -msse4.1)
435 target_compile_definitions(opus PRIVATE OPUS_X86_MAY_HAVE_AVX)
438 target_compile_definitions(opus PRIVATE OPUS_X86_PRESUME_AVX)
440 target_compile_options(opus PRIVATE -mavx)
451 target_compile_definitions(opus PRIVATE /arch:SSE2)
453 target_compile_definitions(opus PRIVATE /arch:SSE)
459 add_sources_group(opus celt ${celt_sources_arm})
466 target_compile_definitions(opus PRIVATE OPUS_HAVE_RTCD)
471 target_compile_definitions(opus
477 add_sources_group(opus celt ${celt_sources_arm_neon_intr})
478 add_sources_group(opus silk ${silk_sources_arm_neon_intr})
481 target_include_directories(opus PRIVATE silk/fixed)
484 add_sources_group(opus silk ${silk_sources_fixed_arm_neon_intr})
488 target_compile_definitions(opus
496 target_compile_definitions(opus
502 set_target_properties(opus PROPERTIES
505 MACOSX_FRAMEWORK_IDENTIFIER org.xiph.opus
512 install(TARGETS opus
518 PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/opus)
529 configure_file(opus.pc.in opus.pc)
530 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/opus.pc
567 target_link_libraries(opus_custom_demo PRIVATE opus)
574 target_link_libraries(opus_demo PRIVATE opus ${OPUS_REQUIRED_LIBRARIES})
579 target_link_libraries(opus_compare PRIVATE opus ${OPUS_REQUIRED_LIBRARIES})
589 target_link_libraries(test_opus_decode PRIVATE opus)
598 target_link_libraries(test_opus_padding PRIVATE opus)
606 target_link_libraries(test_opus_api PRIVATE opus)
615 target_link_libraries(test_opus_encode PRIVATE opus)