diff options
Diffstat (limited to 'sources/generated/Gst.Video')
-rw-r--r-- | sources/generated/Gst.Video/Constants.cs | 2 | ||||
-rw-r--r-- | sources/generated/Gst.Video/Global.cs | 45 | ||||
-rw-r--r-- | sources/generated/Gst.Video/VideoDecoder.cs | 35 | ||||
-rw-r--r-- | sources/generated/Gst.Video/VideoFormat.cs | 2 | ||||
-rw-r--r-- | sources/generated/Gst.Video/VideoTileMode.cs | 1 | ||||
-rw-r--r-- | sources/generated/Gst.Video/VideoTransferFunction.cs | 1 |
6 files changed, 50 insertions, 36 deletions
diff --git a/sources/generated/Gst.Video/Constants.cs b/sources/generated/Gst.Video/Constants.cs index 457db9e..34b4bef 100644 --- a/sources/generated/Gst.Video/Constants.cs +++ b/sources/generated/Gst.Video/Constants.cs @@ -68,7 +68,7 @@ namespace Gst.Video { public const string VIDEO_DECODER_SRC_NAME = @"src"; public const string VIDEO_ENCODER_SINK_NAME = @"sink"; public const string VIDEO_ENCODER_SRC_NAME = @"src"; - public const string VIDEO_FORMATS_ALL = @"{ AYUV64, ARGB64, GBRA_12BE, GBRA_12LE, Y412_BE, Y412_LE, A444_10BE, GBRA_10BE, A444_10LE, GBRA_10LE, A422_10BE, A422_10LE, A420_10BE, A420_10LE, Y410, RGB10A2_LE, BGR10A2_LE, GBRA, ABGR, VUYA, BGRA, AYUV, ARGB, RGBA, A420, Y444_16BE, Y444_16LE, v216, P016_BE, P016_LE, Y444_12BE, GBR_12BE, Y444_12LE, GBR_12LE, I422_12BE, I422_12LE, Y212_BE, Y212_LE, I420_12BE, I420_12LE, P012_BE, P012_LE, Y444_10BE, GBR_10BE, Y444_10LE, GBR_10LE, r210, I422_10BE, I422_10LE, NV16_10LE32, Y210, v210, UYVP, I420_10BE, I420_10LE, P010_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, Y444, GBR, NV24, xBGR, BGRx, xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, YV12, NV21, NV12, NV12_64Z32, Y41B, IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_BE, GRAY16_LE, GRAY10_LE32, GRAY8 }"; + public const string VIDEO_FORMATS_ALL = @"{ AYUV64, ARGB64, GBRA_12BE, GBRA_12LE, Y412_BE, Y412_LE, A444_10BE, GBRA_10BE, A444_10LE, GBRA_10LE, A422_10BE, A422_10LE, A420_10BE, A420_10LE, Y410, RGB10A2_LE, BGR10A2_LE, GBRA, ABGR, VUYA, BGRA, AYUV, ARGB, RGBA, A420, Y444_16BE, Y444_16LE, v216, P016_BE, P016_LE, Y444_12BE, GBR_12BE, Y444_12LE, GBR_12LE, I422_12BE, I422_12LE, Y212_BE, Y212_LE, I420_12BE, I420_12LE, P012_BE, P012_LE, Y444_10BE, GBR_10BE, Y444_10LE, GBR_10LE, r210, I422_10BE, I422_10LE, NV16_10LE32, Y210, v210, UYVP, I420_10BE, I420_10LE, P010_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, Y444, GBR, NV24, xBGR, BGRx, xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, YV12, NV21, NV12, NV12_64Z32, NV12_4L4, NV12_32L32, Y41B, IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_BE, GRAY16_LE, GRAY10_LE32, GRAY8 }"; public const string VIDEO_FPS_RANGE = @"(fraction) [ 0, max ]"; public const int VIDEO_MAX_COMPONENTS = 4; public const int VIDEO_MAX_PLANES = 4; 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 } } diff --git a/sources/generated/Gst.Video/VideoDecoder.cs b/sources/generated/Gst.Video/VideoDecoder.cs index b3598ac..9856f49 100644 --- a/sources/generated/Gst.Video/VideoDecoder.cs +++ b/sources/generated/Gst.Video/VideoDecoder.cs @@ -18,6 +18,24 @@ namespace Gst.Video { CreateNativeObject (new string [0], new GLib.Value [0]); } + [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern int gst_video_decoder_get_max_errors(IntPtr raw); + + [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] + static extern void gst_video_decoder_set_max_errors(IntPtr raw, int num); + + [GLib.Property ("max-errors")] + public int MaxErrors { + get { + int raw_ret = gst_video_decoder_get_max_errors(Handle); + int ret = raw_ret; + return ret; + } + set { + gst_video_decoder_set_max_errors(Handle, value); + } + } + [GLib.Property ("qos")] public bool Qos { get { @@ -1533,23 +1551,6 @@ namespace Gst.Video { } [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern int gst_video_decoder_get_max_errors(IntPtr raw); - - [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] - static extern void gst_video_decoder_set_max_errors(IntPtr raw, int num); - - public int MaxErrors { - get { - int raw_ret = gst_video_decoder_get_max_errors(Handle); - int ret = raw_ret; - return ret; - } - set { - gst_video_decoder_set_max_errors(Handle, value); - } - } - - [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] static extern bool gst_video_decoder_get_needs_format(IntPtr raw); [DllImport("gstvideo-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)] diff --git a/sources/generated/Gst.Video/VideoFormat.cs b/sources/generated/Gst.Video/VideoFormat.cs index 373684b..f44ab52 100644 --- a/sources/generated/Gst.Video/VideoFormat.cs +++ b/sources/generated/Gst.Video/VideoFormat.cs @@ -107,6 +107,8 @@ namespace Gst.Video { Y212Le = 94, Y412Be = 95, Y412Le = 96, + Nv124l4 = 97, + Nv1232l32 = 98, } internal class VideoFormatGType { diff --git a/sources/generated/Gst.Video/VideoTileMode.cs b/sources/generated/Gst.Video/VideoTileMode.cs index c283e8e..ffaa249 100644 --- a/sources/generated/Gst.Video/VideoTileMode.cs +++ b/sources/generated/Gst.Video/VideoTileMode.cs @@ -12,6 +12,7 @@ namespace Gst.Video { Unknown = 0, Zflipz2x2 = 65536, + Linear = 131072, } internal class VideoTileModeGType { diff --git a/sources/generated/Gst.Video/VideoTransferFunction.cs b/sources/generated/Gst.Video/VideoTransferFunction.cs index 6addc95..9666327 100644 --- a/sources/generated/Gst.Video/VideoTransferFunction.cs +++ b/sources/generated/Gst.Video/VideoTransferFunction.cs @@ -26,6 +26,7 @@ namespace Gst.Video { Bt202010 = 13, Smpte2084 = 14, AribStdB67 = 15, + Bt601 = 16, } internal class VideoTransferFunctionGType { |