⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 enctimecode.h

📁 freescale i.mx31 BSP CE5.0全部源码
💻 H
字号:
/*------------------------------------------------------------------------------
--                                                                            --
--       This software is confidential and proprietary and may be used        --
--        only as expressly authorized by a licensing agreement from          --
--                                                                            --
--                            Hantro Products Oy.                             --
--                                                                            --
--      In the event of publication, the following notice is applicable:      --
--                                                                            --
--                   (C) COPYRIGHT 2004 HANTRO PRODUCTS OY                    --
--                            ALL RIGHTS RESERVED                             --
--                                                                            --
--          The entire notice above must be reproduced on all copies.         --
--                                                                            --
--------------------------------------------------------------------------------
--
--  Description : Encoder internal
--
-------------------------------------------------------------------------------*/


/*------------------------------------------------------------------------------

    Table of context

    1. Include headers
    2. External compiler flags
    3. Module defines
    4. Function prototypes

------------------------------------------------------------------------------*/
#ifndef __ENC_TIME_CODE_H__
#define __ENC_TIME_CODE_H__

/*------------------------------------------------------------------------------
    1. Include headers
------------------------------------------------------------------------------*/
#include "basetype.h"
#include "EncSim.h"
#include "EncGroupOfVideoObjectPlane.h"

/*------------------------------------------------------------------------------
    2. External compiler flags
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
    3. Module defines
------------------------------------------------------------------------------*/
typedef struct {
	true_e	fixedVopRate;		/* YES/NO */
	true_e	svHdr;			/* YES/NO */

	i32	vopTimeIncRes;		/* Frame rate numerator */
	i32	fixedVopTimeInc;	/* Frame rate denominator */
	i32	timeInc;		/* Time increment */

	i32	vopTimeInc;		/* MPEG4 */
	i32	moduloTimeBase;

	i32	tempRef;		/* H263 */
	i32	tempRefRem;

	i32	timeCodeSecond;		/* GoVopHdr */
	i32	timeCodeMinutes;
	i32	timeCodeHours;
	i32	secondHundredth;
} timeCode_s;

/*------------------------------------------------------------------------------
    4. Function prototypes
------------------------------------------------------------------------------*/
void EncTimeIncrement(timeCode_s *timeCode, i32 timeInc);
void EncTimeCode(timeCode_s *timeCode, govop_s *govop);
void EncCopyTimeCode(timeCode_s *timeCodeSrc, timeCode_s *timeCodeDest);
bool_e EncTimeCodeCheck(timeCode_s *timeCode);

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -