#include <aditof/status_definitions.h>
#include <string>
#include <dshow.h>
#include <initguid.h>
#include <strmif.h>
#include <iostream>
#include <ks.h>
#include <ksmedia.h>
#include <ksproxy.h>
#include <vidcap.h>
Go to the source code of this file.
Classes | |
struct | ExUnitHandle |
class | SampleGrabberCallback |
struct | UsbHandle |
class | UsbWindowsUtils |
Macros | |
#define | MAX_BUF_SIZE (MAX_PACKET_SIZE + 2) |
#define | MAX_PACKET_SIZE 58 |
Functions | |
virtual HRESULT STDMETHODCALLTYPE | BufferCB (double SampleTime, BYTE *pBuffer, LONG BufferLen)=0 |
DEFINE_GUID (CLSID_NullRenderer, 0xc1f400a4, 0x3f08, 0x11d3, 0x9f, 0x0b, 0x00, 0x60, 0x08, 0x03, 0x9e, 0x37) | |
DEFINE_GUID (CLSID_SampleGrabber, 0xc1f400a0, 0x3f08, 0x11d3, 0x9f, 0x0b, 0x00, 0x60, 0x08, 0x03, 0x9e, 0x37) | |
DEFINE_GUID (IID_ISampleGrabber, 0x6b652fff, 0x11fe, 0x4fce, 0x92, 0xad, 0x02, 0x66, 0xb5, 0xd7, 0xc7, 0x8f) | |
DEFINE_GUID (MEDIASUBTYPE_BY8, 0x20385942, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) | |
DEFINE_GUID (MEDIASUBTYPE_GREY, 0x59455247, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) | |
DEFINE_GUID (MEDIASUBTYPE_Y16, 0x20363159, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71) | |
DEFINE_GUID (MEDIASUBTYPE_Y8, 0x20203859, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) | |
DEFINE_GUID (MEDIASUBTYPE_Y800, 0x30303859, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) | |
virtual HRESULT STDMETHODCALLTYPE | GetConnectedMediaType (AM_MEDIA_TYPE *pType)=0 |
virtual HRESULT STDMETHODCALLTYPE | GetCurrentBuffer (LONG *pBufferSize, LONG *pBuffer)=0 |
virtual HRESULT STDMETHODCALLTYPE | GetCurrentSample (IMediaSample **ppSample)=0 |
virtual HRESULT STDMETHODCALLTYPE | SetBufferSamples (BOOL BufferThem)=0 |
virtual HRESULT STDMETHODCALLTYPE | SetCallback (ISampleGrabberCB *pCallback, LONG WhichMethodToCallback)=0 |
virtual HRESULT STDMETHODCALLTYPE | SetMediaType (const AM_MEDIA_TYPE *pType)=0 |
virtual | ~ISampleGrabber () |
virtual | ~ISampleGrabberCB () |
Variables | |
static const GUID | EXT_UNIT_GUID |
interface IMediaSample * | pSample = 0 |
#define MAX_BUF_SIZE (MAX_PACKET_SIZE + 2) |
Definition at line 50 of file usb_windows_utils.h.
#define MAX_PACKET_SIZE 58 |
Definition at line 49 of file usb_windows_utils.h.
|
pure virtual |
DEFINE_GUID | ( | CLSID_NullRenderer | , |
0xc1f400a4 | , | ||
0x3f08 | , | ||
0x11d3 | , | ||
0x9f | , | ||
0x0b | , | ||
0x00 | , | ||
0x60 | , | ||
0x08 | , | ||
0x03 | , | ||
0x9e | , | ||
0x37 | |||
) |
DEFINE_GUID | ( | CLSID_SampleGrabber | , |
0xc1f400a0 | , | ||
0x3f08 | , | ||
0x11d3 | , | ||
0x9f | , | ||
0x0b | , | ||
0x00 | , | ||
0x60 | , | ||
0x08 | , | ||
0x03 | , | ||
0x9e | , | ||
0x37 | |||
) |
DEFINE_GUID | ( | IID_ISampleGrabber | , |
0x6b652fff | , | ||
0x11fe | , | ||
0x4fce | , | ||
0x92 | , | ||
0xad | , | ||
0x02 | , | ||
0x66 | , | ||
0xb5 | , | ||
0xd7 | , | ||
0xc7 | , | ||
0x8f | |||
) |
DEFINE_GUID | ( | MEDIASUBTYPE_BY8 | , |
0x20385942 | , | ||
0x0000 | , | ||
0x0010 | , | ||
0x80 | , | ||
0x00 | , | ||
0x00 | , | ||
0xaa | , | ||
0x00 | , | ||
0x38 | , | ||
0x9b | , | ||
0x71 | |||
) |
DEFINE_GUID | ( | MEDIASUBTYPE_GREY | , |
0x59455247 | , | ||
0x0000 | , | ||
0x0010 | , | ||
0x80 | , | ||
0x00 | , | ||
0x00 | , | ||
0xaa | , | ||
0x00 | , | ||
0x38 | , | ||
0x9b | , | ||
0x71 | |||
) |
DEFINE_GUID | ( | MEDIASUBTYPE_Y16 | , |
0x20363159 | , | ||
0x0000 | , | ||
0x0010 | , | ||
0x80 | , | ||
0x00 | , | ||
0x00 | , | ||
0xAA | , | ||
0x00 | , | ||
0x38 | , | ||
0x9B | , | ||
0x71 | |||
) |
DEFINE_GUID | ( | MEDIASUBTYPE_Y8 | , |
0x20203859 | , | ||
0x0000 | , | ||
0x0010 | , | ||
0x80 | , | ||
0x00 | , | ||
0x00 | , | ||
0xaa | , | ||
0x00 | , | ||
0x38 | , | ||
0x9b | , | ||
0x71 | |||
) |
DEFINE_GUID | ( | MEDIASUBTYPE_Y800 | , |
0x30303859 | , | ||
0x0000 | , | ||
0x0010 | , | ||
0x80 | , | ||
0x00 | , | ||
0x00 | , | ||
0xaa | , | ||
0x00 | , | ||
0x38 | , | ||
0x9b | , | ||
0x71 | |||
) |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
virtual |
Definition at line 104 of file usb_windows_utils.h.
|
virtual |
Definition at line 81 of file usb_windows_utils.h.
|
static |
Definition at line 69 of file usb_windows_utils.h.
interface IMediaSample* pSample = 0 |
Definition at line 76 of file usb_windows_utils.h.