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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers RGA_Callback_private.h Source File

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 
00033 #ifdef  RZ_A1L  /* Reduce working buffer size for LibPNG */
00034 #define  WORK_SIZE_FOR_LIB_PNG   0x10000
00035 #endif
00036 
00037 enum {
00038     MAX_WIDTH_OF_FRAME_BUFFER  = 1280,
00039     MAX_HEIGHT_OF_FRAME_BUFFER = 800,
00040 
00041     WORK_BUFFER_SIZE = R_RGA_CalcWorkBufferSize2(
00042                            MAX_WIDTH_OF_FRAME_BUFFER, MAX_HEIGHT_OF_FRAME_BUFFER ),
00043 
00044 #ifdef  WORK_SIZE_FOR_LIB_PNG
00045     WORK_BUFFER_B_SIZE = R_RGA_CalcWorkBufferB_Size(
00046                              MAX_WIDTH_OF_FRAME_BUFFER, MAX_HEIGHT_OF_FRAME_BUFFER, 4 ) +
00047                          WORK_SIZE_FOR_LIB_PNG
00048 #else
00049     WORK_BUFFER_B_SIZE = R_RGA_CalcWorkBufferB_Size(
00050                              MAX_WIDTH_OF_FRAME_BUFFER, MAX_HEIGHT_OF_FRAME_BUFFER, 4 ) +
00051                          RGA_MAX_WORK_SIZE_FOR_LIB_PNG_DEFAULT
00052 #endif
00053 };
00054 
00055 void  R_MEMORY_SECTION_GetMemory_RGA_WorkBuffer(
00056     uint8_t **out_WorkBufferAddress,  size_t *out_WorkBufferSize,
00057     uint8_t **out_WorkBufferB_Address,  size_t *out_WorkBufferB_Size );
00058