80 likes | 223 Views
Using PlayCap. Introduction. Based on: 1. Win32 API 2. DirectShow API 3. GDI+ API Platform Windows XP IDE Visual Studio .Net 2003. DirectShow. A media-streaming architecture for the MS Windows platform. A useful API to capture or playback many media types.
E N D
Introduction • Based on: • 1. Win32 API • 2. DirectShow API • 3. GDI+ API • Platform • Windows XP • IDE • Visual Studio .Net 2003
DirectShow • A media-streaming architecture for the MS Windows platform. • A useful API to capture or playback many media types. • You can download the DirectX SDK summer 2003 and sample code from course webpage.
Setting Up • Header File • Dshow.h • Library Files • Strmiids.lib • Quartz.lib • Set the Path in the IDE (.net)
Your job is… • In the HRESULT ProcessBuffer(HDC) • Write a simple image processing program to scan pBuffer. • The information (size, RGB channel…)of pBuffer is stored in pVih->bmiHeader.