]> git.sesse.net Git - ffmpeg/commitdiff
configure: enable ffnvcodec, nvenc, nvdec for ppc6le
authorRuta Gadkari <rgadkari@nvidia.com>
Tue, 12 Mar 2019 08:24:04 +0000 (13:54 +0530)
committerTimo Rothenpieler <timo@rothenpieler.org>
Wed, 8 May 2019 10:07:28 +0000 (12:07 +0200)
Adding the support to build FFMPEG with HW accelerated decode and encode on PPC64
little endian architecture.

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
configure

index a517d95b459be31c325d233d9f143b156a8fc34a..7130b4c8e926b1c112b5b9b343fec8b3bad42159 100755 (executable)
--- a/configure
+++ b/configure
@@ -6513,6 +6513,14 @@ if enabled x86; then
             disable ffnvcodec cuvid nvdec nvenc
             ;;
     esac
+elif enabled ppc64 && ! enabled bigendian; then
+    case $target_os in
+        linux)
+            ;;
+        *)
+            disable ffnvcodec cuvid nvdec nvenc
+            ;;
+    esac
 else
     disable ffnvcodec cuvid nvdec nvenc
 fi