Mar. 14. 2018

Dependencies:   GraphicsFramework GR-PEACH_video LCD_shield_config AsciiFont R_BSP USBHost_custom

Committer:
dkato
Date:
Tue Sep 26 09:19:48 2017 +0000
Revision:
7:85ba09eb46b3
Parent:
5:49a61433290a
The number of STB retries has been changed

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dkato 5:49a61433290a 1 /*---------------------------------------------------------------------------*/
dkato 5:49a61433290a 2 /* Copyright(C) 2017 OMRON Corporation */
dkato 5:49a61433290a 3 /* */
dkato 5:49a61433290a 4 /* Licensed under the Apache License, Version 2.0 (the "License"); */
dkato 5:49a61433290a 5 /* you may not use this file except in compliance with the License. */
dkato 5:49a61433290a 6 /* You may obtain a copy of the License at */
dkato 5:49a61433290a 7 /* */
dkato 5:49a61433290a 8 /* http://www.apache.org/licenses/LICENSE-2.0 */
dkato 5:49a61433290a 9 /* */
dkato 5:49a61433290a 10 /* Unless required by applicable law or agreed to in writing, software */
dkato 5:49a61433290a 11 /* distributed under the License is distributed on an "AS IS" BASIS, */
dkato 5:49a61433290a 12 /* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */
dkato 5:49a61433290a 13 /* See the License for the specific language governing permissions and */
dkato 5:49a61433290a 14 /* limitations under the License. */
dkato 5:49a61433290a 15 /*---------------------------------------------------------------------------*/
dkato 5:49a61433290a 16
dkato 5:49a61433290a 17 /*
dkato 5:49a61433290a 18 HVC Sample API
dkato 5:49a61433290a 19 */
dkato 5:49a61433290a 20
dkato 5:49a61433290a 21 #ifndef STBWrap_H__
dkato 5:49a61433290a 22 #define STBWrap_H__
dkato 5:49a61433290a 23
dkato 5:49a61433290a 24 #include "STBAPI.h"
dkato 5:49a61433290a 25 #include "STBCommonDef.h"
dkato 5:49a61433290a 26
dkato 5:49a61433290a 27 #include "HVCApi.h"
dkato 5:49a61433290a 28
dkato 5:49a61433290a 29
dkato 5:49a61433290a 30 #ifdef __cplusplus
dkato 5:49a61433290a 31 extern "C" {
dkato 5:49a61433290a 32 #endif
dkato 5:49a61433290a 33
dkato 5:49a61433290a 34 int STB_Init(int inFuncFlag);
dkato 5:49a61433290a 35 void STB_Final(void);
dkato 5:49a61433290a 36
dkato 5:49a61433290a 37 int STB_Exec(int inActiveFunc, const HVC_RESULT *inResult, int *pnSTBFaceCount, STB_FACE **pSTBFaceResult, int *pnSTBBodyCount, STB_BODY **pSTBBodyResult);
dkato 5:49a61433290a 38
dkato 5:49a61433290a 39 int STB_Clear(void);
dkato 5:49a61433290a 40
dkato 5:49a61433290a 41 int STB_SetTrParam(int inRetryCount, int inStbPosParam, int inStbSizeParam);
dkato 5:49a61433290a 42 int STB_SetPeParam(int inThreshold, int inUDAngleMin, int inUDAngleMax, int inLRAngleMin, int inLRAngleMax, int inCompCount);
dkato 5:49a61433290a 43 int STB_SetFrParam(int inThreshold, int inUDAngleMin, int inUDAngleMax, int inLRAngleMin, int inLRAngleMax, int inCompCount, int inRatio);
dkato 5:49a61433290a 44
dkato 5:49a61433290a 45 static void GetFrameResult(int inActiveFunc, const HVC_RESULT *inResult, STB_FRAME_RESULT *outFrameResult);
dkato 5:49a61433290a 46
dkato 5:49a61433290a 47 #ifdef __cplusplus
dkato 5:49a61433290a 48 }
dkato 5:49a61433290a 49 #endif
dkato 5:49a61433290a 50
dkato 5:49a61433290a 51 #endif /* STBWrap_H__ */