![]() |
![]() |
00001 00010 /* 00011 * ============================================================================ 00012 * 00013 * Copyright (c) 2008-2012, Texas Instruments Incorporated 00014 * 00015 * Redistribution and use in source and binary forms, with or without 00016 * modification, are permitted provided that the following conditions 00017 * are met: 00018 * 00019 * * Redistributions of source code must retain the above copyright 00020 * notice, this list of conditions and the following disclaimer. 00021 * 00022 * * Redistributions in binary form must reproduce the above copyright 00023 * notice, this list of conditions and the following disclaimer in the 00024 * documentation and/or other materials provided with the distribution. 00025 * 00026 * * Neither the name of Texas Instruments Incorporated nor the names of 00027 * its contributors may be used to endorse or promote products derived 00028 * from this software without specific prior written permission. 00029 * 00030 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 00031 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 00032 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 00033 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 00034 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 00035 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 00036 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 00037 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 00038 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 00039 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 00040 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00041 * Contact information for paper mail: 00042 * Texas Instruments 00043 * Post Office Box 655303 00044 * Dallas, Texas 75265 00045 * Contact information: 00046 * http://www-k.ext.ti.com/sc/technical-support/product-information-centers.htm? 00047 * DCMP=TIHomeTracking&HQS=Other+OT+home_d_contact 00048 * ============================================================================ 00049 * 00050 */ 00051 00052 00053 00054 #ifndef FRAMEQDEFS_H_0x6e6f 00055 #define FRAMEQDEFS_H_0x6e6f 00056 00057 00058 #if defined (__cplusplus) 00059 extern "C" { 00060 #endif 00061 00062 /* ============================================================================= 00063 * macros & defines 00064 * ============================================================================= 00065 */ 00066 00076 #define FrameQ_MAX_FRAMESINVAPI (64u) 00077 00078 /* ============================================================================= 00079 * Structures & Enums 00080 * ============================================================================= 00081 */ 00085 typedef struct Frame_FrameBufInfo_tag { 00086 UInt32 bufPtr; 00088 UInt32 bufSize; 00090 UInt32 startOffset; 00092 UInt32 validSize; 00094 UInt32 pixelFormat; 00095 UInt32 height; 00096 UInt32 width; 00097 UInt32 stride; 00098 00099 }Frame_FrameBufInfo; 00100 00106 typedef struct Frame_FrameHeader_Tag { 00107 UInt32 reserved0; 00109 UInt32 reserved1; 00111 UInt16 baseHeaderSize; 00113 UInt16 headerSize; 00117 UInt32 frmAllocaterId; 00119 UInt32 frameBufType; 00120 /* Denotes the buffer type i.e Tiler buffer or shared region 1D buffer*/ 00121 UInt8 freeFrmQueueNo; 00123 UInt8 numFrameBuffers; 00125 Frame_FrameBufInfo frameBufInfo[1]; 00127 } Frame_FrameHeader; 00128 00132 typedef Frame_FrameHeader * Frame; 00133 00134 00135 #if defined (__cplusplus) 00136 } 00137 #endif /* defined (__cplusplus) */ 00138 00139 00140 #endif /*FRAMEQDEFS_H_0x6e6f*/