- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

# C:/opt/OpenCV-2.2.0/modules/legacy/include/opencv2/legacy/streams.hpp

Go to the documentation of this file.

    00001 /*M///////////////////////////////////////////////////////////////////////////////////////
    00002 //
    00003 //  IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
    00004 //
    00005 //  By downloading, copying, installing or using the software you agree to this license.
    00006 //  If you do not agree to this license, do not download, install,
    00007 //  copy or use the software.
    00008 //
    00009 //
    00010 //                        Intel License Agreement
    00011 //                For Open Source Computer Vision Library
    00012 //
    00013 // Copyright (C) 2000, Intel Corporation, all rights reserved.
    00014 // Third party copyrights are property of their respective owners.
    00015 //
    00016 // Redistribution and use in source and binary forms, with or without modification,
    00017 // are permitted provided that the following conditions are met:
    00018 //
    00019 //   * Redistribution's of source code must retain the above copyright notice,
    00020 //     this list of conditions and the following disclaimer.
    00021 //
    00022 //   * Redistribution's in binary form must reproduce the above copyright notice,
    00023 //     this list of conditions and the following disclaimer in the documentation
    00024 //     and/or other materials provided with the distribution.
    00025 //
    00026 //   * The name of Intel Corporation may not be used to endorse or promote products
    00027 //     derived from this software without specific prior written permission.
    00028 //
    00029 // This software is provided by the copyright holders and contributors "as is" and
    00030 // any express or implied warranties, including, but not limited to, the implied
    00031 // warranties of merchantability and fitness for a particular purpose are disclaimed.
    00032 // In no event shall the Intel Corporation or contributors be liable for any direct,
    00033 // indirect, incidental, special, exemplary, or consequential damages
    00034 // (including, but not limited to, procurement of substitute goods or services;
    00035 // loss of use, data, or profits; or business interruption) however caused
    00036 // and on any theory of liability, whether in contract, strict liability,
    00037 // or tort (including negligence or otherwise) arising in any way out of
    00038 // the use of this software, even if advised of the possibility of such damage.
    00039 //
    00040 //M*/
    00041
    00042 #ifndef __OPENCV_CVSTREAMS_H__
    00043 #define __OPENCV_CVSTREAMS_H__
    00044
    00045 #ifdef WIN32
    00046 #include <streams.h>  /* !!! IF YOU'VE GOT AN ERROR HERE, PLEASE READ BELOW !!! */
    00047 /***************** How to get Visual Studio understand streams.h ****************\
    00048
    00049 You need DirectShow SDK that is now a part of Platform SDK
    00050 (Windows Server 2003 SP1 SDK or later),
    00051 and DirectX SDK (2006 April or later).
    00052
    00053 1. Download the Platform SDK from
    00054    http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
    00055    and DirectX SDK from msdn.microsoft.com/directx/
    00056    (They are huge, but you can download it by parts).
    00057    If it doesn't work for you, consider HighGUI that can capture video via VFW or MIL
    00058
    00059 2. Install Platform SDK together with DirectShow SDK.
    00060    Install DirectX (with or without sample code).
    00061
    00062 3. Build baseclasses.
    00063    See <PlatformSDKInstallFolder>\samples\multimedia\directshow\readme.txt.
    00064
    00065 4. Copy the built libraries (called strmbase.lib and strmbasd.lib
    00066    in Release and Debug versions, respectively) to
    00067    <PlatformSDKInstallFolder>\lib.
    00068
    00069 5. In Developer Studio add the following paths:
    00070       <DirectXSDKInstallFolder>\include
    00071       <PlatformSDKInstallFolder>\include
    00072       <PlatformSDKInstallFolder>\samples\multimedia\directshow\baseclasses
    00073     to the includes' search path
    00074     (at Tools->Options->Directories->Include files in case of Visual Studio 6.0,
    00075      at Tools->Options->Projects and Solutions->VC++ Directories->Include files in case
    00076      of Visual Studio 2005)
    00077    Add
    00078       <DirectXSDKInstallFolder>\lib
    00079       <PlatformSDKInstallFolder>\lib
    00080    to the libraries' search path (in the same dialog, ...->"Library files" page)
    00081
    00082    NOTE: PUT THE ADDED LINES ON THE VERY TOP OF THE LISTS, OTHERWISE YOU MAY STILL GET
    00083    COMPILER OR LINKER ERRORS. This is necessary, because Visual Studio
    00084    may include older versions of the same headers and libraries.
    00085
    00086 6. Now you can build OpenCV DirectShow filters.
    00087
    00088 \***********************************************************************************/
    00089
    00090 #endif
    00091
    00092 #endif
    00093

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines