-
大小: 311KB文件类型: .rar金币: 1下载: 0 次发布日期: 2021-05-17
- 语言: C#
- 标签: DirectShow
资源简介
最新的DirectShowLib插件,提供给C#调用最新的DirectShowLib插件,提供给C#调用
代码片段和文件信息
#region license
/*
DirectShowLib - Provide access to DirectShow interfaces via .NET
Copyright (C) 2007
http://sourceforge.net/projects/directshownet/
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License or (at your option) any later version.
This library is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not write to the Free Software
Foundation Inc. 51 Franklin St Fifth Floor Boston MA 02110-1301 USA
*/
#endregion
using System;
using System.Runtime.InteropServices;
#if !USING_NET11
using System.Runtime.InteropServices.ComTypes;
#endif
namespace DirectShowLib.MultimediaStreaming
{
#region Declarations
///
/// From unnamed enum
///
[Flags]
public enum AMMStream
{
None = 0x0
AddDefaultRenderer = 0x1
CreatePeer = 0x2
StopIfNoSamples = 0x4
NoStall = 0x8
}
///
/// From unnamed enum
///
[Flags]
public enum AMMMultiStream
{
None = 0x0
NoGraphThread = 0x1
}
///
/// From unnamed enum
///
[Flags]
public enum AMOpenModes
{
RenderTypeMask = 0x3
RenderToExisting = 0
RenderAllStreams = 0x1
NoRender = 0x2
NoClock = 0x4
Run = 0x8
}
#endregion
#region Interfaces
[ComImport System.Security.SuppressUnmanagedCodeSecurity
Guid(“BEBE595D-9A6F-11D0-8FDE-00C04FD9189D“)
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IAMMediaStream : IMediaStream
{
#region IMediaStream Methods
[PreserveSig]
new int GetMultiMediaStream(
[MarshalAs(UnmanagedType.Interface)] out IMultiMediaStream ppMultiMediaStream
);
[PreserveSig]
new int GetInformation(
out Guid pPurposeId
out StreamType pType
);
[PreserveSig]
new int SetSameFormat(
[In MarshalAs(UnmanagedType.Interface)] IMediaStream pStreamThatHasDesiredFormat
[In] int dwFlags
);
[PreserveSig]
new int AllocateSample(
[In] int dwFlags
[MarshalAs(UnmanagedType.Interface)] out IStreamSample ppSample
);
[PreserveSig]
new int CreateSharedSample(
[In MarshalAs(UnmanagedType.Interface)] IStreamSample pExistingSample
[In] int d
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 10970 2010-02-16 19:31 DirectShowLibV2-1\Docs\interfaces.txt
文件 117773 2010-02-21 12:40 DirectShowLibV2-1\Docs\LisezMoi.rtf
文件 13707 2005-08-29 00:08 DirectShowLibV2-1\Docs\Mixing Unmanaged & Managed Direct3D.rtf
文件 107107 2010-02-16 19:29 DirectShowLibV2-1\Docs\ReadMe.rtf
文件 303104 2010-02-21 14:12 DirectShowLibV2-1\lib\DirectShowLib-2005.dll
文件 26954 2005-06-15 23:55 DirectShowLibV2-1\license.txt
文件 1064 2007-07-29 16:17 DirectShowLibV2-1\readme.txt
文件 15581 2009-03-26 23:02 DirectShowLibV2-1\src\amstream.cs
文件 9261 2009-03-27 22:55 DirectShowLibV2-1\src\amvideo.cs
文件 130 2010-02-21 12:57 DirectShowLibV2-1\src\app.config
文件 1989 2010-02-21 14:13 DirectShowLibV2-1\src\AssemblyInfo.cs
文件 19451 2009-06-15 00:07 DirectShowLibV2-1\src\atscpsipparser.cs
文件 6089 2009-03-26 23:02 DirectShowLibV2-1\src\austream.cs
文件 26491 2007-06-30 02:14 DirectShowLibV2-1\src\AxCore.cs
文件 128631 2010-02-11 19:53 DirectShowLibV2-1\src\AXExtend.cs
文件 53121 2009-06-16 21:40 DirectShowLibV2-1\src\BDAIface.cs
文件 10708 2009-06-16 21:51 DirectShowLibV2-1\src\Bdatif.cs
文件 10490 2007-06-21 20:47 DirectShowLibV2-1\src\BDATypes.cs
文件 28368 2007-06-22 19:19 DirectShowLibV2-1\src\Control.cs
文件 55665 2010-02-11 19:52 DirectShowLibV2-1\src\DES.cs
文件 2117 2007-06-21 20:46 DirectShowLibV2-1\src\DevEnum.cs
文件 7251 2010-02-06 22:21 DirectShowLibV2-1\src\DirectShowLib-2005.csproj
文件 923 2009-05-29 08:44 DirectShowLibV2-1\src\DirectShowLib-2005.sln
文件 7250 2010-02-16 18:46 DirectShowLibV2-1\src\DirectShowLib-2008.csproj
文件 920 2009-03-26 22:23 DirectShowLibV2-1\src\DirectShowLib-2008.sln
文件 911 2005-06-30 06:13 DirectShowLibV2-1\src\DirectShowLib.sln
文件 1441 2007-06-21 20:46 DirectShowLibV2-1\src\DMODShow.cs
文件 6517 2009-06-14 21:26 DirectShowLibV2-1\src\dsattrib.cs
文件 596 2005-06-11 09:22 DirectShowLibV2-1\src\DShowNET.snk
文件 76227 2009-06-21 20:47 DirectShowLibV2-1\src\DsUtils.cs
............此处省略36个文件信息
- 上一篇:布尔莎七参数求解__C#源码
- 下一篇:Rs232串口调试信息传输(C#)
评论
共有 条评论