Include local copies of DRM and V4L2 codec definitions
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ v4l2_request_drv_video_la_SOURCES = request.c \
|
||||
h265.c \
|
||||
h265.h
|
||||
|
||||
v4l2_request_drv_video_la_CFLAGS = $(DRM_CFLAGS) $(LIBVA_CFLAGS)
|
||||
v4l2_request_drv_video_la_CFLAGS = -I../include $(DRM_CFLAGS) $(LIBVA_CFLAGS)
|
||||
v4l2_request_drv_video_la_LDFLAGS = -module -avoid-version -no-undefined \
|
||||
-Wl,--no-undefined
|
||||
v4l2_request_drv_video_la_LIBADD = $(DRM_LIBS) $(LIBVA_LIBS)
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include <linux/videodev2.h>
|
||||
#include <h264-ctrls.h>
|
||||
|
||||
#include "request.h"
|
||||
#include "surface.h"
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include <linux/videodev2.h>
|
||||
#include <hevc-ctrls.h>
|
||||
|
||||
#include "v4l2.h"
|
||||
|
||||
|
||||
@@ -67,6 +67,10 @@ headers = [
|
||||
'h265.h'
|
||||
]
|
||||
|
||||
includes = [
|
||||
include_directories('../include')
|
||||
]
|
||||
|
||||
cflags = [
|
||||
'-Wall',
|
||||
'-fvisibility=hidden'
|
||||
@@ -83,4 +87,5 @@ v4l2_request_drv_video = shared_module('v4l2_request_drv_video',
|
||||
install_dir: '/usr/lib/dri/',
|
||||
c_args: cflags,
|
||||
sources: [ sources, headers, autoconf ],
|
||||
include_directories: includes,
|
||||
dependencies: deps)
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <sys/mman.h>
|
||||
|
||||
#include <linux/videodev2.h>
|
||||
#include <mpeg2-ctrls.h>
|
||||
|
||||
#include "v4l2.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user