|
3 | 3 |
|
4 | 4 | namespace FFmpeg.AutoGen.Abstractions; |
5 | 5 |
|
6 | | -[UnmanagedFunctionPointer(CallingConvention.Cdecl)] |
7 | | -public unsafe delegate int _query_func (AVFilterContext* @p0); |
8 | | -public unsafe struct _query_func_func |
9 | | -{ |
10 | | - public IntPtr Pointer; |
11 | | - public static implicit operator _query_func_func(_query_func func) => new _query_func_func { Pointer = func == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(func) }; |
12 | | -} |
13 | | - |
14 | | -[UnmanagedFunctionPointer(CallingConvention.Cdecl)] |
15 | | -public unsafe delegate int _query_func2 (AVFilterContext* @p0, AVFilterFormatsConfig** @cfg_in, AVFilterFormatsConfig** @cfg_out); |
16 | | -public unsafe struct _query_func2_func |
17 | | -{ |
18 | | - public IntPtr Pointer; |
19 | | - public static implicit operator _query_func2_func(_query_func2 func) => new _query_func2_func { Pointer = func == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(func) }; |
20 | | -} |
21 | | - |
22 | 6 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] |
23 | 7 | public unsafe delegate void av_buffer_create_free (void* @opaque, byte* @data); |
24 | 8 | public unsafe struct av_buffer_create_free_func |
@@ -255,58 +239,6 @@ public unsafe struct AVD3D11VADeviceContext_unlock_func |
255 | 239 | public static implicit operator AVD3D11VADeviceContext_unlock_func(AVD3D11VADeviceContext_unlock func) => new AVD3D11VADeviceContext_unlock_func { Pointer = func == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(func) }; |
256 | 240 | } |
257 | 241 |
|
258 | | -[UnmanagedFunctionPointer(CallingConvention.Cdecl)] |
259 | | -public unsafe delegate int AVFilter_activate (AVFilterContext* @ctx); |
260 | | -public unsafe struct AVFilter_activate_func |
261 | | -{ |
262 | | - public IntPtr Pointer; |
263 | | - public static implicit operator AVFilter_activate_func(AVFilter_activate func) => new AVFilter_activate_func { Pointer = func == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(func) }; |
264 | | -} |
265 | | - |
266 | | -[UnmanagedFunctionPointer(CallingConvention.Cdecl)] |
267 | | -public unsafe delegate int AVFilter_init (AVFilterContext* @ctx); |
268 | | -public unsafe struct AVFilter_init_func |
269 | | -{ |
270 | | - public IntPtr Pointer; |
271 | | - public static implicit operator AVFilter_init_func(AVFilter_init func) => new AVFilter_init_func { Pointer = func == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(func) }; |
272 | | -} |
273 | | - |
274 | | -[UnmanagedFunctionPointer(CallingConvention.Cdecl)] |
275 | | -public unsafe delegate int AVFilter_preinit (AVFilterContext* @ctx); |
276 | | -public unsafe struct AVFilter_preinit_func |
277 | | -{ |
278 | | - public IntPtr Pointer; |
279 | | - public static implicit operator AVFilter_preinit_func(AVFilter_preinit func) => new AVFilter_preinit_func { Pointer = func == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(func) }; |
280 | | -} |
281 | | - |
282 | | -[UnmanagedFunctionPointer(CallingConvention.Cdecl)] |
283 | | -public unsafe delegate int AVFilter_process_command (AVFilterContext* @p0, |
284 | | - #if NETSTANDARD2_1_OR_GREATER |
285 | | - [MarshalAs(UnmanagedType.LPUTF8Str)] |
286 | | - #else |
287 | | - [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(UTF8Marshaler))] |
288 | | - #endif |
289 | | - string @cmd, |
290 | | - #if NETSTANDARD2_1_OR_GREATER |
291 | | - [MarshalAs(UnmanagedType.LPUTF8Str)] |
292 | | - #else |
293 | | - [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(UTF8Marshaler))] |
294 | | - #endif |
295 | | - string @arg, byte* @res, int @res_len, int @flags); |
296 | | -public unsafe struct AVFilter_process_command_func |
297 | | -{ |
298 | | - public IntPtr Pointer; |
299 | | - public static implicit operator AVFilter_process_command_func(AVFilter_process_command func) => new AVFilter_process_command_func { Pointer = func == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(func) }; |
300 | | -} |
301 | | - |
302 | | -[UnmanagedFunctionPointer(CallingConvention.Cdecl)] |
303 | | -public unsafe delegate void AVFilter_uninit (AVFilterContext* @ctx); |
304 | | -public unsafe struct AVFilter_uninit_func |
305 | | -{ |
306 | | - public IntPtr Pointer; |
307 | | - public static implicit operator AVFilter_uninit_func(AVFilter_uninit func) => new AVFilter_uninit_func { Pointer = func == null ? IntPtr.Zero : Marshal.GetFunctionPointerForDelegate(func) }; |
308 | | -} |
309 | | - |
310 | 242 | [UnmanagedFunctionPointer(CallingConvention.Cdecl)] |
311 | 243 | public unsafe delegate int AVFilterGraph_execute (AVFilterContext* @ctx, func_func @func, void* @arg, int* @ret, int @nb_jobs); |
312 | 244 | public unsafe struct AVFilterGraph_execute_func |
|
0 commit comments