]> git.sesse.net Git - ffmpeg/blobdiff - configure
avcodec/hevcdec: Declare that nvdec supports 12bit decoding
[ffmpeg] / configure
index 6916b4549ae9a0e0143a16cb0bf314162a10203b..fe81ba31b5ed7b4cbee5b562c59eba955727777a 100755 (executable)
--- a/configure
+++ b/configure
@@ -5811,6 +5811,9 @@ check_type "va/va.h va/va_enc_vp9.h"  "VAEncPictureParameterBufferVP9"
 
 check_type "vdpau/vdpau.h" "VdpPictureInfoHEVC"
 
+check_pkg_config cuda "ffnvcodec >= 8.0.14.1" \
+    "ffnvcodec/nvEncodeAPI.h ffnvcodec/dynlink_cuda.h ffnvcodec/dynlink_cuviddec.h ffnvcodec/dynlink_nvcuvid.h" ""
+
 check_cpp_condition windows.h "!WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)" && enable winrt || disable winrt
 
 if ! disabled w32threads && ! enabled pthreads; then
@@ -6263,7 +6266,7 @@ fi
 
 enabled nvenc &&
     check_cc -I$source_path <<EOF || disable nvenc
-#include "compat/nvenc/nvEncodeAPI.h"
+#include <ffnvcodec/nvEncodeAPI.h>
 NV_ENCODE_API_FUNCTION_LIST flist;
 void f(void) { struct { const GUID guid; } s[] = { { NV_ENC_PRESET_HQ_GUID } }; }
 int main(void) { return 0; }