Graphics framework for GR-PEACH. When you use this program, we judge you have agreed to the following contents. https://developer.mbed.org/teams/Renesas/wiki/About-LICENSE
Dependents: ImageZoomInout_Sample ImageRotaion_Sample ImageScroll_Sample GR-PEACH_LCD_4_3inch_Save_to_USB ... more
window_surfaces_ex_typedef.h
00001 /******************************************************************************* 00002 * DISCLAIMER 00003 * This software is supplied by Renesas Electronics Corporation and is only 00004 * intended for use with Renesas products. No other uses are authorized. This 00005 * software is owned by Renesas Electronics Corporation and is protected under 00006 * all applicable laws, including copyright laws. 00007 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING 00008 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT 00009 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE 00010 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. 00011 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS 00012 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE 00013 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR 00014 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE 00015 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 00016 * Renesas reserves the right, without notice, to make changes to this software 00017 * and to discontinue the availability of this software. By using this software, 00018 * you agree to the additional terms and conditions found by accessing the 00019 * following link: 00020 * http://www.renesas.com/disclaimer 00021 * Copyright (C) 2012 - 2014 Renesas Electronics Corporation. All rights reserved. 00022 *******************************************************************************/ 00023 /** 00024 * @file window_surfaces_ex_typedef.h 00025 * @brief $Module: CLibCommon $ $PublicVersion: 1.00 $ (=CLIB_VERSION) 00026 * $Rev: 47 $ 00027 * $Date:: 2014-01-06 18:18:48 +0900#$ 00028 */ 00029 00030 #ifndef WINDOW_SURFACES_EX_TYPEDEF_H 00031 #define WINDOW_SURFACES_EX_TYPEDEF_H 00032 00033 /****************************************************************************** 00034 Includes <System Includes> , "Project Includes" 00035 ******************************************************************************/ 00036 00037 #ifdef __cplusplus 00038 extern "C" { 00039 #endif /* __cplusplus */ 00040 00041 00042 /****************************************************************************** 00043 Typedef definitions 00044 ******************************************************************************/ 00045 00046 00047 /** 00048 * @struct window_surfaces_attribute_t 00049 * @brief Type of <window_surfaces_t>::attributes. 00050 */ 00051 typedef struct st_window_surfaces_attribute_t window_surfaces_attribute_t; 00052 struct st_window_surfaces_attribute_t { 00053 00054 /** X */ 00055 int_fast32_t X; 00056 00057 /** Y */ 00058 int_fast32_t Y; 00059 00060 /** Width */ 00061 int_fast32_t Width; 00062 00063 /** Height */ 00064 int_fast32_t Height; 00065 00066 /** OffsetX */ 00067 int_fast32_t OffsetX; 00068 00069 /** OffsetY */ 00070 int_fast32_t OffsetY; 00071 00072 /** OffsetByte */ 00073 int_fast32_t OffsetByte; 00074 }; 00075 00076 00077 /* Section: Global */ 00078 /** 00079 * @enum access_t 00080 * @brief access_t 00081 * - ACCESS_READ - 1 00082 * - ACCESS_WRITE - 2 00083 * - ACCESS_READ_WRITE - 3 00084 * - ACCESS_PLUS - 4 00085 */ 00086 enum st_access_t { 00087 ACCESS_READ = 1, 00088 ACCESS_WRITE = 2, 00089 ACCESS_READ_WRITE = ( 1 | 2 ), 00090 ACCESS_PLUS = 4, 00091 00092 ACCESS_ALL_MASK = ACCESS_READ | ACCESS_WRITE | ACCESS_READ_WRITE | ACCESS_PLUS 00093 }; 00094 typedef enum st_access_t access_t; 00095 00096 00097 /** 00098 * @struct layer_attributes_t 00099 * @brief Parameters of <R_WINDOW_SURFACES_AccessLayerAttributes>. 00100 */ 00101 typedef struct st_layer_attributes_t layer_attributes_t; 00102 struct st_layer_attributes_t { 00103 00104 /** access */ 00105 access_t access; 00106 00107 /** 0 | F_LAYER_IS_SHOW | ... */ 00108 bit_flags_fast32_t flags; 00109 00110 /** id */ 00111 int_fast32_t id; 00112 00113 /** priority */ 00114 int_fast32_t priority; 00115 00116 /** is_show */ 00117 bool_t is_show; 00118 00119 /** is_color_key */ 00120 bool_t is_color_key; 00121 00122 /** color_key */ 00123 r8g8b8a8_t color_key; 00124 00125 /** layer_color */ 00126 r8g8b8a8_t layer_color; 00127 00128 /** x */ 00129 int_fast32_t x; 00130 00131 /** y */ 00132 int_fast32_t y; 00133 00134 /** width */ 00135 int_fast32_t width; 00136 00137 /** height */ 00138 int_fast32_t height; 00139 00140 /** offset_x */ 00141 int_fast32_t offset_x; 00142 00143 /** offset_y */ 00144 int_fast32_t offset_y; 00145 00146 /** CLUT (Color Look Up Table) */ 00147 uint32_t *CLUT; 00148 00149 /** CLUT (Color Look Up Table) count */ 00150 int_fast32_t CLUT_count; 00151 }; 00152 00153 enum { 00154 F_LAYER_ID = 0x0001, 00155 F_LAYER_PRIORITY = 0x0002, 00156 F_LAYER_IS_SHOW = 0x0004, 00157 F_LAYER_IS_COLOR_KEY = 0x0008, 00158 F_LAYER_COLOR_KEY = 0x0010, 00159 F_LAYER_LAYER_COLOR = 0x0020, 00160 F_LAYER_X = 0x0040, 00161 F_LAYER_Y = 0x0080, 00162 F_LAYER_WIDTH = 0x0100, 00163 F_LAYER_HEIGHT = 0x0200, 00164 F_LAYER_OFFSET_X = 0x0400, 00165 F_LAYER_OFFSET_Y = 0x0800, 00166 F_LAYER_CLUT = 0x1000, 00167 F_LAYER_CLUT_COUNT = 0x2000 00168 }; 00169 00170 00171 /****************************************************************************** 00172 Macro definitions 00173 ******************************************************************************/ 00174 00175 /****************************************************************************** 00176 Variable Externs 00177 ******************************************************************************/ 00178 00179 /****************************************************************************** 00180 Functions Prototypes 00181 ******************************************************************************/ 00182 /* In "window_surfaces_ex.h" */ 00183 00184 00185 #ifdef __cplusplus 00186 } /* extern "C" */ 00187 #endif /* __cplusplus */ 00188 00189 #endif
Generated on Tue Jul 12 2022 11:15:06 by 1.7.2