Framework Components Application Programming Interface (API)
fc-u06
Main Page
Modules
Data Structures
Files
Related Pages
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
packages
ti
sdo
fc
ires
hdvicp
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
93
typedef
struct
IRES_HDVICP_Obj
*
IRES_HDVICP_Handle
;
94
98
typedef
enum
IRES_HDVICP_RequestType
{
99
100
IRES_HDVICP_ID_0
= 0,
101
IRES_HDVICP_ID_1
= 1,
102
IRES_HDVICP_ID_ANY
= 2
103
}
IRES_HDVICP_RequestType
;
104
108
typedef
struct
IRES_HDVICP_ProtocolArgs
{
109
110
IRES_ProtocolArgs
base
;
111
IRES_HDVICP_RequestType
id
;
116
}
IRES_HDVICP_ProtocolArgs
;
117
123
typedef
struct
IRES_HDVICP_Obj
{
124
125
IRES_Obj
ires
;
126
Void *
info
;
127
Int
id
;
131
Void *
registerBaseAddress
;
132
Void *
memoryBaseAddress
;
133
unsigned
int
pscRegisterSpace
;
135
}
IRES_HDVICP_Obj
;
136
137
141
typedef
struct
IRES_HDVICP_RegisterLayer
{
142
143
int
size
;
144
}
IRES_HDVICP_RegisterLayer
;
145
146
150
typedef
struct
IRES_HDVICP_Properties
{
151
152
int
size
;
153
IRES_HDVICP_RegisterLayer
*
globalRegs
;
/* Register layer of HDVICP */
154
}
IRES_HDVICP_Properties
;
155
156
#ifdef __cplusplus
157
}
158
#endif
/* extern "C" */
159
162
#endif
Copyright 2014, Texas Instruments Incorporated