mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-05 22:12:34 +00:00
va: Add a gstva.h to include all va lib header files.
And replacing all va lib headers with this new header files when including. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1256>
This commit is contained in:
parent
d5c535744b
commit
ea9b350240
16 changed files with 41 additions and 16 deletions
31
subprojects/gst-plugins-bad/gst-libs/gst/va/gstva.h
Normal file
31
subprojects/gst-plugins-bad/gst-libs/gst/va/gstva.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
/* GStreamer
|
||||
* Copyright (C) 2021 Intel Corporation
|
||||
* Author: He Junyan <junyan.he@intel.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef GST_USE_UNSTABLE_API
|
||||
#pragma message ("The va library from gst-plugins-bad is unstable API and may change in future.")
|
||||
#pragma message ("You can define GST_USE_UNSTABLE_API to avoid this warning.")
|
||||
#endif
|
||||
|
||||
#include <gst/va/gstvadisplay.h>
|
||||
#include <gst/va/gstvadisplay_drm.h>
|
||||
#include <gst/va/gstvadisplay_wrapped.h>
|
||||
#include <gst/va/gstvautils.h>
|
|
@ -6,6 +6,7 @@ va_sources = [
|
|||
]
|
||||
|
||||
va_headers = [
|
||||
'gstva.h',
|
||||
'gstvadisplay.h',
|
||||
'gstvadisplay_drm.h',
|
||||
'gstvadisplay_wrapped.h',
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <gst/allocators/allocators.h>
|
||||
#include <gst/va/gstvadisplay.h>
|
||||
#include <gst/va/gstva.h>
|
||||
#include <gst/video/video.h>
|
||||
#include <stdint.h>
|
||||
#include <va/va.h>
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include <gst/va/gstvautils.h>
|
||||
|
||||
#include "gstvabasedec.h"
|
||||
|
||||
#include "gstvaallocator.h"
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <gst/va/gstvautils.h>
|
||||
|
||||
#include "gstvabasetransform.h"
|
||||
|
||||
#include "gstvaallocator.h"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <gst/va/gstvadisplay.h>
|
||||
#include <gst/va/gstva.h>
|
||||
#include <va/va.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include "gstvacaps.h"
|
||||
#include "gstvadisplay_priv.h"
|
||||
#include "gstvavideoformat.h"
|
||||
#include <gst/va/gstvadisplay_wrapped.h>
|
||||
|
||||
struct _GstVaDecoder
|
||||
{
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <gst/va/gstvadisplay.h>
|
||||
#include <gst/va/gstva.h>
|
||||
#include <va/va.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
|
|
@ -54,7 +54,6 @@
|
|||
#include <gst/video/video.h>
|
||||
|
||||
#include <va/va_drmcommon.h>
|
||||
#include <gst/va/gstvautils.h>
|
||||
|
||||
#include "gstvaallocator.h"
|
||||
#include "gstvabasetransform.h"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#include <gst/va/gstvadisplay_drm.h>
|
||||
#include <gst/va/gstva.h>
|
||||
|
||||
#define GST_TYPE_VA_DEVICE (gst_va_device_get_type())
|
||||
#define GST_IS_VA_DEVICE(obj) (GST_IS_MINI_OBJECT_TYPE((obj), GST_TYPE_VA_DEVICE))
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <gst/va/gstvadisplay.h>
|
||||
#include <gst/va/gstva.h>
|
||||
#include <gst/video/video.h>
|
||||
|
||||
#include <va/va.h>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <gst/va/gstvadisplay.h>
|
||||
#include <gst/va/gstva.h>
|
||||
#include <gst/video/video.h>
|
||||
#include <va/va.h>
|
||||
|
||||
|
|
|
@ -68,7 +68,6 @@
|
|||
#include "gstvavpp.h"
|
||||
|
||||
#include <gst/video/video.h>
|
||||
#include <gst/va/gstvautils.h>
|
||||
|
||||
#include <va/va_drmcommon.h>
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <gst/va/gstvadisplay.h>
|
||||
#include <gst/va/gstva.h>
|
||||
#include <gst/video/video.h>
|
||||
#include <va/va.h>
|
||||
#include <va/va_drmcommon.h>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <gst/gst.h>
|
||||
#include <gst/app/gstappsink.h>
|
||||
#include <gst/video/video.h>
|
||||
#include <gst/va/gstvadisplay.h>
|
||||
#include <gst/va/gstva.h>
|
||||
|
||||
#include <va/va_x11.h>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include <gst/video/video.h>
|
||||
#include <gst/controller/gstinterpolationcontrolsource.h>
|
||||
#include <gst/controller/gstdirectcontrolbinding.h>
|
||||
#include <gst/va/gstvadisplay.h>
|
||||
#include <gst/va/gstva.h>
|
||||
|
||||
#define CHANGE_DIR_WITH_EVENT 0
|
||||
|
||||
|
|
Loading…
Reference in a new issue