⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 syscross.h

📁 这是在PCA下的基于IPP库示例代码例子,在网上下了IPP的库之后,设置相关参数就可以编译该代码.
💻 H
字号:
/* ////////////////////////////////////////////////////////////////////////////                  INTEL CORPORATION PROPRIETARY INFORMATION//     This software is supplied under the terms of a license agreement or//     nondisclosure agreement with Intel Corporation and may not be copied//     or disclosed except in accordance with the terms of that agreement.//          Copyright(c) 2002-2005 Intel Corporation. All Rights Reserved.//////*//* cross-platform system functionality that is required for this implementation *//* and wrapped only for this implemetation purposes                             */#ifndef __SYSCROSS_H__#define __SYSCROSS_H__#ifdef __cplusplusextern "C" {#endiftypedef unsigned int SysBool;typedef enum{    SYS_CALL_RESULT_OK,    SYS_CALL_RESULT_FAIL_BAD_OPTION,    SYS_CALL_RESULT_FAIL_NO_MEMORY,    SYS_CALL_RESULT_FAIL_NON_SPECIFIC} SysCallResult;enum{    SYS_ACCESS_RIGHT_READ  = 1 << 0,    SYS_ACCESS_RIGHT_WRITE = 1 << 1};typedef unsigned int SysAccessRight;typedef enum{    SYS_CREATE_OPTIONS_NEW_ONLY,    SYS_CREATE_OPTIONS_EXISTING_ONLY_KEEP,    SYS_CREATE_OPTIONS_EXISTING_ONLY_TRUNCATE,    SYS_CREATE_OPTIONS_ALWAYS_KEEP,    SYS_CREATE_OPTIONS_ALWAYS_TRUNCATE} SysCreateOptions;typedef enum{    SYS_ACCESS_TYPE_RANDOM,    SYS_ACCESS_TYPE_SEQUENTIAL} SysAccessType;struct sSysFile;typedef struct sSysFile* SysFile;SysCallResult sysFileCreate(    const char       *fileName,    SysAccessRight    access,    SysCreateOptions  createOptions,    SysAccessType     accessOptimization,    SysFile          *file);SysCallResult sysFileClose (    SysFile file);SysCallResult sysFileGetSize (    SysFile       file,    unsigned int *size);struct sSysMemoryMap;typedef struct sSysMemoryMap* SysMemoryMap;typedef enum{    SYS_MEMORY_MAP_ACCESS_READ_WRITE_COPY,    SYS_MEMORY_MAP_ACCESS_READ_WRITE,    SYS_MEMORY_MAP_ACCESS_READ_ONLY} SysMemoryMapAccess;SysCallResult sysMemoryMapCreate    (    SysFile             file,    SysMemoryMapAccess  access,    unsigned int        maxSize,    SysMemoryMap       *memoryMap);SysCallResult sysMemoryMapClose     (    SysMemoryMap memoryMap);struct sSysMemoryMapView;typedef struct sSysMemoryMapView* SysMemoryMapView;SysCallResult sysMemoryMapViewCreate (    SysMemoryMap        memoryMap,    SysMemoryMapAccess  access,    unsigned int        offset,    unsigned int        size,    SysMemoryMapView   *memoryMapView);SysCallResult sysMemoryMapViewClose  (    SysMemoryMapView memoryMapView);SysCallResult sysMemoryMapViewGetAddr(    SysMemoryMapView   memoryMapView,    void             **addr);#ifdef __cplusplus}#endif#endif // __SYSCROSS_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -