mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 02:46:33 +00:00
00d04784d3
This introduce a library which contains a set of base classes which handles the parsing and the state tracking for the purpose of decoding different CODECs. Currently H264, H265 and VP9 are supported. These bases classes are used to decode with low level decoding API like DXVA, NVDEC, VDPAU, VAAPI and V4L2 State Less decoders. The new library is named gstreamer-codecs-1.0 / libgstcodecs.
40 lines
1.3 KiB
C
40 lines
1.3 KiB
C
/* GStreamer CODEC Library
|
|
* Copyright (C) 2020 GStreamer developers
|
|
*
|
|
* codecs-prelude.h: prelude include header for gst-codecs library
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef __GST_CODECS_PRELUDE_H__
|
|
#define __GST_CODECS_PRELUDE_H__
|
|
|
|
#ifndef GST_USE_UNSTABLE_API
|
|
#warning "The CODECs library is unstable API and may change in future."
|
|
#warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
|
|
#endif
|
|
|
|
#include <gst/gst.h>
|
|
|
|
#ifndef GST_CODECS_API
|
|
# ifdef BUILDING_GST_CODECS
|
|
# define GST_CODECS_API GST_API_EXPORT /* from config.h */
|
|
# else
|
|
# define GST_CODECS_API GST_API_IMPORT
|
|
# endif
|
|
#endif
|
|
|
|
#endif /* __GST_CODECS_PRELUDE_H__ */
|