enctimecode.h

来自「freescale i.mx31 BSP CE5.0全部源码」· C头文件 代码 · 共 79 行

H
79
字号
/*------------------------------------------------------------------------------
--                                                                            --
--       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 + =
减小字号Ctrl + -
显示快捷键?