mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
d11f13f476
Now that videoconvert and videoscale's are both based on GstVideoConverter and are using the exact same code, it makes much more sense to have one element doing the two operation, and it can be more efficient in some cases (one single path for both operations). This removes the `videoscale` and `videoconvert` plugins but keeps the element but makes them also do both operations (adding some APIs to each element). There is a small change in API for the `videoscale:dither` property which was previously a totally unused boolean, it is now an enum and is used. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/898>
36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
/* GStreamer
|
|
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
|
|
*
|
|
* 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 "gstvideoconvertscale.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
G_DECLARE_FINAL_TYPE (GstVideoScale, gst_video_scale, GST, VIDEO_SCALE,
|
|
GstVideoConvertScale);
|
|
|
|
struct _GstVideoScale
|
|
{
|
|
GstVideoConvertScale parent;
|
|
};
|
|
|
|
GST_ELEMENT_REGISTER_DECLARE (videoscale);
|
|
|
|
G_END_DECLS
|