Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vidl2_dshow Struct Reference

#include <vidl2_dshow.h>

List of all members.


Detailed Description

Definition at line 29 of file vidl2_dshow.h.

Static Public Member Functions

static void initialize_com ()
 Initialize COM (must be called before using any of these functions).
static vcl_string get_error_text (const char *file, int line, HRESULT hr)
 Get an error description for the given HRESULT.
static void register_in_rot (IUnknown *unknown, DWORD &reg)
 Register object in Running Object Table (ROT).
static void remove_from_rot (DWORD reg)
 Remove object from Running Object Table (ROT).
static void save_graph_to_file (const CComPtr< IFilterGraph2 > &filter_graph, const vcl_string &filename)
 Save filter graph to a *.grf file.
static void load_graph_from_file (const CComPtr< IFilterGraph2 > &filter_graph, const vcl_wstring &filename)
 Load filter graph from a *.grf file.
static vcl_string get_guid_name (const GUID &guid)
 Get GUID name or FOURCC.
static GUID get_guid_from_fourcc (const vcl_string &fourcc)
 Get multimedia subtype GUID from FOURCC.
static void get_media_info (const AM_MEDIA_TYPE &amt, unsigned int &width, unsigned int &height, vidl2_pixel_format &pixel_format)
 Extract information from AM_MEDIA_TYPE object.
static void delete_media_type (AM_MEDIA_TYPE &amt)
 Delete AM_MEDIA_TYPE memory.
static void print_capture_device_names ()
 Print a list of capture device names (i.e.
static vcl_vector< vcl_string > get_capture_device_names ()
 Get a list of capture device names (i.e.
static CComPtr< IMoniker > get_capture_device_moniker (const vcl_string &name)
 Get IMoniker associated with name.
static void connect_filters (CComPtr< IFilterGraph2 > &filter_graph, CComPtr< IBaseFilter > &source, CComPtr< IBaseFilter > &target)
 Connect two filters directly. ***** check this, might have errors.


Member Function Documentation

void vidl2_dshow::connect_filters CComPtr< IFilterGraph2 > &  filter_graph,
CComPtr< IBaseFilter > &  source,
CComPtr< IBaseFilter > &  target
[static]
 

Connect two filters directly. ***** check this, might have errors.

Definition at line 517 of file vidl2_dshow.cxx.

void vidl2_dshow::delete_media_type AM_MEDIA_TYPE &  amt  )  [static]
 

Delete AM_MEDIA_TYPE memory.

Definition at line 469 of file vidl2_dshow.cxx.

CComPtr< IMoniker > vidl2_dshow::get_capture_device_moniker const vcl_string &  name  )  [static]
 

Get IMoniker associated with name.

Definition at line 507 of file vidl2_dshow.cxx.

vcl_vector< vcl_string > vidl2_dshow::get_capture_device_names  )  [static]
 

Get a list of capture device names (i.e.

, FriendlyName).

Definition at line 496 of file vidl2_dshow.cxx.

vcl_string vidl2_dshow::get_error_text const char *  file,
int  line,
HRESULT  hr
[static]
 

Get an error description for the given HRESULT.

Definition at line 242 of file vidl2_dshow.cxx.

GUID vidl2_dshow::get_guid_from_fourcc const vcl_string &  fourcc  )  [static]
 

Get multimedia subtype GUID from FOURCC.

Definition at line 355 of file vidl2_dshow.cxx.

vcl_string vidl2_dshow::get_guid_name const GUID &  guid  )  [static]
 

Get GUID name or FOURCC.

Definition at line 349 of file vidl2_dshow.cxx.

void vidl2_dshow::get_media_info const AM_MEDIA_TYPE &  amt,
unsigned int &  width,
unsigned int &  height,
vidl2_pixel_format pixel_format
[static]
 

Extract information from AM_MEDIA_TYPE object.

Definition at line 373 of file vidl2_dshow.cxx.

void vidl2_dshow::initialize_com  )  [static]
 

Initialize COM (must be called before using any of these functions).

Definition at line 235 of file vidl2_dshow.cxx.

void vidl2_dshow::load_graph_from_file const CComPtr< IFilterGraph2 > &  filter_graph,
const vcl_wstring &  filename
[static]
 

Load filter graph from a *.grf file.

Definition at line 317 of file vidl2_dshow.cxx.

void vidl2_dshow::print_capture_device_names  )  [static]
 

Print a list of capture device names (i.e.

, FriendlyName).

Definition at line 486 of file vidl2_dshow.cxx.

void vidl2_dshow::register_in_rot IUnknown *  unknown,
DWORD &  reg
[static]
 

Register object in Running Object Table (ROT).

Definition at line 257 of file vidl2_dshow.cxx.

void vidl2_dshow::remove_from_rot DWORD  reg  )  [static]
 

Remove object from Running Object Table (ROT).

Definition at line 279 of file vidl2_dshow.cxx.

void vidl2_dshow::save_graph_to_file const CComPtr< IFilterGraph2 > &  filter_graph,
const vcl_string &  filename
[static]
 

Save filter graph to a *.grf file.

Definition at line 287 of file vidl2_dshow.cxx.


The documentation for this struct was generated from the following files:
Generated on Thu Jan 10 14:51:32 2008 for contrib/brl/bbas/vidl2 by  doxygen 1.4.4