SysLink API Reference
2.21.03.11
Main Page
Data Structures
Files
Related Pages
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
ti
syslink
FrameQDefs.h
Go to the documentation of this file.
1
10
/*
11
* ============================================================================
12
*
13
* Copyright (c) 2008-2012, Texas Instruments Incorporated
14
*
15
* Redistribution and use in source and binary forms, with or without
16
* modification, are permitted provided that the following conditions
17
* are met:
18
*
19
* * Redistributions of source code must retain the above copyright
20
* notice, this list of conditions and the following disclaimer.
21
*
22
* * Redistributions in binary form must reproduce the above copyright
23
* notice, this list of conditions and the following disclaimer in the
24
* documentation and/or other materials provided with the distribution.
25
*
26
* * Neither the name of Texas Instruments Incorporated nor the names of
27
* its contributors may be used to endorse or promote products derived
28
* from this software without specific prior written permission.
29
*
30
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
31
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
32
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
33
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
34
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
35
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
36
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
37
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
38
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
39
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
40
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41
* Contact information for paper mail:
42
* Texas Instruments
43
* Post Office Box 655303
44
* Dallas, Texas 75265
45
* Contact information:
46
* http://www-k.ext.ti.com/sc/technical-support/product-information-centers.htm?
47
* DCMP=TIHomeTracking&HQS=Other+OT+home_d_contact
48
* ============================================================================
49
*
50
*/
51
52
53
54
#ifndef FRAMEQDEFS_H_0x6e6f
55
#define FRAMEQDEFS_H_0x6e6f
56
57
58
#if defined (__cplusplus)
59
extern
"C"
{
60
#endif
61
62
/* =============================================================================
63
* macros & defines
64
* =============================================================================
65
*/
66
76
#define FrameQ_MAX_FRAMESINVAPI (64u)
77
78
/* =============================================================================
79
* Structures & Enums
80
* =============================================================================
81
*/
85
typedef
struct
Frame_FrameBufInfo_tag
{
86
UInt32
bufPtr
;
88
UInt32
bufSize
;
90
UInt32
startOffset
;
92
UInt32
validSize
;
94
UInt32
pixelFormat
;
95
UInt32
height
;
96
UInt32
width
;
97
UInt32
stride
;
98
99
}
Frame_FrameBufInfo
;
100
106
typedef
struct
Frame_FrameHeader_Tag
{
107
UInt32
reserved0
;
109
UInt32
reserved1
;
111
UInt16
baseHeaderSize
;
113
UInt16
headerSize
;
117
UInt32
frmAllocaterId
;
119
UInt32
frameBufType
;
120
/* Denotes the buffer type i.e Tiler buffer or shared region 1D buffer*/
121
UInt8
freeFrmQueueNo
;
123
UInt8
numFrameBuffers
;
125
Frame_FrameBufInfo
frameBufInfo
[1];
127
}
Frame_FrameHeader
;
128
132
typedef
Frame_FrameHeader
*
Frame
;
133
134
135
#if defined (__cplusplus)
136
}
137
#endif
/* defined (__cplusplus) */
138
139
140
#endif
/*FRAMEQDEFS_H_0x6e6f*/
Copyright 2014, Texas Instruments Incorporated