📄 tbc.h
字号:
/*
* Copyright (c) 1996,2000 TriMedia Technologies Inc.
*
* +------------------------------------------------------------------+
* | This software is furnished under a license and may only be used |
* | and copied in accordance with the terms and conditions of such |
* | a license and with the inclusion of this copyright notice. This |
* | software or any other copies of this software may not be provided|
* | or otherwise made available to any other person. The ownership |
* | and title of this software is not transferred. |
* | |
* | The information in this software is subject to change without |
* | any prior notice and should not be construed as a commitment by |
* | TriMedia Technologies. |
* | |
* | this code and information is provided "as is" without any |
* | warranty of any kind, either expressed or implied, including but |
* | not limited to the implied warranties of merchantability and/or |
* | fitness for any particular purpose. |
* +------------------------------------------------------------------+
*
* Module name : tbc.h 2.2
*
* Last update : 3/24/2000
*
* Description : header file for time based correction
*/
#include <math.h>
#include <tm1/tmProcessor.h>
typedef struct {
int frame;
float skew; /* desired phase skew - video in to video out */
float phase; /* current phase skew - video in to video out */
unsigned int clockref; /* reference value for VO CLOCK */
unsigned int clockmin; /* lower bound for VO_CLOCK */
unsigned int clockmax; /* upper bound for VO_CLOCK */
float gain;
int frame_width;
int frame_height;
pprocCapabilities_t procCap;
} voTBC ;
voTBC voTbc;
void tbcInit(int mode, float gain, float min, float max);
void tbcAdjust(void);
float tbcGetPhase(void);
void tbcSetPhase(float phase);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -