Opencv 3.1 project on GR-PEACH board

Fork of gr-peach-opencv-project by the do

Committer:
thedo
Date:
Tue Jul 04 06:23:13 2017 +0000
Revision:
170:54ff26da7eb6
Parent:
166:3a9487d57a5c
project opencv 3.1 on GR PEACH board, no use SD card.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
thedo 166:3a9487d57a5c 1 /*******************************************************************************
thedo 166:3a9487d57a5c 2 * DISCLAIMER
thedo 166:3a9487d57a5c 3 * This software is supplied by Renesas Electronics Corporation and is only
thedo 166:3a9487d57a5c 4 * intended for use with Renesas products. No other uses are authorized. This
thedo 166:3a9487d57a5c 5 * software is owned by Renesas Electronics Corporation and is protected under
thedo 166:3a9487d57a5c 6 * all applicable laws, including copyright laws.
thedo 166:3a9487d57a5c 7 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
thedo 166:3a9487d57a5c 8 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
thedo 166:3a9487d57a5c 9 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
thedo 166:3a9487d57a5c 10 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
thedo 166:3a9487d57a5c 11 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
thedo 166:3a9487d57a5c 12 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
thedo 166:3a9487d57a5c 13 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
thedo 166:3a9487d57a5c 14 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
thedo 166:3a9487d57a5c 15 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
thedo 166:3a9487d57a5c 16 * Renesas reserves the right, without notice, to make changes to this software
thedo 166:3a9487d57a5c 17 * and to discontinue the availability of this software. By using this software,
thedo 166:3a9487d57a5c 18 * you agree to the additional terms and conditions found by accessing the
thedo 166:3a9487d57a5c 19 * following link:
thedo 166:3a9487d57a5c 20 * http://www.renesas.com/disclaimer
thedo 166:3a9487d57a5c 21 * Copyright (C) 2012 - 2015 Renesas Electronics Corporation. All rights reserved.
thedo 166:3a9487d57a5c 22 *******************************************************************************/
thedo 166:3a9487d57a5c 23 /**************************************************************************//**
thedo 166:3a9487d57a5c 24 * @file lvds_pll_calc.h
thedo 166:3a9487d57a5c 25 * @version 1.00
thedo 166:3a9487d57a5c 26 * $Rev: 199 $
thedo 166:3a9487d57a5c 27 * $Date:: 2014-05-23 16:33:52 +0900#$
thedo 166:3a9487d57a5c 28 * @brief Debug function header
thedo 166:3a9487d57a5c 29 ******************************************************************************/
thedo 166:3a9487d57a5c 30
thedo 166:3a9487d57a5c 31 #ifndef LVDS_PLL_CALC_H
thedo 166:3a9487d57a5c 32 #define LVDS_PLL_CALC_H
thedo 166:3a9487d57a5c 33
thedo 166:3a9487d57a5c 34 /******************************************************************************
thedo 166:3a9487d57a5c 35 Includes <System Includes> , "Project Includes"
thedo 166:3a9487d57a5c 36 ******************************************************************************/
thedo 166:3a9487d57a5c 37 #include "r_typedefs.h"
thedo 166:3a9487d57a5c 38
thedo 166:3a9487d57a5c 39
thedo 166:3a9487d57a5c 40 /******************************************************************************
thedo 166:3a9487d57a5c 41 Macro definitions
thedo 166:3a9487d57a5c 42 ******************************************************************************/
thedo 166:3a9487d57a5c 43 typedef struct {
thedo 166:3a9487d57a5c 44 double comparison_freq;
thedo 166:3a9487d57a5c 45 double output_freq;
thedo 166:3a9487d57a5c 46 double nidiv;
thedo 166:3a9487d57a5c 47 double nrd;
thedo 166:3a9487d57a5c 48 double nfd;
thedo 166:3a9487d57a5c 49 double nod;
thedo 166:3a9487d57a5c 50 double nodiv;
thedo 166:3a9487d57a5c 51 } pll_parameter_t;
thedo 166:3a9487d57a5c 52
thedo 166:3a9487d57a5c 53 /******************************************************************************
thedo 166:3a9487d57a5c 54 Typedef definitions
thedo 166:3a9487d57a5c 55 ******************************************************************************/
thedo 166:3a9487d57a5c 56 #define LVDS_IF_NOT_USE (0u)
thedo 166:3a9487d57a5c 57 #define LVDS_IF_USE (1u)
thedo 166:3a9487d57a5c 58
thedo 166:3a9487d57a5c 59 /******************************************************************************
thedo 166:3a9487d57a5c 60 Exported global functions (to be accessed by other files)
thedo 166:3a9487d57a5c 61 ******************************************************************************/
thedo 166:3a9487d57a5c 62 extern int32_t lvds_pll_calc(
thedo 166:3a9487d57a5c 63 const double InClock,
thedo 166:3a9487d57a5c 64 const double OuClock,
thedo 166:3a9487d57a5c 65 const uint32_t Lvds,
thedo 166:3a9487d57a5c 66 pll_parameter_t * result );
thedo 166:3a9487d57a5c 67
thedo 166:3a9487d57a5c 68 #endif /* LVDS_PLL_CALC_H */
thedo 166:3a9487d57a5c 69
thedo 166:3a9487d57a5c 70