• 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)
374 target_compile_definitions(opus PRIVATE OPUS_HAVE_RTCD)
377 target_compile_definitions(opus PRIVATE CPU_INFO_BY_ASM)
379 target_compile_definitions(opus PRIVATE CPU_INFO_BY_C)
384 add_sources_group(opus celt ${celt_sources_x86_rtcd})
385 add_sources_group(opus silk ${silk_sources_x86_rtcd})
390 add_sources_group(opus celt ${celt_sources_sse})
391 target_compile_definitions(opus PRIVATE OPUS_X86_MAY_HAVE_SSE)
397 target_compile_definitions(opus PRIVATE OPUS_X86_PRESUME_SSE)
399 target_compile_options(opus PRIVATE -msse)
406 add_sources_group(opus celt ${celt_sources_sse2})
407 target_compile_definitions(opus PRIVATE OPUS_X86_MAY_HAVE_SSE2)
413 target_compile_definitions(opus PRIVATE OPUS_X86_PRESUME_SSE2)
415 target_compile_options(opus PRIVATE -msse2)
422 add_sources_group(opus celt ${celt_sources_sse4_1})
423 add_sources_group(opus silk ${silk_sources_sse4_1})
424 target_compile_definitions(opus PRIVATE OPUS_X86_MAY_HAVE_SSE4_1)
430 add_sources_group(opus silk ${silk_sources_fixed_sse4_1})
437 target_compile_definitions(opus PRIVATE OPUS_X86_PRESUME_SSE4_1)
439 target_compile_options(opus PRIVATE -msse4.1)
447 target_compile_definitions(opus PRIVATE OPUS_X86_MAY_HAVE_AVX)
450 target_compile_definitions(opus PRIVATE OPUS_X86_PRESUME_AVX)
452 target_compile_options(opus PRIVATE -mavx)
463 target_compile_definitions(opus PRIVATE /arch:SSE2)
465 target_compile_definitions(opus PRIVATE /arch:SSE)
474 target_compile_definitions(opus PRIVATE OPUS_HAVE_RTCD)
475 add_sources_group(opus celt ${celt_sources_arm_rtcd})
476 add_sources_group(opus silk ${silk_sources_arm_rtcd})
481 target_compile_definitions(opus
487 add_sources_group(opus celt ${celt_sources_arm_neon_intr})
488 add_sources_group(opus silk ${silk_sources_arm_neon_intr})
491 target_include_directories(opus PRIVATE silk/fixed)
494 add_sources_group(opus silk ${silk_sources_fixed_arm_neon_intr})
498 target_compile_definitions(opus
506 target_compile_definitions(opus
512 set_target_properties(opus PROPERTIES
515 MACOSX_FRAMEWORK_IDENTIFIER org.xiph.opus
522 install(TARGETS opus
528 PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/opus)
539 configure_file(opus.pc.in opus.pc)
540 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/opus.pc
577 target_link_libraries(opus_custom_demo PRIVATE opus)
585 target_link_libraries(opus_demo PRIVATE opus ${OPUS_REQUIRED_LIBRARIES})
591 target_link_libraries(opus_compare PRIVATE opus ${OPUS_REQUIRED_LIBRARIES})
605 target_link_libraries(test_opus_decode PRIVATE opus)
618 target_link_libraries(test_opus_padding PRIVATE opus)
627 target_link_libraries(test_opus_api PRIVATE opus)
640 target_link_libraries(test_opus_encode PRIVATE opus)