mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
va: Implement the vah265enc plugin for va HEVC encoding.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2036>
This commit is contained in:
parent
a0e61539f8
commit
3d99f24843
3 changed files with 4551 additions and 0 deletions
4516
subprojects/gst-plugins-bad/sys/va/gstvah265enc.c
Normal file
4516
subprojects/gst-plugins-bad/sys/va/gstvah265enc.c
Normal file
File diff suppressed because it is too large
Load diff
34
subprojects/gst-plugins-bad/sys/va/gstvah265enc.h
Normal file
34
subprojects/gst-plugins-bad/sys/va/gstvah265enc.h
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
/* GStreamer
|
||||||
|
* Copyright (C) 2022 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
|
||||||
|
|
||||||
|
#include "gstvadevice.h"
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
gboolean gst_va_h265_enc_register (GstPlugin * plugin,
|
||||||
|
GstVaDevice * device,
|
||||||
|
GstCaps * sink_caps,
|
||||||
|
GstCaps * src_caps,
|
||||||
|
guint rank,
|
||||||
|
VAEntrypoint entrypoint);
|
||||||
|
|
||||||
|
G_END_DECLS
|
|
@ -15,6 +15,7 @@ va_sources = [
|
||||||
'gstvah264dec.c',
|
'gstvah264dec.c',
|
||||||
'gstvah264enc.c',
|
'gstvah264enc.c',
|
||||||
'gstvah265dec.c',
|
'gstvah265dec.c',
|
||||||
|
'gstvah265enc.c',
|
||||||
'gstvajpegdec.c',
|
'gstvajpegdec.c',
|
||||||
'gstvampeg2dec.c',
|
'gstvampeg2dec.c',
|
||||||
'gstvaprofile.c',
|
'gstvaprofile.c',
|
||||||
|
|
Loading…
Reference in a new issue