1f3f03b932
VAAPI (Video Acceleration API) enables hardware accelerated video decode/encode at various entry-points (VLD, IDCT, Motion Compensation etc.) for the prevailing coding standards today (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).
18 lines
401 B
Text
18 lines
401 B
Text
$NetBSD: patch-ab,v 1.1.1.1 2011/01/19 04:15:41 jmcneill Exp $
|
|
|
|
Fix v4l2 header path on NetBSD.
|
|
|
|
--- va/va_backend_tpi.h.orig 2011-01-19 01:42:46.000000000 +0000
|
|
+++ va/va_backend_tpi.h
|
|
@@ -32,7 +32,11 @@
|
|
#include <va/va.h>
|
|
#include <va/va_backend.h>
|
|
|
|
+#if defined(__linux__)
|
|
#include <linux/videodev2.h>
|
|
+#elif defined(__NetBSD__)
|
|
+#include <sys/videoio.h>
|
|
+#endif
|
|
|
|
struct VADriverVTableTPI
|
|
{
|