00001 /* 00002 * Copyright (c) 2011, 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_common.h> 00060 00064 #define IRES_HDVICP_PROTOCOLNAME "ti.sdo.fc.ires.hdvicp" 00065 00074 #define HDVICP_MODNAME "ti.sdo.fc.ires.hdvicp" 00075 00076 /* 00077 * Note, we wrap the PROTOCOLVERSION in an ifdef so the 00078 * resource managers and algs get this version data placed in their object 00079 * files. Apps, which include rman.h, will have this 'NOPROTOCOLREV' defined. 00080 */ 00081 #ifndef ti_sdo_fc_ires_NOPROTOCOLREV 00082 00086 static IRES_ProtocolRevision IRES_HDVICP_PROTOCOLREVISION = {1, 0, 2}; 00087 00088 #endif 00089 00093 typedef struct IRES_HDVICP_Obj *IRES_HDVICP_Handle; 00094 00098 typedef enum IRES_HDVICP_RequestType { 00099 00100 IRES_HDVICP_ID_0 = 0, 00101 IRES_HDVICP_ID_1 = 1, 00102 IRES_HDVICP_ID_ANY = 2 00103 } IRES_HDVICP_RequestType; 00104 00108 typedef struct IRES_HDVICP_ProtocolArgs { 00109 00110 IRES_ProtocolArgs base; 00111 IRES_HDVICP_RequestType id; 00116 } IRES_HDVICP_ProtocolArgs; 00117 00123 typedef struct IRES_HDVICP_Obj { 00124 00125 IRES_Obj ires; 00126 Void * info ; 00127 Int id; 00131 Void * registerBaseAddress ; 00132 Void * memoryBaseAddress; 00133 unsigned int pscRegisterSpace; 00135 } IRES_HDVICP_Obj; 00136 00137 00141 typedef struct IRES_HDVICP_RegisterLayer { 00142 00143 int size; 00144 } IRES_HDVICP_RegisterLayer; 00145 00146 00150 typedef struct IRES_HDVICP_Properties { 00151 00152 int size; 00153 IRES_HDVICP_RegisterLayer *globalRegs; /* Register layer of HDVICP */ 00154 } IRES_HDVICP_Properties; 00155 00156 #ifdef __cplusplus 00157 } 00158 #endif /* extern "C" */ 00159 00162 #endif 00163 /* 00164 * @(#) ti.sdo.fc.ires.hdvicp; 1, 0, 1,1; 10-10-2011 08:44:53; /db/atree/library/trees/fc/fc-o32/src/ xlibrary 00165 00166 */ 00167