#include <vidl2_dshow.h>
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 ®) |
| 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. | |
|
||||||||||||||||
|
Connect two filters directly. ***** check this, might have errors.
Definition at line 517 of file vidl2_dshow.cxx. |
|
|
Delete AM_MEDIA_TYPE memory.
Definition at line 469 of file vidl2_dshow.cxx. |
|
|
Get IMoniker associated with name.
Definition at line 507 of file vidl2_dshow.cxx. |
|
|
Get a list of capture device names (i.e. , FriendlyName). Definition at line 496 of file vidl2_dshow.cxx. |
|
||||||||||||||||
|
Get an error description for the given HRESULT.
Definition at line 242 of file vidl2_dshow.cxx. |
|
|
Get multimedia subtype GUID from FOURCC.
Definition at line 355 of file vidl2_dshow.cxx. |
|
|
Get GUID name or FOURCC.
Definition at line 349 of file vidl2_dshow.cxx. |
|
||||||||||||||||||||
|
Extract information from AM_MEDIA_TYPE object.
Definition at line 373 of file vidl2_dshow.cxx. |
|
|
Initialize COM (must be called before using any of these functions).
Definition at line 235 of file vidl2_dshow.cxx. |
|
||||||||||||
|
Load filter graph from a *.grf file.
Definition at line 317 of file vidl2_dshow.cxx. |
|
|
Print a list of capture device names (i.e. , FriendlyName). Definition at line 486 of file vidl2_dshow.cxx. |
|
||||||||||||
|
Register object in Running Object Table (ROT).
Definition at line 257 of file vidl2_dshow.cxx. |
|
|
Remove object from Running Object Table (ROT).
Definition at line 279 of file vidl2_dshow.cxx. |
|
||||||||||||
|
Save filter graph to a *.grf file.
Definition at line 287 of file vidl2_dshow.cxx. |
1.4.4