📄 dvb_dgst.h
字号:
/**************************************************************************
(C)Copyright Cheertek Inc. 2002-2004,
D700, all right reserved.
Product : STB Firmware
****************************************************************************/
#ifndef __DVB_DIGEST_H
#define __DVB_DIGEST_H
/*! \file
* This module provides the Digest control API.
*
*/
#include "dvb_type.h"
#include "dvb_av.h"
/**
* Define the digest error type.
*/
typedef enum
{
EN_DIGEST_NO_ERROR,
EN_DIGEST_ABORT,
EN_DIGEST_NIM_NO_LOCK,
#if (defined(CT216S) || defined(CT216T) || defined (CT216H) ||defined(CT956))
EN_DIGEST_NO_STREAM,
EN_DIGEST_STREAM_SCRAMBLED,
EN_DIGEST_STREAM_FREE_NO_IFRAM,
EN_DIGEST_STREAM_HDTV,
#endif
EN_DIGEST_IFRAME_TIMEOUT
}EN_DIGEST_ERROR;
void DVB_DigestInit(void);
/*! \fn void DVB_DigestInit(void)
\brief Initial the video mode to digest mode. This mode needs call
DVB_DigestTerm() to terminal this mode to normal play.
*/
EN_DIGEST_ERROR DVB_DigestPosition(EN_VID_SCALING enScaling_type, u16 u16PosX, u16 u16PosY);
/*! \fn EN_DIGEST_ERROR DVB_DigestPosition(EN_VID_SCALING enScaling_type, u16 u16PosX, u16 u16PosY)
\brief Show Digest Video in selected position
\param enScaling_type (Input) the video scale type, at this time only support EN_VID_SCALING_1_2 and EN_VID_SCALING_1_4
\param u16PosX (Input) the position X , the range is 0~639 , and X must be a multiple of 8
\param u16PosY (Input) the position Y , the range is 0~559 , and Y must be a multiple of 2
*/
#ifdef PVR_ENABLE
EN_DIGEST_ERROR DVB_DigestPosition_NocheckNim( EN_VID_SCALING enScaling_type, u16 u16PosX, u16 u16PosY );
#endif
void DVB_DigestLive(EN_VID_SCALING enScaling_type, u16 u16PosX, u16 u16PosY);
/*! \fn void DVB_DigestLive(EN_VID_SCALING enScaling_type, u16 u16PosX, u16 u16PosY)
\brief Show Digest live Video in selected position
\param enScaling_type (Input) the video scale type, at this time only support EN_VID_SCALING_1_2 and EN_VID_SCALING_1_4
\param u16PosX (Input) the position X , the range is 0~639 , and X must be a multiple of 8
\param u16PosY (Input) the position Y , the range is 0~559 , and Y must be a multiple of 2
*/
void DVB_DigestBackup(EN_VID_SCALING enScaling_type, u16 u16PosX, u16 u16PosY);
/*! \fn void DVB_DigestBackup(EN_VID_SCALING enScaling_type, u16 u16PosX, u16 u16PosY)
\brief Backup current video to digest video in selected position
\param enScaling_type (Input) the video scale type, at this time only support EN_VID_SCALING_1_2 and EN_VID_SCALING_1_4
\param u16PosX (Input) the position X , the range is 0~639 , and X must be a multiple of 8
\param u16PosY (Input) the position Y , the range is 0~559 , and Y must be a multiple of 2
*/
void DVB_DigestFullScreen(void);
/*! \fn void DVB_DigestFullScreen(void)
\brief full screen.
*/
void DVB_DigestTerm(void);
/*! \fn void DVB_DigestTerm(void)
\brief Terminal the digest mode.
*/
void DVB_DigestSetServiceTimeout (u16 u16LockMillisec, u16 u16IFrameMillisec);
/*! \fn void DVB_DigestSetServiceTimeout (u16 u16LockMillisec, u16 u16IFrameMillisec)
\brief Set timeout for tuner lock and first I frame, default timeout is 1 sec for both.
\param u16LockMillisec (Input) The minimal time interval of u16LockMillisec is 200 ms.
\param u16IFrameMillisec (Input) The minimal time interval of u16IFrameMillisec is 100 ms.
*/
bool8 DVB_DigestGetStatus(void);
/*! \fn bool8 DVB_DigestGetStatus(void)
\brief Get Current Digest Status.
\return TRUE: Digest Mode is enable
\return FALSE: Digest Mode is disable
*/
bool8 DVB_DigestDetectFrame( void );
#endif //__DVB_DIGEST_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -