summaryrefslogtreecommitdiff
path: root/sources/generated/Gst.Video/Global.cs
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2020-10-16 16:12:36 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2020-10-16 16:21:17 -0400
commitdbae3e3ff04f3589b01f670d52bc749e36e465dc (patch)
tree7e1a614add80581645606fa11689bea21d3a8486 /sources/generated/Gst.Video/Global.cs
parent9d7f360da7e3e0b3cf16adef83778d358aa35da7 (diff)
Update bindings to 1.18
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-sharp/-/merge_requests/25>
Diffstat (limited to 'sources/generated/Gst.Video/Global.cs')
-rw-r--r--sources/generated/Gst.Video/Global.cs45
1 files changed, 27 insertions, 18 deletions
diff --git a/sources/generated/Gst.Video/Global.cs b/sources/generated/Gst.Video/Global.cs
index 6c00ad3..016da9c 100644
--- a/sources/generated/Gst.Video/Global.cs
+++ b/sources/generated/Gst.Video/Global.cs
@@ -619,24 +619,6 @@ namespace Gst.Video {
}
[DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
- static extern int gst_video_color_transfer_from_iso(uint value);
-
- public static Gst.Video.VideoTransferFunction VideoColorTransferFromIso(uint value) {
- int raw_ret = gst_video_color_transfer_from_iso(value);
- Gst.Video.VideoTransferFunction ret = (Gst.Video.VideoTransferFunction) raw_ret;
- return ret;
- }
-
- [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
- static extern uint gst_video_color_transfer_to_iso(int func);
-
- public static uint VideoColorTransferToIso(Gst.Video.VideoTransferFunction func) {
- uint raw_ret = gst_video_color_transfer_to_iso((int) func);
- uint ret = raw_ret;
- return ret;
- }
-
- [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
static extern unsafe IntPtr gst_video_convert_sample(IntPtr sample, IntPtr to_caps, ulong timeout, out IntPtr error);
public static unsafe Gst.Sample VideoConvertSample(Gst.Sample sample, Gst.Caps to_caps, ulong timeout) {
@@ -1111,6 +1093,33 @@ namespace Gst.Video {
return ret;
}
+ [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
+ static extern int gst_video_transfer_function_from_iso(uint value);
+
+ public static Gst.Video.VideoTransferFunction VideoTransferFunctionFromIso(uint value) {
+ int raw_ret = gst_video_transfer_function_from_iso(value);
+ Gst.Video.VideoTransferFunction ret = (Gst.Video.VideoTransferFunction) raw_ret;
+ return ret;
+ }
+
+ [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
+ static extern bool gst_video_transfer_function_is_equivalent(int from_func, uint from_bpp, int to_func, uint to_bpp);
+
+ public static bool VideoTransferFunctionIsEquivalent(Gst.Video.VideoTransferFunction from_func, uint from_bpp, Gst.Video.VideoTransferFunction to_func, uint to_bpp) {
+ bool raw_ret = gst_video_transfer_function_is_equivalent((int) from_func, from_bpp, (int) to_func, to_bpp);
+ bool ret = raw_ret;
+ return ret;
+ }
+
+ [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
+ static extern uint gst_video_transfer_function_to_iso(int func);
+
+ public static uint VideoTransferFunctionToIso(Gst.Video.VideoTransferFunction func) {
+ uint raw_ret = gst_video_transfer_function_to_iso((int) func);
+ uint ret = raw_ret;
+ return ret;
+ }
+
#endregion
}
}