Rename va_config to config for consistency

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
Paul Kocialkowski
2018-04-23 17:09:19 +02:00
parent 6be573d090
commit cd31cb568c
8 changed files with 20 additions and 14 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ compile
missing missing
Makefile Makefile
Makefile.in Makefile.in
config.h autoconfig.h
config.h.in autoconfig.h.in
stamp-h1 stamp-h1
aclocal.m4 aclocal.m4
autom4te.cache autom4te.cache
+1 -1
View File
@@ -22,7 +22,7 @@ AC_INIT([liva_wrapper], [sunxi_cedrus_version],
AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_SRCDIR([Makefile.am])
AM_INIT_AUTOMAKE([1.9 tar-ustar]) AM_INIT_AUTOMAKE([1.9 tar-ustar])
AC_CONFIG_HEADERS([src/config.h]) AC_CONFIG_HEADERS([src/autoconfig.h])
SUNXI_CEDRUS_MAJOR_VERSION=sunxi_cedrus_major_version SUNXI_CEDRUS_MAJOR_VERSION=sunxi_cedrus_major_version
SUNXI_CEDRUS_MINOR_VERSION=sunxi_cedrus_minor_version SUNXI_CEDRUS_MINOR_VERSION=sunxi_cedrus_minor_version
+3 -3
View File
@@ -19,13 +19,13 @@ driver_libs = \
$(X11_DEPS_LIBS) \ $(X11_DEPS_LIBS) \
$(LIBVA_DEPS_LIBS) $(LIBVA_DEPS_LIBS)
source_c = sunxi_cedrus.c object_heap.c buffer.c va_config.c \ source_c = sunxi_cedrus.c object_heap.c buffer.c config.c \
context.c image.c mpeg2.c picture.c subpicture.c surface.c context.c image.c mpeg2.c picture.c subpicture.c surface.c
source_s = \ source_s = \
tiled_yuv.S tiled_yuv.S
source_h = sunxi_cedrus_drv_video.h object_heap.h buffer.h va_config.h \ source_h = sunxi_cedrus_drv_video.h object_heap.h buffer.h config.h \
context.h image.h mpeg2.h picture.h subpicture.h surface.h \ context.h image.h mpeg2.h picture.h subpicture.h surface.h \
tiled_yuv.h tiled_yuv.h
@@ -37,4 +37,4 @@ sunxi_cedrus_drv_video_la_LIBADD = $(driver_libs)
sunxi_cedrus_drv_video_la_SOURCES = $(source_c) $(source_s) sunxi_cedrus_drv_video_la_SOURCES = $(source_c) $(source_s)
noinst_HEADERS = $(source_h) noinst_HEADERS = $(source_h)
MAINTAINERCLEANFILES = Makefile.in config.h.in MAINTAINERCLEANFILES = Makefile.in autoconfig.h.in
+10 -4
View File
@@ -24,7 +24,7 @@
*/ */
#include "sunxi_cedrus.h" #include "sunxi_cedrus.h"
#include "va_config.h" #include "config.h"
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
@@ -233,12 +233,18 @@ VAStatus SunxiCedrusQueryConfigAttributes(VADriverContextP context,
VAStatus SunxiCedrusQueryDisplayAttributes(VADriverContextP context, VAStatus SunxiCedrusQueryDisplayAttributes(VADriverContextP context,
VADisplayAttribute *attributes, int *attributes_count) VADisplayAttribute *attributes, int *attributes_count)
{ return VA_STATUS_ERROR_UNKNOWN; } {
return VA_STATUS_ERROR_UNIMPLEMENTED;
}
VAStatus SunxiCedrusGetDisplayAttributes(VADriverContextP context, VAStatus SunxiCedrusGetDisplayAttributes(VADriverContextP context,
VADisplayAttribute *attributes, int *attributes_count) VADisplayAttribute *attributes, int *attributes_count)
{ return VA_STATUS_ERROR_UNKNOWN; } {
return VA_STATUS_ERROR_UNIMPLEMENTED;
}
VAStatus SunxiCedrusSetDisplayAttributes(VADriverContextP context, VAStatus SunxiCedrusSetDisplayAttributes(VADriverContextP context,
VADisplayAttribute *attributes, int *attributes_count) VADisplayAttribute *attributes, int *attributes_count)
{ return VA_STATUS_ERROR_UNKNOWN; } {
return VA_STATUS_ERROR_UNIMPLEMENTED;
}
View File
+1 -1
View File
@@ -25,7 +25,7 @@
#include "sunxi_cedrus.h" #include "sunxi_cedrus.h"
#include "context.h" #include "context.h"
#include "va_config.h" #include "config.h"
#include "surface.h" #include "surface.h"
#include <stdlib.h> #include <stdlib.h>
+1 -1
View File
@@ -28,7 +28,7 @@
#include "buffer.h" #include "buffer.h"
#include "context.h" #include "context.h"
#include "surface.h" #include "surface.h"
#include "va_config.h" #include "config.h"
#include "mpeg2.h" #include "mpeg2.h"
+2 -2
View File
@@ -29,10 +29,10 @@
#include "picture.h" #include "picture.h"
#include "subpicture.h" #include "subpicture.h"
#include "surface.h" #include "surface.h"
#include "va_config.h"
#include "config.h" #include "config.h"
#include "autoconfig.h"
#include <va/va_backend.h> #include <va/va_backend.h>
#include "sunxi_cedrus.h" #include "sunxi_cedrus.h"