From 7ae1e25d8d616d3f2c249f11e2dea26e1e393ac1 Mon Sep 17 00:00:00 2001 From: Amir Hassan Date: Sat, 5 Nov 2022 19:14:31 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9e99299b8..74d74edb3 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ # GCV -OpenGL/OpenCL/VAAPI interop demo using my OpenCV-4.x fork (https://github.com/kallaballa/opencv/tree/GCV) +OpenGL/OpenCL/VAAPI interop demo using the 4.x branch of OpenCV (https://github.com/opencv/opencv/tree/GCV) # Instructions -While I try to get the necessary changes into the official OpenCV repo (https://github.com/opencv/opencv/issues/22607 and https://github.com/opencv/opencv/issues/22622) you need to build the OpenCV fork yourself. +You need to build the most recent 4.x branch of OpenCV. ## Build OpenCV ```bash -git clone --branch GCV https://github.com/kallaballa/opencv.git +git clone --branch 4.x https://github.com/opencv/opencv.git cd opencv mkdir build cd build -cmake -DCMAKE_BUILD_TYPE=Release -DWITH_OPENGL=ON -DWITH_VA=ON -DWITH_VA_INTEL=ON -DWITH_QT=ON -DBUILD_PERF_TESTS=OFF -DBUILD_TESTS=OFF .. +cmake -DCMAKE_BUILD_TYPE=Release -DHAVE_EGL_INTEROP=ON -DWITH_OPENGL=ON -DWITH_VA=ON -DWITH_VA_INTEL=ON -DWITH_QT=ON -DBUILD_PERF_TESTS=OFF -DBUILD_TESTS=OFF .. make -j8 sudo make install ``` From 3d9033e56ee9c24992df332e2e3f34493b31877c Mon Sep 17 00:00:00 2001 From: Amir Hassan Date: Sat, 5 Nov 2022 19:20:14 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 74d74edb3..b03f2310c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # GCV -OpenGL/OpenCL/VAAPI interop demo using the 4.x branch of OpenCV (https://github.com/opencv/opencv/tree/GCV) +OpenGL/OpenCL/VAAPI interop demo using the 4.x branch of OpenCV (https://github.com/opencv/opencv/tree/4.x) # Instructions You need to build the most recent 4.x branch of OpenCV.