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

📄 encvideoobjectplane.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_VIDEO_OBJECT_PLANE_H__
#define __ENC_VIDEO_OBJECT_PLANE_H__

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

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

--------------------------------------------------------------------------------
    3. Module defines
------------------------------------------------------------------------------*/
/* vopType (Table 6-20) */
typedef enum {
	IVOP = 0,
	PVOP = 1,
	BVOP = 2,
	SVOP = 3
} vopType_e;

/* Video Object Plane */
typedef struct {
	true_e	header;			/* YES/NO */
	true_e	vopCoded;		/* YES/NO */
	true_e	hec;			/* YES/NO */
	true_e	acPred;			/* YES/NO */
	vopType_e vopType;		/* Table 6-20 */
	i32	roundControl;		/* 1/0 */
	i32	intraDcVlcThr;		/* Table 6-21 */
	i32	vopFcodeForward;	/* Table 7-5 */
	i32	vopTimeInc;		/* 1-16 bit */
	i32	moduloTimeBase;		/* Seconds elapsed since last ref */
	i32	vopTimeIncRes;		/* Input frame rate numerator */
} vop_s;

/*------------------------------------------------------------------------------
    4. Function prototypes
------------------------------------------------------------------------------*/
void EncVopInit(vop_s *vop);
void EncVopHdr(stream_s *, vop_s *, i32);

#endif

⌨️ 快捷键说明

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