Click here to Skip to main content
15,886,734 members
Articles / Multimedia / GDI+

Visual Surveillance Laboratory

Rate me:
Please Sign up or sign in to vote.
4.85/5 (45 votes)
6 Aug 2008Apache8 min read 147.2K   11K   241  
A description of surveillance systems
namespace dshow.Core
{
	using System;
	using System.Runtime.InteropServices;

	// IFileSourceFilter interface
	//
	// The IFileSourceFilter interface is exposed by source filters
	// to set the file name and media type of the media file that
	// they are to render
	//
	[ComImport,
	Guid("56A868A6-0Ad4-11CE-B03A-0020AF0BA770"),
	InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
	public interface IFileSourceFilter
	{
		// Load a file and assign it the given media type
		[PreserveSig]
		int Load(
			[In, MarshalAs(UnmanagedType.LPWStr)] string pszFileName,
			[In, MarshalAs(UnmanagedType.LPStruct)] AMMediaType	pmt);

		// Get the currently loaded file name
		[PreserveSig]
		int GetCurFile(
			[Out, MarshalAs(UnmanagedType.LPWStr)] out string pszFileName,
			[Out, MarshalAs(UnmanagedType.LPStruct)] AMMediaType pmt);
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Apache License, Version 2.0


Written By
Software Developer
Israel Israel
A computer science master student at Bar Ilan University under the supervision of Dr. Gal Kaminka.
Dealing mainly with trajectory mining.

Comments and Discussions