mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
fe72bf6053
This implementation is similar to what we've done for nvcodec plugin. Since supported resolution, profiles, and formats are device dependent ones, single template caps cannot represent them, so this modification will help autoplugging and fallback. Note that the legacy gpu list and list of resolution to query were taken from chromium's code.
34 lines
1.2 KiB
C
34 lines
1.2 KiB
C
/* GStreamer
|
|
* Copyright (C) 2019 Seungha Yang <seungha.yang@navercorp.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.
|
|
*/
|
|
|
|
#ifndef __GST_D3D11_H265_DEC_H__
|
|
#define __GST_D3D11_H265_DEC_H__
|
|
|
|
#include "gstd3d11decoder.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
void gst_d3d11_h265_dec_register (GstPlugin * plugin,
|
|
GstD3D11Device * device,
|
|
GstD3D11Decoder * decoder,
|
|
guint rank);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GST_D3D11_H265_DEC_H__ */
|