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

📄 convert.h

📁 h261协议的h261编码码,lib_261.h里面提供了详细的接口和说明.
💻 H
字号:
////////////////////////////////////////////////////////////////////////////

//

//

//    Project     : VideoNet version 1.1.

//    Description : Peer to Peer Video Conferencing over the LAN.

//	  Author      :	Nagareshwar Y Talekar ( nsry2002@yahoo.co.in)

//    Date        : 15-6-2004.

//

//

//    File description : 

//    Name    : convert.h

//    Details : Conversion routine from RGB24 to YUV420 & YUV420 to RGB24.

//

/////////////////////////////////////////////////////////////////////////////



#if !defined _CONVERT_H

#define _CONVERT_H



#include<stdio.h>



// Conversion from RGB24 to YUV420

void InitLookupTable();

int  ConvertRGB2YUV(int w,int h,unsigned char *bmp,unsigned char *yuv);





// Conversion from YUV420 to RGB24

void InitConvertTable();

void ConvertYUV2RGB(unsigned char *src0,unsigned char *src1,unsigned char *src2,unsigned char *dst_ori,

								 int width,int height);





#endif

⌨️ 快捷键说明

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