69 lines
3.2 KiB
C
Executable File
69 lines
3.2 KiB
C
Executable File
/* Copyright (c) 2006 NVIDIA Corporation. All rights reserved.
|
|
*
|
|
* NVIDIA Corporation and its licensors retain all intellectual property
|
|
* and proprietary rights in and to this software, related documentation
|
|
* and any modifications thereto. Any use, reproduction, disclosure or
|
|
* distribution of this software and related documentation without an
|
|
* express license agreement from NVIDIA Corporation is strictly prohibited.
|
|
*/
|
|
|
|
/** @file GFRmError.h
|
|
GFSDK Resource Manager API error code header file.
|
|
*/
|
|
|
|
#ifndef __GFRMERROR_H__
|
|
#define __GFRMERROR_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif /* __cplusplus */
|
|
|
|
/** GFRM error code: Function not supported. */
|
|
#define GFRM_ERROR_NO_SUPPORT (GFRM_ERROR | 0x02)
|
|
/** GFRM error code: Out of memory. */
|
|
#define GFRM_ERROR_OUT_MEMORY (GFRM_ERROR | 0x03)
|
|
/** GFRM error code: Operation on primary surface, but primary surface not set. */
|
|
#define GFRM_ERROR_NO_PRIMARY_SURFACE (GFRM_ERROR | 0x04)
|
|
/** GFRM error code: Bad parameters. */
|
|
#define GFRM_ERROR_BAD_PARAMETER (GFRM_ERROR | 0x05)
|
|
/** GFRM error code: Out of memory in DSP XRM heap. */
|
|
#define GFRM_ERROR_XRM_OUTMEMORY (GFRM_ERROR | 0x06)
|
|
/** GFRM error code: GFRM memory manager is not initialized. */
|
|
#define GFRM_ERROR_MEM_MANAGER_NOT_INITIALIZED (GFRM_ERROR | 0x07)
|
|
/** GFRM error code: DSP2Host message queue overflow. */
|
|
#define GFRM_ERROR_QUEUE_OVERFLOW (GFRM_ERROR | 0x08)
|
|
/** GFRM error code: DSP2Host message queue empty (not an error). */
|
|
#define GFRM_ERROR_QUEUE_EMPTY (GFRM_ERROR | 0x09)
|
|
/** GFRM error code: DSP2Host message with unknown task ID received. */
|
|
#define GFRM_ERROR_QUEUE_UNKNOWNTASK (GFRM_ERROR | 0x0A)
|
|
/** GFRM error code: Error getting GPU base address. */
|
|
#define GFRM_ERROR_IXOPEN_GETADDRESS (GFRM_ERROR | 0x0C)
|
|
/** GFRM error code: Error opening file. */
|
|
#define GFRM_ERROR_FILE_OPEN_FAILED (GFRM_ERROR | 0x0D)
|
|
/** GFRM error code: Cannot create XRM task. */
|
|
#define GFRM_ERROR_XRM_CREATETASK (GFRM_ERROR | 0x0E)
|
|
/** GFRM error code: GFRmOSEventWait() failed. */
|
|
#define GF_WAIT_ERROR (GFRM_ERROR | 0x0F)
|
|
/** GFRM error code: GFRmOSEventWait() timed out, the event was not set. */
|
|
#define GF_WAIT_TIME_OUT (GFRM_ERROR | 0x10)
|
|
/** GFRM error code: RmEnableModule tried to enable a module that doesn't exist. */
|
|
#define GFRM_ERROR_MODULE_NOT_EXIST (GFRM_ERROR | 0x11)
|
|
/** GFRM error code: HW Resource not available on GFRmHwResourceConstraint(). */
|
|
#define GFRM_ERROR_HWRESOURCE_NOT_AVAILABLE (GFRM_ERROR | 0x12)
|
|
/** GFRM error code: Host2DSP task message queue overflow. */
|
|
#define GFRM_ERROR_XRM_QUEUE_OVERFLOW (GFRM_ERROR | 0x13)
|
|
/** GFRM error code: Host2DSP task message queue empty. */
|
|
#define GFRM_ERROR_XRM_QUEUE_EMPTY (GFRM_ERROR | 0x14)
|
|
/** GFRM error code: File not found */
|
|
#define GFRM_ERROR_FILE_NOT_FOUND (GFRM_ERROR | 0x15)
|
|
/** GFRM error code: Create semaphore */
|
|
#define GFRM_ERROR_CREATE_SEMAPHORE (GFRM_ERROR | 0x16)
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __GFRMERROR_H__
|
|
|