gecko-dev/third_party/dav1d/meson_options.txt
Chun-Min Chang d4fb3f7727 Bug 1778632 - Update dav1d to 6dc03eee53df62c1fb82a735f70a1b2b16d26bf0 r=mjf
Run `./mach vendor media/libdav1d/moz.yaml` to get the latest dav1d
version and update the revision number in moz.yaml.

According to the changes in *third_party/dav1d/src/meson.build*, the
*media/libdav1d/asm/moz.build* is updated as follows:

- Remove *{arm,x86}/refmvs_init.c*
- Remove *{arm,x86}/cdef_init_tmpl.c*
- Remove *{arm,x86}/filmgrain_init_tmpl.c*
- Remove *{arm,x86}/ipred_init_tmpl.c*
- Remove *{arm,x86}/itx_init_tmpl.c*
- Remove *{arm,x86}/loopfilter_init_tmpl.c*
- Remove *{arm,x86}/looprestoration_init_tmpl.c*
- Remove *{arm,x86}/mc_init_tmpl.c*
- Remove *x86/msac_init.c*
- Add *x86/cdef16_avx512.asm*
- Add *x86/loopfilter16_avx512.asm*

Differential Revision: https://phabricator.services.mozilla.com/D152335
2022-07-21 17:29:30 +00:00

66 lines
1.5 KiB
Meson

# General options
option('bitdepths',
type: 'array',
choices: ['8', '16'],
description: 'Enable only specified bitdepths')
option('enable_asm',
type: 'boolean',
value: true,
description: 'Build asm files, if available')
option('enable_tools',
type: 'boolean',
value: true,
description: 'Build dav1d cli tools')
option('enable_examples',
type: 'boolean',
value: false,
description: 'Build dav1d examples')
option('enable_tests',
type: 'boolean',
value: true,
description: 'Build dav1d tests')
option('enable_docs',
type: 'boolean',
value: false,
description: 'Build dav1d documentation')
option('logging',
type: 'boolean',
value: true,
description: 'Print error log messages using the provided callback function')
option('testdata_tests',
type: 'boolean',
value: false,
description: 'Run tests requiring the test data repository')
option('fuzzing_engine',
type: 'combo',
choices : ['none', 'libfuzzer', 'oss-fuzz'],
value: 'none',
description: 'Select the fuzzing engine')
option('fuzzer_ldflags',
type: 'string',
description: 'Extra LDFLAGS used during linking of fuzzing binaries')
option('stack_alignment',
type: 'integer',
value: 0)
option('xxhash_muxer',
type : 'feature',
value : 'auto')
option('trim_dsp',
type: 'combo',
choices: ['true', 'false', 'if-release'],
value: 'if-release',
description: 'Eliminate redundant DSP functions where possible')