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_inline.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_inline.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 00031 /* This file is included from "window_surfaces.h" */ 00032 00033 00034 #ifndef WINDOW_SURFACES_INLINE_H 00035 #define WINDOW_SURFACES_INLINE_H 00036 #ifndef NOT_DEFINE_INLINE_FUNCTION 00037 00038 /****************************************************************************** 00039 Includes <System Includes> , "Project Includes" 00040 ******************************************************************************/ 00041 #include <stdint.h> 00042 #include "clib_drivers_typedef.h " 00043 #include "frame_buffer_typedef.h " 00044 #include "r_multi_compiler_typedef.h" 00045 00046 #ifdef __cplusplus 00047 extern "C" { 00048 #endif /* __cplusplus */ 00049 00050 00051 /****************************************************************************** 00052 Typedef definitions 00053 ******************************************************************************/ 00054 00055 /****************************************************************************** 00056 Macro definitions 00057 ******************************************************************************/ 00058 00059 /****************************************************************************** 00060 Variable Externs 00061 ******************************************************************************/ 00062 00063 /****************************************************************************** 00064 Functions Prototypes 00065 ******************************************************************************/ 00066 00067 00068 /** 00069 * @brief Get color 00070 * 00071 * @param Red Red. 00072 * @param Green Green. 00073 * @param Blue Blue. 00074 * @param Alpha Alpha. 00075 * @return Color code as "r8g8b8a8_t" 00076 */ 00077 INLINE r8g8b8a8_t R_RGA_Get_R8G8B8A8( int_fast32_t const Red, 00078 int_fast32_t const Green, 00079 int_fast32_t const Blue, 00080 int_fast32_t const Alpha ) 00081 { 00082 r8g8b8a8_t color_; /* _ is for MISRA 5.6 */ 00083 00084 /* ->QAC 3198 */ 00085 color_.Value = DUMMY_INITIAL_VALUE; /* for avoid ARMCC warning C4017W */ 00086 /* <-QAC 3198 */ 00087 color_.u.Red = (uint8_t) Red; 00088 color_.u.Green = (uint8_t) Green; 00089 color_.u.Blue = (uint8_t) Blue; 00090 color_.u.Alpha = (uint8_t) Alpha; 00091 00092 return color_; 00093 } 00094 00095 00096 #ifdef __cplusplus 00097 } /* extern "C" */ 00098 #endif /* __cplusplus */ 00099 00100 #endif /* NOT_DEFINE_INLINE_FUNCTION */ 00101 #endif
Generated on Tue Jul 12 2022 11:15:06 by 1.7.2