| 1 | /*************************************************************************** |
|---|
| 2 | * Copyright (c) 2004-2006, Broadcom Corporation |
|---|
| 3 | * All Rights Reserved |
|---|
| 4 | * Confidential Property of Broadcom Corporation |
|---|
| 5 | * |
|---|
| 6 | * THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE |
|---|
| 7 | * AGREEMENT BETWEEN THE USER AND BROADCOM. YOU HAVE NO RIGHT TO USE OR |
|---|
| 8 | * EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT. |
|---|
| 9 | * |
|---|
| 10 | * $brcm_Workfile: bgrc_errors.h $ |
|---|
| 11 | * $brcm_Revision: Hydra_Software_Devel/5 $ |
|---|
| 12 | * $brcm_Date: 2/21/06 12:07p $ |
|---|
| 13 | * |
|---|
| 14 | * Module Description: |
|---|
| 15 | * |
|---|
| 16 | * Revision History: |
|---|
| 17 | * |
|---|
| 18 | * $brcm_Log: /magnum/portinginterface/grc/7400/bgrc_errors.h $ |
|---|
| 19 | * |
|---|
| 20 | * Hydra_Software_Devel/5 2/21/06 12:07p nissen |
|---|
| 21 | * PR 19084: Added support for second m2mc device. |
|---|
| 22 | * |
|---|
| 23 | * Hydra_Software_Devel/4 12/1/05 6:07p nissen |
|---|
| 24 | * PR 18007: Added code to return error when down scaling more than 15x |
|---|
| 25 | * for M2MC Cx and above. |
|---|
| 26 | * |
|---|
| 27 | * Hydra_Software_Devel/3 9/24/04 4:36p nissen |
|---|
| 28 | * PR 12598: Added error code for YCbCr422 surfaces with odd rectangle |
|---|
| 29 | * edges. |
|---|
| 30 | * |
|---|
| 31 | * Hydra_Software_Devel/2 3/31/04 12:03p nissen |
|---|
| 32 | * PR 10165: Added error codes for invalid surface dimensions. |
|---|
| 33 | * |
|---|
| 34 | * Hydra_Software_Devel/1 3/12/04 2:21p nissen |
|---|
| 35 | * PR 10024: Error header file. |
|---|
| 36 | * |
|---|
| 37 | ***************************************************************************/ |
|---|
| 38 | #ifndef BGRC_ERRORS_H__ |
|---|
| 39 | #define BGRC_ERRORS_H__ |
|---|
| 40 | |
|---|
| 41 | #include "berr_ids.h" |
|---|
| 42 | |
|---|
| 43 | #ifdef __cplusplus |
|---|
| 44 | extern "C" { |
|---|
| 45 | #endif |
|---|
| 46 | |
|---|
| 47 | #define BGRC_ERR_NO_OUTPUT_SURFACE BERR_MAKE_CODE(BERR_GRC_ID, 0x0000) |
|---|
| 48 | #define BGRC_ERR_SOURCE_RECT_OUT_OF_BOUNDS BERR_MAKE_CODE(BERR_GRC_ID, 0x0001) |
|---|
| 49 | #define BGRC_ERR_DESTINATION_RECT_OUT_OF_BOUNDS BERR_MAKE_CODE(BERR_GRC_ID, 0x0002) |
|---|
| 50 | #define BGRC_ERR_OUTPUT_RECT_OUT_OF_BOUNDS BERR_MAKE_CODE(BERR_GRC_ID, 0x0003) |
|---|
| 51 | #define BGRC_ERR_SOURCE_DIMENSIONS_INVALID BERR_MAKE_CODE(BERR_GRC_ID, 0x0004) |
|---|
| 52 | #define BGRC_ERR_DESTINATION_DIMENSIONS_INVALID BERR_MAKE_CODE(BERR_GRC_ID, 0x0005) |
|---|
| 53 | #define BGRC_ERR_OUTPUT_DIMENSIONS_INVALID BERR_MAKE_CODE(BERR_GRC_ID, 0x0006) |
|---|
| 54 | #define BGRC_ERR_YCBCR422_SURFACE_HAS_ODD_EDGE BERR_MAKE_CODE(BERR_GRC_ID, 0x0007) |
|---|
| 55 | #define BGRC_ERR_MAX_SCALE_DOWN_LIMIT_EXCEEDED BERR_MAKE_CODE(BERR_GRC_ID, 0x0008) |
|---|
| 56 | #define BGRC_ERR_M2MC_DEVICE_IS_HUNG BERR_MAKE_CODE(BERR_GRC_ID, 0x0010) |
|---|
| 57 | #define BGRC_ERR_M2MC_DEVICE_NUM_INVALID BERR_MAKE_CODE(BERR_GRC_ID, 0x0011) |
|---|
| 58 | |
|---|
| 59 | #ifdef __cplusplus |
|---|
| 60 | } |
|---|
| 61 | #endif |
|---|
| 62 | |
|---|
| 63 | #endif /* #ifndef BGRC_ERRORS_H__ */ |
|---|
| 64 | |
|---|
| 65 | /* End of file. */ |
|---|