Lcd companion boards support (VKLCD50RTA & VKLCD70RT)
Embed:
(wiki syntax)
Show/hide line numbers
RGA_Callback_private.h
Go to the documentation of this file.
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) 2013 - 2015 Renesas Electronics Corporation. All rights reserved. 00022 *******************************************************************************/ 00023 /** 00024 * @file RGA_Callback_private.h 00025 * @brief $Module: RGA $ $PublicVersion: 1.20 $ (=RGA_VERSION) 00026 * $Rev: $ 00027 * $Date:: $ 00028 */ 00029 00030 #include "r_typedefs.h" 00031 #include "RGA_Port_typedef.h " 00032 #include "lcd_panel.h" 00033 00034 #ifdef RZ_A1L /* Reduce working buffer size for LibPNG */ 00035 #define WORK_SIZE_FOR_LIB_PNG 0x10000 00036 #endif 00037 00038 enum { 00039 MAX_WIDTH_OF_FRAME_BUFFER = LCD_CH0_DISP_HW, //default: 1280, 00040 MAX_HEIGHT_OF_FRAME_BUFFER = LCD_CH0_DISP_VW, //default: 800, 00041 00042 WORK_BUFFER_SIZE = R_RGA_CalcWorkBufferSize2( 00043 MAX_WIDTH_OF_FRAME_BUFFER, MAX_HEIGHT_OF_FRAME_BUFFER ), 00044 00045 #ifdef WORK_SIZE_FOR_LIB_PNG 00046 WORK_BUFFER_B_SIZE = R_RGA_CalcWorkBufferB_Size( 00047 MAX_WIDTH_OF_FRAME_BUFFER, MAX_HEIGHT_OF_FRAME_BUFFER, 4 ) + 00048 WORK_SIZE_FOR_LIB_PNG 00049 #else 00050 WORK_BUFFER_B_SIZE = R_RGA_CalcWorkBufferB_Size( 00051 MAX_WIDTH_OF_FRAME_BUFFER, MAX_HEIGHT_OF_FRAME_BUFFER, 4 ) + 00052 RGA_MAX_WORK_SIZE_FOR_LIB_PNG_DEFAULT 00053 #endif 00054 }; 00055 00056 void R_MEMORY_SECTION_GetMemory_RGA_WorkBuffer( 00057 uint8_t **out_WorkBufferAddress, size_t *out_WorkBufferSize, 00058 uint8_t **out_WorkBufferB_Address, size_t *out_WorkBufferB_Size ); 00059 00060
Generated on Tue Jul 12 2022 14:32:45 by 1.7.2