2021-10-27 03:08:39 +00:00
|
|
|
/* 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
|
|
|
|
|
2022-02-07 16:34:57 +00:00
|
|
|
/**
|
|
|
|
* GstVaFeature:
|
|
|
|
* @GST_VA_FEATURE_DISABLED: The feature is disabled.
|
|
|
|
* @GST_VA_FEATURE_ENABLED: The feature is enabled.
|
|
|
|
* @GST_VA_FEATURE_AUTO: The feature is enabled automatically.
|
|
|
|
*
|
|
|
|
* Since: 1.22
|
|
|
|
*/
|
2022-03-29 12:52:33 +00:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
GST_VA_FEATURE_DISABLED,
|
|
|
|
GST_VA_FEATURE_ENABLED,
|
|
|
|
GST_VA_FEATURE_AUTO,
|
|
|
|
} GstVaFeature;
|
|
|
|
|
2022-06-24 17:42:36 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
/* jpeg decoder in i965 driver cannot create surfaces with fourcc */
|
|
|
|
GST_VA_HACK_SURFACE_NO_FOURCC = 1 << 0,
|
|
|
|
};
|
|
|
|
|
2022-03-25 14:56:01 +00:00
|
|
|
#include <gst/va/va-prelude.h>
|
2022-03-29 12:52:33 +00:00
|
|
|
#include <gst/va/va-enumtypes.h>
|
2021-10-27 03:08:39 +00:00
|
|
|
#include <gst/va/gstvadisplay.h>
|
2023-03-03 19:12:13 +00:00
|
|
|
#ifdef G_OS_WIN32
|
|
|
|
#include <gst/va/gstvadisplay_win32.h>
|
|
|
|
#else
|
2021-10-27 03:08:39 +00:00
|
|
|
#include <gst/va/gstvadisplay_drm.h>
|
2023-03-03 19:12:13 +00:00
|
|
|
#endif
|
2021-10-27 03:08:39 +00:00
|
|
|
#include <gst/va/gstvadisplay_wrapped.h>
|
2022-03-25 14:56:01 +00:00
|
|
|
|
|
|
|
#include <gst/va/gstvaallocator.h>
|
|
|
|
#include <gst/va/gstvapool.h>
|
|
|
|
|
2021-10-27 03:08:39 +00:00
|
|
|
#include <gst/va/gstvautils.h>
|