зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1509453 - Update build files to latest dav1d import. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D14869 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
dee5990e57
Коммит
4fa721794d
|
@ -53,7 +53,9 @@ if CONFIG['CPU_ARCH'] in ('x86', 'x86_64'):
|
|||
'../../../third_party/dav1d/src/x86/cdef.asm',
|
||||
'../../../third_party/dav1d/src/x86/cpuid.asm',
|
||||
'../../../third_party/dav1d/src/x86/ipred.asm',
|
||||
'../../../third_party/dav1d/src/x86/ipred_ssse3.asm',
|
||||
'../../../third_party/dav1d/src/x86/itx.asm',
|
||||
'../../../third_party/dav1d/src/x86/itx_ssse3.asm',
|
||||
'../../../third_party/dav1d/src/x86/loopfilter.asm',
|
||||
'../../../third_party/dav1d/src/x86/looprestoration.asm',
|
||||
'../../../third_party/dav1d/src/x86/mc.asm',
|
||||
|
@ -72,18 +74,18 @@ if CONFIG['CPU_ARCH'] in ('x86', 'x86_64'):
|
|||
]
|
||||
|
||||
GENERATED_FILES += [
|
||||
'10bd_%s' % p for p in bitdepth_basenames
|
||||
'16bd_%s' % p for p in bitdepth_basenames
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'!10bd_%s' % p for p in bitdepth_basenames
|
||||
'!16bd_%s' % p for p in bitdepth_basenames
|
||||
]
|
||||
|
||||
for f in bitdepth_basenames:
|
||||
a = GENERATED_FILES['10bd_%s' % f]
|
||||
a = GENERATED_FILES['16bd_%s' % f]
|
||||
a.script = '../generate_source.py:add_define'
|
||||
a.inputs = [relative_path + f]
|
||||
a.flags = ['BITDEPTH', '10']
|
||||
a.flags = ['BITDEPTH', '16']
|
||||
|
||||
GENERATED_FILES += [
|
||||
'8bd_%s' % p for p in bitdepth_basenames
|
||||
|
@ -124,18 +126,18 @@ elif CONFIG['CPU_ARCH'] == 'arm' or CONFIG['CPU_ARCH'] == 'aarch64':
|
|||
]
|
||||
|
||||
GENERATED_FILES += [
|
||||
'10bd_%s' % p for p in bitdepth_basenames
|
||||
'16bd_%s' % p for p in bitdepth_basenames
|
||||
]
|
||||
|
||||
SOURCES += [
|
||||
'!10bd_%s' % p for p in bitdepth_basenames
|
||||
'!16bd_%s' % p for p in bitdepth_basenames
|
||||
]
|
||||
|
||||
for f in bitdepth_basenames:
|
||||
a = GENERATED_FILES['10bd_%s' % f]
|
||||
a = GENERATED_FILES['16bd_%s' % f]
|
||||
a.script = '../generate_source.py:add_define'
|
||||
a.inputs = [relative_path + f]
|
||||
a.flags = ['BITDEPTH', '10']
|
||||
a.flags = ['BITDEPTH', '16']
|
||||
|
||||
GENERATED_FILES += [
|
||||
'8bd_%s' % p for p in bitdepth_basenames
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#define ARCH_X86_64 0
|
||||
|
||||
#define CONFIG_10BPC 1
|
||||
#define CONFIG_16BPC 1
|
||||
|
||||
#define CONFIG_8BPC 1
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#define ARCH_X86_64 0
|
||||
|
||||
#define CONFIG_10BPC 1
|
||||
#define CONFIG_16BPC 1
|
||||
|
||||
#define CONFIG_8BPC 1
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#define ARCH_X86_64 0
|
||||
|
||||
#define CONFIG_10BPC 1
|
||||
#define CONFIG_16BPC 1
|
||||
|
||||
#define CONFIG_8BPC 1
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#define ARCH_X86_64 0
|
||||
|
||||
#define CONFIG_10BPC 1
|
||||
#define CONFIG_16BPC 1
|
||||
|
||||
#define CONFIG_8BPC 1
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#define ARCH_X86_64 0
|
||||
|
||||
#define CONFIG_10BPC 1
|
||||
#define CONFIG_16BPC 1
|
||||
|
||||
#define CONFIG_8BPC 1
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#define ARCH_X86_64 1
|
||||
|
||||
#define CONFIG_10BPC 1
|
||||
#define CONFIG_16BPC 1
|
||||
|
||||
#define CONFIG_8BPC 1
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#define ARCH_X86_64 1
|
||||
|
||||
#define CONFIG_10BPC 1
|
||||
#define CONFIG_16BPC 1
|
||||
|
||||
#define CONFIG_8BPC 1
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#define ARCH_X86_64 1
|
||||
|
||||
#define CONFIG_10BPC 1
|
||||
#define CONFIG_16BPC 1
|
||||
|
||||
#define CONFIG_8BPC 1
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#define ARCH_X86_64 1
|
||||
|
||||
#define CONFIG_10BPC 1
|
||||
#define CONFIG_16BPC 1
|
||||
|
||||
#define CONFIG_8BPC 1
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ EXPORTS.dav1d.src += [
|
|||
'../../third_party/dav1d/src/wedge.h',
|
||||
]
|
||||
|
||||
# common BITDEPTH 8, 10
|
||||
# common BITDEPTH 8, 16
|
||||
relative_path = '../../third_party/dav1d/src/'
|
||||
bitdepth_basenames = [
|
||||
'cdef_apply_tmpl.c',
|
||||
|
@ -130,14 +130,14 @@ bitdepth_basenames = [
|
|||
]
|
||||
|
||||
GENERATED_FILES += [
|
||||
'10bd_%s' % p for p in bitdepth_basenames
|
||||
'16bd_%s' % p for p in bitdepth_basenames
|
||||
]
|
||||
|
||||
for f in bitdepth_basenames:
|
||||
a = GENERATED_FILES['10bd_%s' % f]
|
||||
a = GENERATED_FILES['16bd_%s' % f]
|
||||
a.script = 'generate_source.py:add_define'
|
||||
a.inputs = [relative_path + f]
|
||||
a.flags = ['BITDEPTH', '10']
|
||||
a.flags = ['BITDEPTH', '16']
|
||||
|
||||
GENERATED_FILES += [
|
||||
'8bd_%s' % p for p in bitdepth_basenames
|
||||
|
|
Загрузка…
Ссылка в новой задаче