[vlc-commits] avcodec: rename va_surface_internal.h to va_surface.h

Steve Lhomme git at videolan.org
Fri Nov 29 11:16:35 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Nov 29 11:16:20 2019 +0100| [a6392963dd77996160cdad6d8715cdff0774aa92] | committer: Steve Lhomme

avcodec: rename va_surface_internal.h to va_surface.h

It's not internal code anymore.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a6392963dd77996160cdad6d8715cdff0774aa92
---

 modules/codec/Makefile.am                                     | 6 +++---
 modules/codec/avcodec/directx_va.h                            | 2 +-
 modules/codec/avcodec/va_surface.c                            | 2 +-
 modules/codec/avcodec/{va_surface_internal.h => va_surface.h} | 2 +-
 modules/codec/avcodec/vaapi.c                                 | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 4413c0eb0e..0e26cf627a 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -398,7 +398,7 @@ endif
 
 libvaapi_plugin_la_SOURCES = \
 	codec/avcodec/vaapi.c hw/vaapi/vlc_vaapi.c hw/vaapi/vlc_vaapi.h \
-	codec/avcodec/va_surface.c codec/avcodec/va_surface_internal.h
+	codec/avcodec/va_surface.c codec/avcodec/va_surface.h
 libvaapi_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
 libvaapi_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVCODEC_CFLAGS)
 libvaapi_plugin_la_LIBADD = $(LIBVA_LIBS)
@@ -415,7 +415,7 @@ endif
 
 libdxva2_plugin_la_SOURCES = \
 	codec/avcodec/dxva2.c codec/avcodec/directx_va.c codec/avcodec/directx_va.h \
-	codec/avcodec/va_surface.c codec/avcodec/va_surface_internal.h \
+	codec/avcodec/va_surface.c codec/avcodec/va_surface.h \
 	packetizer/h264_nal.c packetizer/h264_nal.h \
 	packetizer/hevc_nal.c packetizer/hevc_nal.h \
 	codec/avcodec/dxva_blacklist.c
@@ -433,7 +433,7 @@ endif
 
 libd3d11va_plugin_la_SOURCES = \
 	codec/avcodec/d3d11va.c codec/avcodec/directx_va.c codec/avcodec/directx_va.h \
-        codec/avcodec/va_surface.c codec/avcodec/va_surface_internal.h \
+        codec/avcodec/va_surface.c codec/avcodec/va_surface.h \
 	packetizer/h264_nal.c packetizer/h264_nal.h \
 	packetizer/hevc_nal.c packetizer/hevc_nal.h \
 	codec/avcodec/dxva_blacklist.c
diff --git a/modules/codec/avcodec/directx_va.h b/modules/codec/avcodec/directx_va.h
index 5957c7d62e..80663674ef 100644
--- a/modules/codec/avcodec/directx_va.h
+++ b/modules/codec/avcodec/directx_va.h
@@ -41,7 +41,7 @@
 #include <unknwn.h>
 #include <stdatomic.h>
 
-#include "va_surface_internal.h"
+#include "va_surface.h"
 
 typedef struct input_list_t {
     void (*pf_release)(struct input_list_t *);
diff --git a/modules/codec/avcodec/va_surface.c b/modules/codec/avcodec/va_surface.c
index 63f2205633..9c97a70985 100644
--- a/modules/codec/avcodec/va_surface.c
+++ b/modules/codec/avcodec/va_surface.c
@@ -34,7 +34,7 @@
 #include <vlc_codec.h>
 #include <vlc_picture.h>
 
-#include "va_surface_internal.h"
+#include "va_surface.h"
 
 #include "avcodec.h"
 
diff --git a/modules/codec/avcodec/va_surface_internal.h b/modules/codec/avcodec/va_surface.h
similarity index 98%
rename from modules/codec/avcodec/va_surface_internal.h
rename to modules/codec/avcodec/va_surface.h
index c3424a79af..b0ede98179 100644
--- a/modules/codec/avcodec/va_surface_internal.h
+++ b/modules/codec/avcodec/va_surface.h
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * va_surface_internal.h: libavcodec Generic Video Acceleration helpers
+ * va_surface.h: libavcodec Generic Video Acceleration helpers
  *****************************************************************************
  * Copyright (C) 2009 Geoffroy Couprie
  * Copyright (C) 2009 Laurent Aimar
diff --git a/modules/codec/avcodec/vaapi.c b/modules/codec/avcodec/vaapi.c
index daec9b4b4e..36cb5a1487 100644
--- a/modules/codec/avcodec/vaapi.c
+++ b/modules/codec/avcodec/vaapi.c
@@ -47,7 +47,7 @@
 #include "avcodec.h"
 #include "va.h"
 #include "../../hw/vaapi/vlc_vaapi.h"
-#include "va_surface_internal.h"
+#include "va_surface.h"
 
 struct vlc_va_sys_t
 {



More information about the vlc-commits mailing list