Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

About HGLOBAL

sadan_job
Beginner
384 Views
I am using HGLOBAL for storage BMP image
I want use ippiConvValid with HGLOBAL
For example:

HGLOBAL hKern = ::GlobalAlloc(GMEM_FIXED, sizeof(Ipp32f)*9);

.....
Ipp32f* pKern = (Ipp32f*)GlobalLock(hKern);

ippiConvValid_32f_C3R(
(Ipp32f*)phDIBS, ..., ...,
(Ipp32f*)pKern, ..,..
(Ipp32f*)phDIBD);

GlobalUnlock(hKern);
Whether there will be any problems if i use for work HGLOBAL
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
384 Views

Hello, there should not be any problems if you calculate size of needed memory correctly

Regards,
Vladimir

0 Kudos
Reply