[vlc-commits] [Git][videolan/vlc][master] 2 commits: contrib: ffmpeg: add RISC-V

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Sat Jan 22 23:38:53 UTC 2022



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
13bfd3b4 by Rémi Denis-Courmont at 2022-01-22T17:58:55+00:00
contrib: ffmpeg: add RISC-V

Note that a newer version of FFmpeg is necessary to get actual
platform-specific acceleration. This merely allows plain C build.

- - - - -
197442ca by Rémi Denis-Courmont at 2022-01-22T17:58:55+00:00
contrib: postproc: add RISC-V

- - - - -


2 changed files:

- contrib/src/ffmpeg/rules.mak
- contrib/src/postproc/rules.mak


Changes:

=====================================
contrib/src/ffmpeg/rules.mak
=====================================
@@ -101,6 +101,11 @@ ifeq ($(ARCH),mips64el)
 FFMPEGCONF += --arch=mips64
 endif
 
+# RISC-V stuff
+ifneq ($(findstring $(ARCH),riscv32 riscv64),)
+FFMPEGCONF += --arch=riscv
+endif
+
 # x86 stuff
 ifeq ($(ARCH),i386)
 ifndef HAVE_DARWIN_OS


=====================================
contrib/src/postproc/rules.mak
=====================================
@@ -52,6 +52,11 @@ ifeq ($(ARCH),mips64el)
 POSTPROCCONF += --arch=mips64
 endif
 
+# RISC-V stuff
+ifneq ($(findstring $(ARCH),riscv32 riscv64),)
+POSTPROCCONF += --arch=riscv
+endif
+
 # x86 stuff
 ifeq ($(ARCH),i386)
 POSTPROCCONF += --arch=x86



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b2d1d2d2f5f5d32012115b85b2c6994ee244808a...197442ca280865815d3b55882bd3813fbdc8753f

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b2d1d2d2f5f5d32012115b85b2c6994ee244808a...197442ca280865815d3b55882bd3813fbdc8753f
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list