enc_base.h

来自「This site include optimized H.264 baseli」· C头文件 代码 · 共 57 行

H
57
字号
/***********************************************************************************************
*	Copyright Author: Tonald DL
*
*	This program is free software; you can redistribute it and/or
*	modify it under the terms of the GNU General Public License
*	as published by the Free Software Foundation; either version 2
*	of the License, or (at your option) any later version.
*
*	This program is distributed in the hope that it will be useful,
*	but WITHOUT ANY WARRANTY; without even the implied warranty of
*	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*	GNU General Public License for more details.
*
*	You should have received a copy of the GNU General Public License
*	along with this program; if not, write to the Free Software
*	Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*
***********************************************************************************************/

#ifndef _DHENC_BASE_H_
#define _DHENC_BASE_H_

typedef unsigned char byte; 
typedef char sbyte;   
typedef unsigned short ushort;
typedef unsigned int uint;

enum
{
FRAME_INIT=0,
FRAME_RESET=1,
FRAME_DEPT=2,
FRAME_AUTO=3
};

typedef struct	_FRAME_PROP
{
	int ImageHeight;
	int ImageWidth;
	int DeptPeriod;
	int VideoQuality;
	int FrameType;
	int CodeLength;
} FRAME_PROP;

#ifdef __cplusplus 
extern "C"{ 
#endif

void DHENC_FRAME(void* _InDat,void* _OutDat,void* _SeqProp);

#ifdef __cplusplus 
} 
#endif

#endif

⌨️ 快捷键说明

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