Framework Components Application Programming Interface (API)  fc-v07
ires_hdvicp.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2012, Texas Instruments Incorporated
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  *
12  * * Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in the
14  * documentation and/or other materials provided with the distribution.
15  *
16  * * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  *
32  */
48 #ifndef ti_sdo_fc_ires_hdvicp_IRES_HDVICP_
49 #define ti_sdo_fc_ires_hdvicp_IRES_HDVICP_
50 
53 
54 
55 #ifdef __cplusplus
56 extern "C" {
57 #endif
58 
59 #include <ti/xdais/ires_common.h>
60 
64 #define IRES_HDVICP_PROTOCOLNAME "ti.sdo.fc.ires.hdvicp"
65 
74 #define HDVICP_MODNAME "ti.sdo.fc.ires.hdvicp"
75 
76 /*
77  * Note, we wrap the PROTOCOLVERSION in an ifdef so the
78  * resource managers and algs get this version data placed in their object
79  * files. Apps, which include rman.h, will have this 'NOPROTOCOLREV' defined.
80  */
81 #ifndef ti_sdo_fc_ires_NOPROTOCOLREV
82 
86 static IRES_ProtocolRevision IRES_HDVICP_PROTOCOLREVISION = {1, 0, 2};
87 
88 #endif
89 
94 
99 
104 
108 typedef struct IRES_HDVICP_ProtocolArgs {
109 
117 
123 typedef struct IRES_HDVICP_Obj {
124 
126  Void * info ;
127  Int id;
133  unsigned int pscRegisterSpace;
136 
137 
142 
143  int size;
145 
146 
150 typedef struct IRES_HDVICP_Properties {
151 
152  int size;
153  IRES_HDVICP_RegisterLayer *globalRegs; /* Register layer of HDVICP */
155 
156 #ifdef __cplusplus
157 }
158 #endif /* extern "C" */
159 
162 #endif
Definition: ires_hdvicp.h:101
IRES_ProtocolArgs base
Definition: ires_hdvicp.h:110
Abstract Protocol Arguments structure definition. Actual arguments passed by the algorithm to request...
Definition: ires_common.h:110
Protocol revision type. Used to ensure the given 'protocol' revision can be validated.
Definition: ires_common.h:73
IRES_HDVICP_Obj extends the generic IRES_Obj structure that is returned back to the algorithm request...
Definition: ires_hdvicp.h:123
struct IRES_HDVICP_Obj * IRES_HDVICP_Handle
Handle to "logical" resource.
Definition: ires_hdvicp.h:93
IRES Resource Protocol Definitions - IRES Resource.
int size
Definition: ires_hdvicp.h:143
IRES_HDVICP_RegisterLayer * globalRegs
Definition: ires_hdvicp.h:153
struct IRES_HDVICP_RegisterLayer IRES_HDVICP_RegisterLayer
HDVICP Register Layout.
Static Resource Properties.
Definition: ires_hdvicp.h:150
IRES_HDVICP_RequestType
Type of resource that can be requested.
Definition: ires_hdvicp.h:98
IRES_Obj holds the private state associated with each logical resource.
Definition: ires_common.h:176
Void * registerBaseAddress
Definition: ires_hdvicp.h:131
struct IRES_HDVICP_Properties IRES_HDVICP_Properties
Static Resource Properties.
IRES_Obj ires
Definition: ires_hdvicp.h:125
int size
Definition: ires_hdvicp.h:152
Void * info
Definition: ires_hdvicp.h:126
Void * memoryBaseAddress
Definition: ires_hdvicp.h:132
struct IRES_HDVICP_Obj IRES_HDVICP_Obj
IRES_HDVICP_Obj extends the generic IRES_Obj structure that is returned back to the algorithm request...
Definition: ires_hdvicp.h:100
struct IRES_HDVICP_ProtocolArgs IRES_HDVICP_ProtocolArgs
HDVICP Protocol Arguments definition.
HDVICP Protocol Arguments definition.
Definition: ires_hdvicp.h:108
IRES_HDVICP_RequestType id
Definition: ires_hdvicp.h:111
Definition: ires_hdvicp.h:102
unsigned int pscRegisterSpace
Definition: ires_hdvicp.h:133
HDVICP Register Layout.
Definition: ires_hdvicp.h:141
Int id
Definition: ires_hdvicp.h:127
Copyright 2016, Texas Instruments Incorporated