mirror of
https://github.com/opencv/opencv.git
synced 2024-12-01 23:30:06 +08:00
5feca50f58
removed unused context_id2; changed blur size 7x7 to 3x3; added short comments removed unnecessary call to convertFromVASurface() replaced dumpSurface() with writeImage() added infile cmdline parameter, input image loaded by imread()
20 lines
428 B
CMake
20 lines
428 B
CMake
# Main variables:
|
|
# HAVE_VA for conditional compilation OpenCV with/without libva
|
|
|
|
if(UNIX AND NOT ANDROID)
|
|
find_path(
|
|
VA_INCLUDE_DIR
|
|
NAMES va/va.h
|
|
PATHS "/usr/include"
|
|
PATH_SUFFIXES include
|
|
DOC "Path to libva headers")
|
|
endif()
|
|
|
|
if(VA_INCLUDE_DIR)
|
|
set(HAVE_VA TRUE)
|
|
set(VA_LIBRARIES "-lva" "-lva-drm")
|
|
else()
|
|
set(HAVE_VA FALSE)
|
|
message(WARNING "libva installation is not found.")
|
|
endif()
|