2018-09-04 17:32:00 -04:00
|
|
|
# General options
|
|
|
|
|
|
|
|
|
|
option('bitdepths',
|
|
|
|
|
type: 'array',
|
2018-12-05 18:21:05 -05:00
|
|
|
choices: ['8', '16'],
|
2018-09-04 17:32:00 -04:00
|
|
|
description: 'Enable only specified bitdepths')
|
2018-09-25 12:03:34 +02:00
|
|
|
|
2019-07-02 13:35:47 +02:00
|
|
|
option('enable_asm',
|
2018-09-25 12:03:34 +02:00
|
|
|
type: 'boolean',
|
|
|
|
|
value: true,
|
|
|
|
|
description: 'Build asm files, if available')
|
2018-09-29 12:40:41 +02:00
|
|
|
|
2019-07-02 13:35:47 +02:00
|
|
|
option('enable_tools',
|
2018-09-29 12:40:41 +02:00
|
|
|
type: 'boolean',
|
|
|
|
|
value: true,
|
|
|
|
|
description: 'Build dav1d cli tools')
|
2018-09-29 12:41:11 +02:00
|
|
|
|
2019-08-09 16:56:00 -03:00
|
|
|
option('enable_examples',
|
|
|
|
|
type: 'boolean',
|
|
|
|
|
value: false,
|
|
|
|
|
description: 'Build dav1d examples')
|
|
|
|
|
|
2019-07-02 13:35:47 +02:00
|
|
|
option('enable_tests',
|
2018-09-29 12:41:11 +02:00
|
|
|
type: 'boolean',
|
|
|
|
|
value: true,
|
|
|
|
|
description: 'Build dav1d tests')
|
2018-10-02 19:20:52 +02:00
|
|
|
|
2024-01-23 01:57:49 +01:00
|
|
|
option('enable_seek_stress',
|
|
|
|
|
type: 'boolean',
|
2024-01-23 19:05:37 +01:00
|
|
|
value: false,
|
2024-01-23 01:57:49 +01:00
|
|
|
description: 'Build seek_stress test tool')
|
|
|
|
|
|
2021-12-17 16:19:28 +01:00
|
|
|
option('enable_docs',
|
|
|
|
|
type: 'boolean',
|
|
|
|
|
value: false,
|
|
|
|
|
description: 'Build dav1d documentation')
|
|
|
|
|
|
2019-01-26 00:41:35 -03:00
|
|
|
option('logging',
|
|
|
|
|
type: 'boolean',
|
|
|
|
|
value: true,
|
|
|
|
|
description: 'Print error log messages using the provided callback function')
|
|
|
|
|
|
2018-10-14 15:10:40 +02:00
|
|
|
option('testdata_tests',
|
|
|
|
|
type: 'boolean',
|
|
|
|
|
value: false,
|
|
|
|
|
description: 'Run tests requiring the test data repository')
|
|
|
|
|
|
2018-10-23 18:46:46 +02:00
|
|
|
option('fuzzing_engine',
|
|
|
|
|
type: 'combo',
|
|
|
|
|
choices : ['none', 'libfuzzer', 'oss-fuzz'],
|
|
|
|
|
value: 'none',
|
|
|
|
|
description: 'Select the fuzzing engine')
|
2019-02-13 22:06:17 +02:00
|
|
|
|
2019-05-24 20:53:55 +02:00
|
|
|
option('fuzzer_ldflags',
|
|
|
|
|
type: 'string',
|
|
|
|
|
description: 'Extra LDFLAGS used during linking of fuzzing binaries')
|
|
|
|
|
|
2019-02-13 22:06:17 +02:00
|
|
|
option('stack_alignment',
|
|
|
|
|
type: 'integer',
|
|
|
|
|
value: 0)
|
2021-01-05 14:31:43 +01:00
|
|
|
|
|
|
|
|
option('xxhash_muxer',
|
|
|
|
|
type : 'feature',
|
|
|
|
|
value : 'auto')
|
2022-07-06 14:43:44 +02:00
|
|
|
|
|
|
|
|
option('trim_dsp',
|
|
|
|
|
type: 'combo',
|
|
|
|
|
choices: ['true', 'false', 'if-release'],
|
|
|
|
|
value: 'if-release',
|
|
|
|
|
description: 'Eliminate redundant DSP functions where possible')
|