DirectShow helper functions used in vidl. More...
#include <vidl/vidl_exception.h>
#include <vidl/vidl_pixel_format.h>
#include <vcl_string.h>
#include <vcl_vector.h>
#include <vcl_iostream.h>
#include <atlbase.h>
#include <dshow.h>
#include <qedit.h>
Go to the source code of this file.
Classes | |
struct | vidl_dshow |
Defines | |
#define | DSHOW_GET_ERROR_TEXT(hr) vidl_dshow::get_error_text(__FILE__,__LINE__,(hr)) |
#define | DSHOW_WARN_IF_FAILED(stm) |
#define | DSHOW_ERROR_IF_FAILED(stm) |
DirectShow helper functions used in vidl.
Modifications 02/03/2006 - File created. (miguelfv) 03/07/2006 - File imported to vxl repository. (miguelfv)
Definition in file vidl_dshow.h.
#define DSHOW_ERROR_IF_FAILED | ( | stm | ) |
{ \ HRESULT hr = (stm); \ if FAILED(hr) { \ vidl_exception_error(vidl_dshow_exception( \ vidl_dshow::get_error_text(__FILE__,__LINE__,hr)));\ }}
Definition at line 98 of file vidl_dshow.h.
#define DSHOW_GET_ERROR_TEXT | ( | hr | ) | vidl_dshow::get_error_text(__FILE__,__LINE__,(hr)) |
Definition at line 87 of file vidl_dshow.h.
#define DSHOW_WARN_IF_FAILED | ( | stm | ) |
{ \ HRESULT hr = (stm); \ if FAILED(hr) { \ vcl_cerr << vidl_dshow_exception( \ vidl_dshow::get_error_text(__FILE__,__LINE__,hr)).what()\ << '\n'; \ }}
Definition at line 90 of file vidl_dshow.h.