有关c语言的一段程序哪位明白的朋友给翻译下啊,刚学不太懂

来源:百度知道 编辑:UC知道 时间:2024/05/13 06:00:09
int msdelay:
void WlanVideoStreamServer(char*fname)
{
BOOL FileSave=FALSE:
UINT32 wlan_start_record_ticks,wlan_end_record_ticks:
If (fname!=NULL)
FileSave=TRUE;
BoardSetupImager(15,352,288):/*初始化摄像头*/
DEBUG(“Starting Video Stream Server”):
WlanUSBHostInit();/*初始化USB无线网卡*/
InitializeWlanConnection(STREAMING_VIDE0_SERVER):/*初始化WLAN连接*/
//Start network and command servers
if (StartUDPServer(NET_PORT,ProcessRemoteUDPCmd)!=0)
{
DEBUG(’Error Connecting to Remote Device’):
While (1):
}
DEBUG(“Wait for VID CHK”):
for(::)
{
Check Remote Command():/*等待收端握手命令并应答*/
if (gVdeostreamState == VIDSEND)/*建立无线视频传输系统连接并准备发送*/
{
/*MPEG一4编码初始化*/
SetEncodingSource(CAPTURE_CAMA):
SetEncodingFps(15):
Mp4WlanCaptureEncodeInit(352,288,
0,2900,
166,3000,//SDRAM_RF_AddrX,SDRAM_RF_AddrY,
1400,3000,//UINT16 SDRAM_CAP_ADDX,UINT16 SDRAM_CAP_ADDY,
684*2,480,//SDRAM_RF_Sie

刚学最好不要看win32的程序先

先去找谭浩强的《C程序设计》这本书来看看吧,我觉得它比较适合初学者自学使用,(很多学校也把它作为C语言教材用的)