Framework Components Application Programming Interface (API)  fc-v07
ires_tiledmemory.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_tiledmemory_IRES_TILEDMEMORY_
49 #define ti_sdo_fc_ires_tiledmemory_IRES_TILEDMEMORY_
50 
53 
54 
55 #ifdef __cplusplus
56 extern "C" {
57 #endif
58 
59 #include <ti/xdais/xdas.h>
60 #include <ti/xdais/ires_common.h>
61 #include <ti/xdais/ires.h>
62 
66 #define IRES_TILEDMEMORY_PROTOCOLNAME "ti.sdo.fc.ires.tiledmemory"
67 
76 #define TILEDMEMORY_MODNAME "ti.sdo.fc.ires.tiledmemory"
77 
78 /*
79  * Note, we wrap the PROTOCOLVERSION in an ifdef so the
80  * resource managers and algs get this version data placed in their object
81  * files. Apps, which include rman.h, will have this 'NOPROTOCOLREV' defined.
82  */
83 #ifndef ti_sdo_fc_ires_NOPROTOCOLREV
84 
88 static IRES_ProtocolRevision IRES_TILEDMEMORY_PROTOCOLREVISION = {1, 0, 0};
89 
90 #endif
91 
96 
106 
107 
114 
123 
128 
130 
138  int sizeDim0;
139 
141  int sizeDim1;
142 
145 
147 
153 typedef struct IRES_TILEDMEMORY_Obj {
154 
189 
194 
195  int size;
196  /* TBD */
198 
203 
204  int size;
206 
207 #ifdef __cplusplus
208 }
209 #endif /* extern "C" */
210 
213 #endif
int size
Definition: ires_tiledmemory.h:195
XDAS_Void * systemSpaceBaseAddress
Definition: ires_tiledmemory.h:184
IRES_ProtocolArgs base
Definition: ires_tiledmemory.h:129
Definition: ires_tiledmemory.h:120
XDAS_Void * memoryBaseAddress
Definition: ires_tiledmemory.h:157
Definition: ires_tiledmemory.h:115
TILEDMEMORY Protocol Arguments definition.
Definition: ires_tiledmemory.h:127
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
int sizeDim1
Definition: ires_tiledmemory.h:141
IRES Resource Protocol Definitions - IRES Resource.
int size
Definition: ires_tiledmemory.h:204
XDAS_UInt32 accessDimension
Definition: ires_tiledmemory.h:131
Definition: ires_tiledmemory.h:103
XDAS_UInt32 isTiledMemory
Definition: ires_tiledmemory.h:161
struct IRES_TILEDMEMORY_ProtocolArgs IRES_TILEDMEMORY_ProtocolArgs
TILEDMEMORY Protocol Arguments definition.
struct IRES_TILEDMEMORY_Properties IRES_TILEDMEMORY_Properties
Static Resource Properties.
XDAS_UInt32 accessUnit
Definition: ires_tiledmemory.h:172
This header defines all types and constants used in the XDAS interfaces.
Definition: ires_tiledmemory.h:104
struct IRES_TILEDMEMORY_Obj * IRES_TILEDMEMORY_Handle
Handle to "logical" resource.
Definition: ires_tiledmemory.h:95
Definition: ires_tiledmemory.h:119
Void XDAS_Void
Definition: xdas.h:60
IRES_Obj holds the private state associated with each logical resource.
Definition: ires_common.h:176
IRES Interface Definitions - Allows algorithms to request and receive handles representing private lo...
struct IRES_TILEDMEMORY_Obj IRES_TILEDMEMORY_Obj
IRES_TILEDMEMORY_Obj extends the generic IRES_Obj structure that is returned back to the algorithm re...
int alignment
Definition: ires_tiledmemory.h:144
IRES_TILEDMEMORY_Obj extends the generic IRES_Obj structure that is returned back to the algorithm re...
Definition: ires_tiledmemory.h:153
IRES_TILEDMEMORY_AccessDimension
Indicates whether requested/granted memory is of type 1D or 2D.
Definition: ires_tiledmemory.h:102
IRES_TILEDMEMORY_AccessUnit
Indicates the size of the Tiler elements requested by the codec.
Definition: ires_tiledmemory.h:113
IRES_Obj ires
Definition: ires_tiledmemory.h:155
struct IRES_TILEDMEMORY_RegisterLayer IRES_TILEDMEMORY_RegisterLayer
TILEDMEMORY Register Layout.
Static Resource Properties.
Definition: ires_tiledmemory.h:202
Definition: ires_tiledmemory.h:117
XDAS_Void * info
Definition: ires_tiledmemory.h:156
Definition: ires_tiledmemory.h:118
int sizeDim0
Definition: ires_tiledmemory.h:138
XDAS_UInt32 accessUnit
Definition: ires_tiledmemory.h:134
XDAS_Void * tilerBaseAddress
Definition: ires_tiledmemory.h:183
TILEDMEMORY Register Layout.
Definition: ires_tiledmemory.h:193
Uint32 XDAS_UInt32
Definition: xdas.h:69
Copyright 2016, Texas Instruments Incorporated