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;gstapp-1.0-0.dll;gstapp-1.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_buffer_list, "gst_app_src_push_buffer_list", LIBRARY_GSTAPP); 76 Linker.link(gst_app_src_push_sample, "gst_app_src_push_sample", LIBRARY_GSTAPP); 77 Linker.link(gst_app_src_set_callbacks, "gst_app_src_set_callbacks", LIBRARY_GSTAPP); 78 Linker.link(gst_app_src_set_duration, "gst_app_src_set_duration", LIBRARY_GSTAPP); 79 Linker.link(gst_app_src_set_emit_signals, "gst_app_src_set_emit_signals", LIBRARY_GSTAPP); 80 Linker.link(gst_app_src_set_latency, "gst_app_src_set_latency", LIBRARY_GSTAPP); 81 Linker.link(gst_app_src_set_max_bytes, "gst_app_src_set_max_bytes", LIBRARY_GSTAPP); 82 Linker.link(gst_app_src_set_size, "gst_app_src_set_size", LIBRARY_GSTAPP); 83 Linker.link(gst_app_src_set_stream_type, "gst_app_src_set_stream_type", LIBRARY_GSTAPP); 84 Linker.link(gst_app_src_set_caps, "gst_app_src_set_caps", LIBRARY_GSTAPP); 85 } 86 87 __gshared extern(C) 88 { 89 90 // gst.app.AppSink 91 92 GType function() c_gst_app_sink_get_type; 93 int function(GstAppSink* appsink) c_gst_app_sink_get_buffer_list_support; 94 GstCaps* function(GstAppSink* appsink) c_gst_app_sink_get_caps; 95 int function(GstAppSink* appsink) c_gst_app_sink_get_drop; 96 int function(GstAppSink* appsink) c_gst_app_sink_get_emit_signals; 97 uint function(GstAppSink* appsink) c_gst_app_sink_get_max_buffers; 98 int function(GstAppSink* appsink) c_gst_app_sink_get_wait_on_eos; 99 int function(GstAppSink* appsink) c_gst_app_sink_is_eos; 100 GstSample* function(GstAppSink* appsink) c_gst_app_sink_pull_preroll; 101 GstSample* function(GstAppSink* appsink) c_gst_app_sink_pull_sample; 102 void function(GstAppSink* appsink, int enableLists) c_gst_app_sink_set_buffer_list_support; 103 void function(GstAppSink* appsink, GstAppSinkCallbacks* callbacks, void* userData, GDestroyNotify notify) c_gst_app_sink_set_callbacks; 104 void function(GstAppSink* appsink, GstCaps* caps) c_gst_app_sink_set_caps; 105 void function(GstAppSink* appsink, int drop) c_gst_app_sink_set_drop; 106 void function(GstAppSink* appsink, int emit) c_gst_app_sink_set_emit_signals; 107 void function(GstAppSink* appsink, uint max) c_gst_app_sink_set_max_buffers; 108 void function(GstAppSink* appsink, int wait) c_gst_app_sink_set_wait_on_eos; 109 GstSample* function(GstAppSink* appsink, GstClockTime timeout) c_gst_app_sink_try_pull_preroll; 110 GstSample* function(GstAppSink* appsink, GstClockTime timeout) c_gst_app_sink_try_pull_sample; 111 112 // gst.app.AppSrc 113 114 GType function() c_gst_app_src_get_type; 115 GstFlowReturn function(GstAppSrc* appsrc) c_gst_app_src_end_of_stream; 116 GstCaps* function(GstAppSrc* appsrc) c_gst_app_src_get_caps; 117 ulong function(GstAppSrc* appsrc) c_gst_app_src_get_current_level_bytes; 118 GstClockTime function(GstAppSrc* appsrc) c_gst_app_src_get_duration; 119 int function(GstAppSrc* appsrc) c_gst_app_src_get_emit_signals; 120 void function(GstAppSrc* appsrc, ulong* min, ulong* max) c_gst_app_src_get_latency; 121 ulong function(GstAppSrc* appsrc) c_gst_app_src_get_max_bytes; 122 long function(GstAppSrc* appsrc) c_gst_app_src_get_size; 123 GstAppStreamType function(GstAppSrc* appsrc) c_gst_app_src_get_stream_type; 124 GstFlowReturn function(GstAppSrc* appsrc, GstBuffer* buffer) c_gst_app_src_push_buffer; 125 GstFlowReturn function(GstAppSrc* appsrc, GstBufferList* bufferList) c_gst_app_src_push_buffer_list; 126 GstFlowReturn function(GstAppSrc* appsrc, GstSample* sample) c_gst_app_src_push_sample; 127 void function(GstAppSrc* appsrc, GstAppSrcCallbacks* callbacks, void* userData, GDestroyNotify notify) c_gst_app_src_set_callbacks; 128 void function(GstAppSrc* appsrc, GstClockTime duration) c_gst_app_src_set_duration; 129 void function(GstAppSrc* appsrc, int emit) c_gst_app_src_set_emit_signals; 130 void function(GstAppSrc* appsrc, ulong min, ulong max) c_gst_app_src_set_latency; 131 void function(GstAppSrc* appsrc, ulong max) c_gst_app_src_set_max_bytes; 132 void function(GstAppSrc* appsrc, long size) c_gst_app_src_set_size; 133 void function(GstAppSrc* appsrc, GstAppStreamType type) c_gst_app_src_set_stream_type; 134 void function(GstAppSrc* appsrc, GstCaps* caps) c_gst_app_src_set_caps; 135 } 136 137 138 // gst.app.AppSink 139 140 alias c_gst_app_sink_get_type gst_app_sink_get_type; 141 alias c_gst_app_sink_get_buffer_list_support gst_app_sink_get_buffer_list_support; 142 alias c_gst_app_sink_get_caps gst_app_sink_get_caps; 143 alias c_gst_app_sink_get_drop gst_app_sink_get_drop; 144 alias c_gst_app_sink_get_emit_signals gst_app_sink_get_emit_signals; 145 alias c_gst_app_sink_get_max_buffers gst_app_sink_get_max_buffers; 146 alias c_gst_app_sink_get_wait_on_eos gst_app_sink_get_wait_on_eos; 147 alias c_gst_app_sink_is_eos gst_app_sink_is_eos; 148 alias c_gst_app_sink_pull_preroll gst_app_sink_pull_preroll; 149 alias c_gst_app_sink_pull_sample gst_app_sink_pull_sample; 150 alias c_gst_app_sink_set_buffer_list_support gst_app_sink_set_buffer_list_support; 151 alias c_gst_app_sink_set_callbacks gst_app_sink_set_callbacks; 152 alias c_gst_app_sink_set_caps gst_app_sink_set_caps; 153 alias c_gst_app_sink_set_drop gst_app_sink_set_drop; 154 alias c_gst_app_sink_set_emit_signals gst_app_sink_set_emit_signals; 155 alias c_gst_app_sink_set_max_buffers gst_app_sink_set_max_buffers; 156 alias c_gst_app_sink_set_wait_on_eos gst_app_sink_set_wait_on_eos; 157 alias c_gst_app_sink_try_pull_preroll gst_app_sink_try_pull_preroll; 158 alias c_gst_app_sink_try_pull_sample gst_app_sink_try_pull_sample; 159 160 // gst.app.AppSrc 161 162 alias c_gst_app_src_get_type gst_app_src_get_type; 163 alias c_gst_app_src_end_of_stream gst_app_src_end_of_stream; 164 alias c_gst_app_src_get_caps gst_app_src_get_caps; 165 alias c_gst_app_src_get_current_level_bytes gst_app_src_get_current_level_bytes; 166 alias c_gst_app_src_get_duration gst_app_src_get_duration; 167 alias c_gst_app_src_get_emit_signals gst_app_src_get_emit_signals; 168 alias c_gst_app_src_get_latency gst_app_src_get_latency; 169 alias c_gst_app_src_get_max_bytes gst_app_src_get_max_bytes; 170 alias c_gst_app_src_get_size gst_app_src_get_size; 171 alias c_gst_app_src_get_stream_type gst_app_src_get_stream_type; 172 alias c_gst_app_src_push_buffer gst_app_src_push_buffer; 173 alias c_gst_app_src_push_buffer_list gst_app_src_push_buffer_list; 174 alias c_gst_app_src_push_sample gst_app_src_push_sample; 175 alias c_gst_app_src_set_callbacks gst_app_src_set_callbacks; 176 alias c_gst_app_src_set_duration gst_app_src_set_duration; 177 alias c_gst_app_src_set_emit_signals gst_app_src_set_emit_signals; 178 alias c_gst_app_src_set_latency gst_app_src_set_latency; 179 alias c_gst_app_src_set_max_bytes gst_app_src_set_max_bytes; 180 alias c_gst_app_src_set_size gst_app_src_set_size; 181 alias c_gst_app_src_set_stream_type gst_app_src_set_stream_type; 182 alias c_gst_app_src_set_caps gst_app_src_set_caps;