Procesamiento digital de video en tiempo real y - Maestría en ...
Procesamiento digital de video en tiempo real y - Maestría en ...
Procesamiento digital de video en tiempo real y - Maestría en ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Procesami<strong>en</strong>to</strong> <strong>digital</strong> <strong>de</strong> vi<strong>de</strong>o <strong>en</strong> <strong>tiempo</strong> <strong>real</strong> y “vi<strong>de</strong>o wall” con la PC 107<br />
//------------------------------------------------------------------------------<br />
// File: EZProp.cpp<br />
//<br />
// Desc: DirectShow - implem<strong>en</strong>tación <strong>de</strong> la clase CEZRgb24Properties<br />
//<br />
//------------------------------------------------------------------------------<br />
#inclu<strong>de</strong> <br />
#inclu<strong>de</strong> <br />
#inclu<strong>de</strong> <br />
#inclu<strong>de</strong> <br />
#inclu<strong>de</strong> <br />
#inclu<strong>de</strong> <br />
#inclu<strong>de</strong> <br />
#inclu<strong>de</strong> <br />
#inclu<strong>de</strong> <br />
#inclu<strong>de</strong> "resource.h"<br />
#inclu<strong>de</strong> "EZuids.h"<br />
#inclu<strong>de</strong> "iEZ.h"<br />
#inclu<strong>de</strong> "EZrgb24.h"<br />
#inclu<strong>de</strong> "EZprop.h"<br />
//<br />
// CreateInstance<br />
//<br />
// Usada por las clases base <strong>de</strong> DirectShow para crear instancias<br />
//<br />
CUnknown *CEZrgb24Properties::CreateInstance(LPUNKNOWN lpunk, HRESULT *phr)<br />
{<br />
CUnknown *punk = new CEZrgb24Properties(lpunk, phr);<br />
if (punk == NULL) {<br />
*phr = E_OUTOFMEMORY;<br />
}<br />
return punk;<br />
} // CreateInstance<br />
//<br />
// Constructor<br />
//<br />
CEZrgb24Properties::CEZrgb24Properties(LPUNKNOWN pUnk, HRESULT *phr) :<br />
CBasePropertyPage(NAME("Special Effects Property Page"),<br />
pUnk,IDD_EZrgb24PROP,IDS_TITLE),<br />
m_pIPEffect(NULL),<br />
m_bIsInitialized(FALSE)<br />
{<br />
ASSERT(phr);<br />
} // (Constructor)<br />
//<br />
// OnReceiveMessage<br />
//<br />
// Maneja los m<strong>en</strong>sajes para nuestra v<strong>en</strong>tana propietaria<br />
//<br />
BOOL CEZrgb24Properties::OnReceiveMessage(HWND hwnd,<br />
UINT uMsg,<br />
WPARAM wParam,<br />
LPARAM lParam)<br />
{<br />
switch (uMsg)<br />
{<br />
case WM_COMMAND:<br />
{<br />
if (m_bIsInitialized)<br />
{<br />
m_bDirty = TRUE;