2019-03-29 22:58:56 +00:00
|
|
|
/*
|
|
|
|
* Copyright(c) 2019 Intel Corporation
|
|
|
|
* Authors: Jun Tian <jun.tian@intel.com> Xavier Hallade <xavier.hallade@intel.com>
|
|
|
|
* SPDX - License - Identifier: LGPL-2.1-or-later
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _GST_SVTAV1ENC_H_
|
|
|
|
#define _GST_SVTAV1ENC_H_
|
|
|
|
|
2023-09-29 13:07:42 +00:00
|
|
|
#include <EbSvtAv1.h>
|
|
|
|
#include <EbSvtAv1Enc.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* SVT-AV1 headers define TRUE and FALSE defines which can conflict
|
|
|
|
* or replace glib's defines. This is why we include the SVT-AV1
|
|
|
|
* headers first and the glib.h so we will only be using glib's
|
|
|
|
* TRUE/FALSE defines.
|
|
|
|
*/
|
|
|
|
#ifdef TRUE
|
|
|
|
#undef TRUE
|
|
|
|
#endif
|
|
|
|
#ifdef FALSE
|
|
|
|
#undef FALSE
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
2019-03-29 22:58:56 +00:00
|
|
|
#include <string.h>
|
|
|
|
#include <gst/video/video.h>
|
|
|
|
#include <gst/video/gstvideoencoder.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
2023-02-03 19:33:17 +00:00
|
|
|
|
2023-01-12 19:38:00 +00:00
|
|
|
#define GST_TYPE_SVTAV1ENC (gst_svtav1enc_get_type())
|
2023-02-03 19:33:17 +00:00
|
|
|
|
|
|
|
G_DECLARE_FINAL_TYPE (GstSvtAv1Enc, gst_svtav1enc, GST, SVTAV1ENC, GstVideoEncoder);
|
|
|
|
|
|
|
|
GST_ELEMENT_REGISTER_DECLARE (svtav1enc);
|
2019-03-29 22:58:56 +00:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
#endif
|