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

Use IPP static library in Windows Kernel Mode

gongyi_l_
ビギナー
1,759件の閲覧回数

How to use IPP  static library in Windows Kernel Mode ?

and where  can  I download  a sample of driver develop?

0 件の賞賛
4 返答(返信)
Ying_H_Intel
モデレーター
1,759件の閲覧回数

Hi Gongyi L,

What kind of function from IPP you want to use in kernel model? 

You may refer to the sample and user guide in

https://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-intel-ipp-linkage-models-quick-reference-guide

to build your program.

Best Regards,

Ying H.

Intel IPP Consulting

 

gongyi_l_
ビギナー
1,759件の閲覧回数

such as      ippStaticInit(),ippiResizeYUV422_8u_C2R;    

 What  kind of   ipp-linkage-models can use in window kernel model?

 

below is my code :     ( error LINK2019: unresolved external symbol  _ippStaticInit()……)

#include <ntddk.h>
#include "ipp.h"

#pragma comment( lib, "ippcoremt" )

typedef struct _DEVICE_EXTENSION {
    PDEVICE_OBJECT pDevice;
} DEVICE_EXTENSION, *PDEVICE_EXTENSION;

#define SymLinkName L"\\DosDevices\\Global\\DebugDemo"

#pragma code_seg("INIT")
NTSTATUS CreateDevice (
        IN PDRIVER_OBJECT    pDriverObject) 
{
    NTSTATUS status;
    PDEVICE_OBJECT pDevObj;
    PDEVICE_EXTENSION pDevExt;
    
    UNICODE_STRING devName;
    UNICODE_STRING symLinkName;
    RtlInitUnicodeString(&devName,L"\\Device\\DebugDemo");
    
    status = IoCreateDevice( pDriverObject,
                        sizeof(DEVICE_EXTENSION),
                        &devName,
                        FILE_DEVICE_UNKNOWN,
                        0, TRUE,
                        &pDevObj );

      ippStaticInit();
    if (!NT_SUCCESS(status))
        return status;

    ……

 

Ying_H_Intel
モデレーター
1,759件の閲覧回数

Hi Gongyi,

I send your private message and include one driver developer sample.  You may refer to it.

Best Regards,

Ying

levicki
高評価コントリビューター I
1,759件の閲覧回数

If I am not mistaken, ippStaticInit() function is deprecated and removed in newer IPP versions. You should call ippInit() instead.

返信