diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2023-12-13 02:20:14 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@amazon.com> | 2023-12-20 07:01:26 +0300 |
commit | b6a196d90c5388d7a29a90b4acf82c6bb6433dc0 (patch) | |
tree | 9c26f1ead9d20c04e81249dafd008b1c4747da56 | |
parent | 566536626bcb48ecdba2bc642e61e270a7f39911 (diff) |
Add OSCE to meson
-rw-r--r-- | dnn/meson.build | 5 | ||||
-rw-r--r-- | meson.build | 1 | ||||
-rw-r--r-- | meson_options.txt | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/dnn/meson.build b/dnn/meson.build index 6e520fbc..737d4a02 100644 --- a/dnn/meson.build +++ b/dnn/meson.build @@ -5,6 +5,11 @@ if opt_enable_dred dnn_sources += dred_sources endif +osce_sources = sources['OSCE_SOURCES'] +if opt_enable_osce + dnn_sources += osce_sources +endif + dnn_sources_sse2 = sources['DNN_SOURCES_SSE2'] dnn_sources_sse4_1 = sources['DNN_SOURCES_SSE4_1'] dnn_sources_avx2 = sources['DNN_SOURCES_AVX2'] diff --git a/meson.build b/meson.build index 289c5917..f468bad4 100644 --- a/meson.build +++ b/meson.build @@ -148,6 +148,7 @@ opts = [ [ 'float-approx', 'FLOAT_APPROX' ], [ 'enable-deep-plc', 'ENABLE_DEEP_PLC' ], [ 'enable-dred', 'ENABLE_DRED' ], + [ 'enable-osce', 'ENABLE_OSCE' ], [ 'assertions', 'ENABLE_ASSERTIONS' ], [ 'hardening', 'ENABLE_HARDENING' ], [ 'fuzzing', 'FUZZING' ], diff --git a/meson_options.txt b/meson_options.txt index d5b69eea..46099276 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -9,6 +9,7 @@ option('intrinsics', type : 'feature', value : 'auto', description : 'Intrinsics option('enable-deep-plc', type : 'boolean', value : false, description : 'Enable Deep Packet Loss Concealment (PLC)') option('enable-dred', type : 'boolean', value : false, description : 'Enable Deep Redundancy (DRED)') +option('enable-osce', type : 'boolean', value : false, description : 'Enable Opus Speech Coding Enhancement (OSCE)') option('enable-dnn-debug-float', type : 'boolean', value : false, description : 'Compute DNN using float weights') option('custom-modes', type : 'boolean', value : false, description : 'Enable non-Opus modes, e.g. 44.1 kHz & 2^n frames') |