00001 /* 00002 * Copyright (c) 2010, Texas Instruments Incorporated 00003 * All rights reserved. 00004 * 00005 * Redistribution and use in source and binary forms, with or without 00006 * modification, are permitted provided that the following conditions 00007 * are met: 00008 * 00009 * * Redistributions of source code must retain the above copyright 00010 * notice, this list of conditions and the following disclaimer. 00011 * 00012 * * Redistributions in binary form must reproduce the above copyright 00013 * notice, this list of conditions and the following disclaimer in the 00014 * documentation and/or other materials provided with the distribution. 00015 * 00016 * * Neither the name of Texas Instruments Incorporated nor the names of 00017 * its contributors may be used to endorse or promote products derived 00018 * from this software without specific prior written permission. 00019 * 00020 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00021 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 00022 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00023 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 00024 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00025 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00026 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 00027 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 00028 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 00029 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 00030 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00031 * 00032 */ 00048 #ifndef ti_sdo_fc_ires_hdvicp_IRES_HDVICP_ 00049 #define ti_sdo_fc_ires_hdvicp_IRES_HDVICP_ 00050 00053 00054 00055 #ifdef __cplusplus 00056 extern "C" { 00057 #endif 00058 00059 #include <ti/xdais/ires.h> 00060 00064 #define IRES_HDVICP_PROTOCOLNAME "ti.sdo.fc.ires.hdvicp" 00065 00066 00067 /* 00068 * Note, we wrap the PROTOCOLVERSION in an ifdef so the 00069 * resource managers and algs get this version data placed in their object 00070 * files. Apps, which include rman.h, will have this 'NOPROTOCOLREV' defined. 00071 */ 00072 #ifndef ti_sdo_fc_ires_NOPROTOCOLREV 00073 00077 static IRES_ProtocolRevision IRES_HDVICP_PROTOCOLREVISION = {1, 0, 1}; 00078 00079 #endif 00080 00084 typedef struct IRES_HDVICP_Obj *IRES_HDVICP_Handle; 00085 00089 typedef enum IRES_HDVICP_RequestType { 00090 00091 IRES_HDVICP_ID_0 = 0, 00092 IRES_HDVICP_ID_1 = 1, 00093 IRES_HDVICP_ID_ANY = 2 00094 } IRES_HDVICP_RequestType; 00095 00099 typedef struct IRES_HDVICP_ProtocolArgs { 00100 00101 IRES_ProtocolArgs base; 00102 IRES_HDVICP_RequestType id; 00107 } IRES_HDVICP_ProtocolArgs; 00108 00114 typedef struct IRES_HDVICP_Obj { 00115 00116 IRES_Obj ires; 00117 Void * info ; 00118 Int id; 00122 Void * registerBaseAddress ; 00123 Void * memoryBaseAddress; 00124 unsigned int pscRegisterSpace; 00126 } IRES_HDVICP_Obj; 00127 00128 00132 typedef struct IRES_HDVICP_RegisterLayer { 00133 00134 int size; 00135 } IRES_HDVICP_RegisterLayer; 00136 00137 00141 typedef struct IRES_HDVICP_Properties { 00142 00143 int size; 00144 IRES_HDVICP_RegisterLayer *globalRegs; /* Register layer of HDVICP */ 00145 } IRES_HDVICP_Properties; 00146 00147 #ifdef __cplusplus 00148 } 00149 #endif /* extern "C" */ 00150 00153 #endif 00154 /* 00155 * @(#) ti.sdo.fc.ires.hdvicp; 1, 0, 1,115; 6-16-2010 15:44:45; /db/atree/library/trees/fc/fc-l06x/src/ 00156 */ 00157