- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, there should not be any problems if you calculate size of needed memory correctly
Regards,
Vladimir
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page