Blame SOURCES/build-remove-dav1d-from-wayland-dep.patch
|
|
229cbf |
diff -up firefox-102.0/media/ffvpx/config_common.h.dav1d-remove firefox-102.0/media/ffvpx/config_common.h
|
|
|
229cbf |
--- firefox-102.0/media/ffvpx/config_common.h.dav1d-remove 2022-08-08 12:48:33.218128539 +0200
|
|
|
229cbf |
+++ firefox-102.0/media/ffvpx/config_common.h 2022-08-08 12:48:52.986003374 +0200
|
|
|
229cbf |
@@ -24,15 +24,11 @@
|
|
|
229cbf |
#undef CONFIG_VP8_VAAPI_HWACCEL
|
|
|
229cbf |
#undef CONFIG_VP9_VAAPI_HWACCEL
|
|
|
229cbf |
#undef CONFIG_AV1_VAAPI_HWACCEL
|
|
|
229cbf |
-#undef CONFIG_LIBDAV1D
|
|
|
229cbf |
-#undef CONFIG_AV1_DECODER
|
|
|
229cbf |
#define CONFIG_VAAPI 1
|
|
|
229cbf |
#define CONFIG_VAAPI_1 1
|
|
|
229cbf |
#define CONFIG_VP8_VAAPI_HWACCEL 1
|
|
|
229cbf |
#define CONFIG_VP9_VAAPI_HWACCEL 1
|
|
|
229cbf |
#define CONFIG_AV1_VAAPI_HWACCEL 1
|
|
|
229cbf |
-#define CONFIG_LIBDAV1D 1
|
|
|
229cbf |
-#define CONFIG_AV1_DECODER 1
|
|
|
229cbf |
#endif
|
|
|
229cbf |
|
|
|
229cbf |
#endif
|
|
|
229cbf |
diff -up firefox-102.0/media/ffvpx/libavcodec/moz.build.dav1d-remove firefox-102.0/media/ffvpx/libavcodec/moz.build
|
|
|
229cbf |
--- firefox-102.0/media/ffvpx/libavcodec/moz.build.dav1d-remove 2022-08-08 12:44:24.098710736 +0200
|
|
|
229cbf |
+++ firefox-102.0/media/ffvpx/libavcodec/moz.build 2022-08-08 12:46:42.635828719 +0200
|
|
|
229cbf |
@@ -104,17 +104,23 @@ if not CONFIG['MOZ_FFVPX_AUDIOONLY']:
|
|
|
229cbf |
]
|
|
|
229cbf |
if CONFIG['MOZ_WAYLAND']:
|
|
|
229cbf |
LOCAL_INCLUDES += ['/media/mozva']
|
|
|
229cbf |
+ if CONFIG['MOZ_DAV1D_ASM']:
|
|
|
229cbf |
+ SOURCES += [
|
|
|
229cbf |
+ 'libdav1d.c',
|
|
|
229cbf |
+ ]
|
|
|
229cbf |
SOURCES += [
|
|
|
229cbf |
'atsc_a53.c',
|
|
|
229cbf |
- 'libdav1d.c',
|
|
|
229cbf |
'vaapi_av1.c',
|
|
|
229cbf |
'vaapi_decode.c',
|
|
|
229cbf |
'vaapi_vp8.c',
|
|
|
229cbf |
'vaapi_vp9.c',
|
|
|
229cbf |
]
|
|
|
229cbf |
+ if CONFIG['MOZ_DAV1D_ASM']:
|
|
|
229cbf |
+ USE_LIBS += [
|
|
|
229cbf |
+ 'dav1d',
|
|
|
229cbf |
+ 'media_libdav1d_asm',
|
|
|
229cbf |
+ ]
|
|
|
229cbf |
USE_LIBS += [
|
|
|
229cbf |
- 'dav1d',
|
|
|
229cbf |
- 'media_libdav1d_asm',
|
|
|
229cbf |
'mozva'
|
|
|
229cbf |
]
|
|
|
229cbf |
|