1 /* 2 * This file is part of gtkD. 3 * 4 * gtkD is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU Lesser General Public License 6 * as published by the Free Software Foundation; either version 3 7 * of the License, or (at your option) any later version, with 8 * some exceptions, please read the COPYING file. 9 * 10 * gtkD is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public License 16 * along with gtkD; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA 18 */ 19 20 // generated automatically - do not change 21 // find conversion definition on APILookup.txt 22 // implement new conversion functionalities on the wrap.utils pakage 23 24 25 module gst.app.c.functions; 26 27 import std.stdio; 28 import gst.app.c.types; 29 import gtkd.Loader; 30 31 version (Windows) 32 static immutable LIBRARY_GSTAPP = ["libgstapp-1.0-0.dll"]; 33 else version (OSX) 34 static immutable LIBRARY_GSTAPP = ["libgstapp-1.0.0.dylib"]; 35 else 36 static immutable LIBRARY_GSTAPP = ["libgstapp-1.0.so.0"]; 37 38 shared static this() 39 { 40 // gst.app.AppSink 41 42 Linker.link(gst_app_sink_get_type, "gst_app_sink_get_type", LIBRARY_GSTAPP); 43 Linker.link(gst_app_sink_get_buffer_list_support, "gst_app_sink_get_buffer_list_support", LIBRARY_GSTAPP); 44 Linker.link(gst_app_sink_get_caps, "gst_app_sink_get_caps", LIBRARY_GSTAPP); 45 Linker.link(gst_app_sink_get_drop, "gst_app_sink_get_drop", LIBRARY_GSTAPP); 46 Linker.link(gst_app_sink_get_emit_signals, "gst_app_sink_get_emit_signals", LIBRARY_GSTAPP); 47 Linker.link(gst_app_sink_get_max_buffers, "gst_app_sink_get_max_buffers", LIBRARY_GSTAPP); 48 Linker.link(gst_app_sink_get_wait_on_eos, "gst_app_sink_get_wait_on_eos", LIBRARY_GSTAPP); 49 Linker.link(gst_app_sink_is_eos, "gst_app_sink_is_eos", LIBRARY_GSTAPP); 50 Linker.link(gst_app_sink_pull_preroll, "gst_app_sink_pull_preroll", LIBRARY_GSTAPP); 51 Linker.link(gst_app_sink_pull_sample, "gst_app_sink_pull_sample", LIBRARY_GSTAPP); 52 Linker.link(gst_app_sink_set_buffer_list_support, "gst_app_sink_set_buffer_list_support", LIBRARY_GSTAPP); 53 Linker.link(gst_app_sink_set_callbacks, "gst_app_sink_set_callbacks", LIBRARY_GSTAPP); 54 Linker.link(gst_app_sink_set_caps, "gst_app_sink_set_caps", LIBRARY_GSTAPP); 55 Linker.link(gst_app_sink_set_drop, "gst_app_sink_set_drop", LIBRARY_GSTAPP); 56 Linker.link(gst_app_sink_set_emit_signals, "gst_app_sink_set_emit_signals", LIBRARY_GSTAPP); 57 Linker.link(gst_app_sink_set_max_buffers, "gst_app_sink_set_max_buffers", LIBRARY_GSTAPP); 58 Linker.link(gst_app_sink_set_wait_on_eos, "gst_app_sink_set_wait_on_eos", LIBRARY_GSTAPP); 59 Linker.link(gst_app_sink_try_pull_preroll, "gst_app_sink_try_pull_preroll", LIBRARY_GSTAPP); 60 Linker.link(gst_app_sink_try_pull_sample, "gst_app_sink_try_pull_sample", LIBRARY_GSTAPP); 61 62 // gst.app.AppSrc 63 64 Linker.link(gst_app_src_get_type, "gst_app_src_get_type", LIBRARY_GSTAPP); 65 Linker.link(gst_app_src_end_of_stream, "gst_app_src_end_of_stream", LIBRARY_GSTAPP); 66 Linker.link(gst_app_src_get_caps, "gst_app_src_get_caps", LIBRARY_GSTAPP); 67 Linker.link(gst_app_src_get_current_level_bytes, "gst_app_src_get_current_level_bytes", LIBRARY_GSTAPP); 68 Linker.link(gst_app_src_get_duration, "gst_app_src_get_duration", LIBRARY_GSTAPP); 69 Linker.link(gst_app_src_get_emit_signals, "gst_app_src_get_emit_signals", LIBRARY_GSTAPP); 70 Linker.link(gst_app_src_get_latency, "gst_app_src_get_latency", LIBRARY_GSTAPP); 71 Linker.link(gst_app_src_get_max_bytes, "gst_app_src_get_max_bytes", LIBRARY_GSTAPP); 72 Linker.link(gst_app_src_get_size, "gst_app_src_get_size", LIBRARY_GSTAPP); 73 Linker.link(gst_app_src_get_stream_type, "gst_app_src_get_stream_type", LIBRARY_GSTAPP); 74 Linker.link(gst_app_src_push_buffer, "gst_app_src_push_buffer", LIBRARY_GSTAPP); 75 Linker.link(gst_app_src_push_sample, "gst_app_src_push_sample", LIBRARY_GSTAPP); 76 Linker.link(gst_app_src_set_callbacks, "gst_app_src_set_callbacks", LIBRARY_GSTAPP); 77 Linker.link(gst_app_src_set_duration, "gst_app_src_set_duration", LIBRARY_GSTAPP); 78 Linker.link(gst_app_src_set_emit_signals, "gst_app_src_set_emit_signals", LIBRARY_GSTAPP); 79 Linker.link(gst_app_src_set_latency, "gst_app_src_set_latency", LIBRARY_GSTAPP); 80 Linker.link(gst_app_src_set_max_bytes, "gst_app_src_set_max_bytes", LIBRARY_GSTAPP); 81 Linker.link(gst_app_src_set_size, "gst_app_src_set_size", LIBRARY_GSTAPP); 82 Linker.link(gst_app_src_set_stream_type, "gst_app_src_set_stream_type", LIBRARY_GSTAPP); 83 Linker.link(gst_app_src_set_caps, "gst_app_src_set_caps", LIBRARY_GSTAPP); 84 } 85 86 __gshared extern(C) 87 { 88 89 // gst.app.AppSink 90 91 GType function() c_gst_app_sink_get_type; 92 int function(GstAppSink* appsink) c_gst_app_sink_get_buffer_list_support; 93 GstCaps* function(GstAppSink* appsink) c_gst_app_sink_get_caps; 94 int function(GstAppSink* appsink) c_gst_app_sink_get_drop; 95 int function(GstAppSink* appsink) c_gst_app_sink_get_emit_signals; 96 uint function(GstAppSink* appsink) c_gst_app_sink_get_max_buffers; 97 int function(GstAppSink* appsink) c_gst_app_sink_get_wait_on_eos; 98 int function(GstAppSink* appsink) c_gst_app_sink_is_eos; 99 GstSample* function(GstAppSink* appsink) c_gst_app_sink_pull_preroll; 100 GstSample* function(GstAppSink* appsink) c_gst_app_sink_pull_sample; 101 void function(GstAppSink* appsink, int enableLists) c_gst_app_sink_set_buffer_list_support; 102 void function(GstAppSink* appsink, GstAppSinkCallbacks* callbacks, void* userData, GDestroyNotify notify) c_gst_app_sink_set_callbacks; 103 void function(GstAppSink* appsink, GstCaps* caps) c_gst_app_sink_set_caps; 104 void function(GstAppSink* appsink, int drop) c_gst_app_sink_set_drop; 105 void function(GstAppSink* appsink, int emit) c_gst_app_sink_set_emit_signals; 106 void function(GstAppSink* appsink, uint max) c_gst_app_sink_set_max_buffers; 107 void function(GstAppSink* appsink, int wait) c_gst_app_sink_set_wait_on_eos; 108 GstSample* function(GstAppSink* appsink, GstClockTime timeout) c_gst_app_sink_try_pull_preroll; 109 GstSample* function(GstAppSink* appsink, GstClockTime timeout) c_gst_app_sink_try_pull_sample; 110 111 // gst.app.AppSrc 112 113 GType function() c_gst_app_src_get_type; 114 GstFlowReturn function(GstAppSrc* appsrc) c_gst_app_src_end_of_stream; 115 GstCaps* function(GstAppSrc* appsrc) c_gst_app_src_get_caps; 116 ulong function(GstAppSrc* appsrc) c_gst_app_src_get_current_level_bytes; 117 GstClockTime function(GstAppSrc* appsrc) c_gst_app_src_get_duration; 118 int function(GstAppSrc* appsrc) c_gst_app_src_get_emit_signals; 119 void function(GstAppSrc* appsrc, ulong* min, ulong* max) c_gst_app_src_get_latency; 120 ulong function(GstAppSrc* appsrc) c_gst_app_src_get_max_bytes; 121 long function(GstAppSrc* appsrc) c_gst_app_src_get_size; 122 GstAppStreamType function(GstAppSrc* appsrc) c_gst_app_src_get_stream_type; 123 GstFlowReturn function(GstAppSrc* appsrc, GstBuffer* buffer) c_gst_app_src_push_buffer; 124 GstFlowReturn function(GstAppSrc* appsrc, GstSample* sample) c_gst_app_src_push_sample; 125 void function(GstAppSrc* appsrc, GstAppSrcCallbacks* callbacks, void* userData, GDestroyNotify notify) c_gst_app_src_set_callbacks; 126 void function(GstAppSrc* appsrc, GstClockTime duration) c_gst_app_src_set_duration; 127 void function(GstAppSrc* appsrc, int emit) c_gst_app_src_set_emit_signals; 128 void function(GstAppSrc* appsrc, ulong min, ulong max) c_gst_app_src_set_latency; 129 void function(GstAppSrc* appsrc, ulong max) c_gst_app_src_set_max_bytes; 130 void function(GstAppSrc* appsrc, long size) c_gst_app_src_set_size; 131 void function(GstAppSrc* appsrc, GstAppStreamType type) c_gst_app_src_set_stream_type; 132 void function(GstAppSrc* appsrc, GstCaps* caps) c_gst_app_src_set_caps; 133 } 134 135 136 // gst.app.AppSink 137 138 alias c_gst_app_sink_get_type gst_app_sink_get_type; 139 alias c_gst_app_sink_get_buffer_list_support gst_app_sink_get_buffer_list_support; 140 alias c_gst_app_sink_get_caps gst_app_sink_get_caps; 141 alias c_gst_app_sink_get_drop gst_app_sink_get_drop; 142 alias c_gst_app_sink_get_emit_signals gst_app_sink_get_emit_signals; 143 alias c_gst_app_sink_get_max_buffers gst_app_sink_get_max_buffers; 144 alias c_gst_app_sink_get_wait_on_eos gst_app_sink_get_wait_on_eos; 145 alias c_gst_app_sink_is_eos gst_app_sink_is_eos; 146 alias c_gst_app_sink_pull_preroll gst_app_sink_pull_preroll; 147 alias c_gst_app_sink_pull_sample gst_app_sink_pull_sample; 148 alias c_gst_app_sink_set_buffer_list_support gst_app_sink_set_buffer_list_support; 149 alias c_gst_app_sink_set_callbacks gst_app_sink_set_callbacks; 150 alias c_gst_app_sink_set_caps gst_app_sink_set_caps; 151 alias c_gst_app_sink_set_drop gst_app_sink_set_drop; 152 alias c_gst_app_sink_set_emit_signals gst_app_sink_set_emit_signals; 153 alias c_gst_app_sink_set_max_buffers gst_app_sink_set_max_buffers; 154 alias c_gst_app_sink_set_wait_on_eos gst_app_sink_set_wait_on_eos; 155 alias c_gst_app_sink_try_pull_preroll gst_app_sink_try_pull_preroll; 156 alias c_gst_app_sink_try_pull_sample gst_app_sink_try_pull_sample; 157 158 // gst.app.AppSrc 159 160 alias c_gst_app_src_get_type gst_app_src_get_type; 161 alias c_gst_app_src_end_of_stream gst_app_src_end_of_stream; 162 alias c_gst_app_src_get_caps gst_app_src_get_caps; 163 alias c_gst_app_src_get_current_level_bytes gst_app_src_get_current_level_bytes; 164 alias c_gst_app_src_get_duration gst_app_src_get_duration; 165 alias c_gst_app_src_get_emit_signals gst_app_src_get_emit_signals; 166 alias c_gst_app_src_get_latency gst_app_src_get_latency; 167 alias c_gst_app_src_get_max_bytes gst_app_src_get_max_bytes; 168 alias c_gst_app_src_get_size gst_app_src_get_size; 169 alias c_gst_app_src_get_stream_type gst_app_src_get_stream_type; 170 alias c_gst_app_src_push_buffer gst_app_src_push_buffer; 171 alias c_gst_app_src_push_sample gst_app_src_push_sample; 172 alias c_gst_app_src_set_callbacks gst_app_src_set_callbacks; 173 alias c_gst_app_src_set_duration gst_app_src_set_duration; 174 alias c_gst_app_src_set_emit_signals gst_app_src_set_emit_signals; 175 alias c_gst_app_src_set_latency gst_app_src_set_latency; 176 alias c_gst_app_src_set_max_bytes gst_app_src_set_max_bytes; 177 alias c_gst_app_src_set_size gst_app_src_set_size; 178 alias c_gst_app_src_set_stream_type gst_app_src_set_stream_type; 179 alias c_gst_app_src_set_caps gst_app_src_set_caps;