亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? common.c

?? ISO mp3 sources (distribution 10) Layer 1/2/3, C Source, 512 k Sources of the Mpeg 1,2 layer 1,2
?? C
?? 第 1 頁 / 共 4 頁
字號:
   unsigned long val = 0;   unsigned char byte;   unsigned char bytes[2048];	/* bytes of an MPEG-2 extention frame */   long sync = EXT_SYNCWORD;		/* sync word maximum 32 bits */   int N = SYNC_WORD_LNGTH;	/* sync word length */   int i, sync_bytes = N / 8;   int nbytes, lcrc, la_bytes, la_bits;   if (fread (bytes, 1, 5, bs->pt) != 5)   {      printf ("next ext header not found\n");      return (0);   }   for (i = 0; i < sync_bytes; i++)   {      val <<= 8;      val |= bytes[i];   }   if ((N % 8) != 0)   {      val <<= N % 8;      byte = bytes[sync_bytes] >> (8 - (N % 8));      val |= byte;   }     if (val != sync)   {      printf ("no ext sync found: %4x\n", val);      return (0);   }   nbytes = (((int) (bytes[3] & 0x0f) * 256) + bytes[4]) / 2;   if (fread (&bytes[5], 1, nbytes-5, bs->pt) != nbytes-5)      return (0);   bytes_to_bits (bs->bits, bytes, nbytes);   bs->totbits = nbytes * 8;   bs->curpos = 12;   bs->eobs = 0;   info->ext_crc_check = getbits (bs, 16);   info->ext_length = getbits (bs, 11);   info->reserved_bit = get1bit (bs);#ifdef EXTENSION_CRC_CHECK   lcrc = info->ext_length * 8 - 28;   if (lcrc > 128) lcrc = 128;   la_bytes = (lcrc - 12) / 8;   la_bits = (lcrc - 12) % 8;   for (i = 0; i < la_bytes; i++)      info->ext_crc_bits[i] = getbits (bs, 8);   info->ext_crc_bits[la_bytes] = getbits (bs, la_bits);   bs->curpos = 40;   if (mc_ext_error_check (fr_ps, la_bytes, la_bits) == 0)      return (0);#endif   return (1);}/*******************************************************************************  End of bit_stream.c package******************************************************************************//*******************************************************************************  CRC error protection package******************************************************************************/void update_CRC(unsigned int data,		unsigned int length,		unsigned int *crc){	unsigned int  masking, carry;	masking = 1 << length;	while((masking >>= 1)){			carry = *crc & 0x8000;			*crc <<= 1;			if (!carry ^ !(data & masking))					*crc ^= CRC16_POLYNOMIAL;	}	*crc &= 0xffff;#ifdef	PrintCRCDebug	printf ("crc_len: %2d code: %4x crc: %4x\n", length, data, *crc);	fflush (stdout);#endif}void I_CRC_calc (frame_params *fr_ps,		 unsigned int bit_alloc[7][SBLIMIT], 		 unsigned int *crc){   int i, k;   layer *info = fr_ps->header;   int stereo  = fr_ps->stereo;   int jsbound = fr_ps->jsbound;   *crc = 0xffff; /* changed from '0' 92-08-11 shn */   update_CRC (info->bitrate_index, 4, crc);   update_CRC (info->sampling_frequency, 2, crc);   update_CRC (info->padding, 1, crc);   update_CRC (info->extension, 1, crc);   update_CRC (info->mode, 2, crc);   update_CRC (info->mode_ext, 2, crc);   update_CRC (info->copyright, 1, crc);   update_CRC (info->original, 1, crc);   update_CRC (info->emphasis, 2, crc);   for (i=0; i<SBLIMIT; i++)      for (k=0; k<((i<jsbound)?stereo:1); k++)	 update_CRC (bit_alloc[k][i], 4, crc);}void II_CRC_calc(frame_params *fr_ps,		 unsigned int bit_alloc[7][SBLIMIT], 		 unsigned int scfsi[7][SBLIMIT],		 unsigned int *crc){   int i, k;   layer *info = fr_ps->header;   int stereo  = fr_ps->stereo;   int sblimit = fr_ps->sblimit;   int jsbound = fr_ps->jsbound;   al_table *alloc = fr_ps->alloc;   *crc = 0xffff; /* changed from '0' 92-08-11 shn */   update_CRC (info->bitrate_index, 4, crc);   update_CRC (info->sampling_frequency, 2, crc);   update_CRC (info->padding, 1, crc);   update_CRC (info->extension, 1, crc);   update_CRC (info->mode, 2, crc);   update_CRC (info->mode_ext, 2, crc);   update_CRC (info->copyright, 1, crc);   update_CRC (info->original, 1, crc);   update_CRC (info->emphasis, 2, crc);   for (i=0; i<sblimit; i++)      for (k=0; k<((i<jsbound)?stereo:1); k++)	 update_CRC (bit_alloc[k][i], (*alloc)[i][0].bits, crc);   for (i=0; i<sblimit; i++)      for (k=0; k<stereo; k++)	 if (bit_alloc[k][i])	    update_CRC (scfsi[k][i], 2, crc);}void mc_error_check(frame_params *fr_ps,		    unsigned int bit_alloc[7][SBLIMIT], 		    unsigned int scfsi[7][SBLIMIT],		    unsigned int *crc,			     int ch_start,			     int channels){	 int i, m, l, pci,c,sbgr;	 layer *info = fr_ps->header;	 int sblimit = fr_ps->sblimit_mc;	 al_table *alloc = fr_ps->alloc_mc;	 *crc = 0xffff; /* changed from '0' 92-08-11 shn */	 update_CRC(info->ext_bit_stream_present, 1, crc);	 if ( info->ext_bit_stream_present == 1)		update_CRC(info->n_ad_bytes, 8, crc);	 update_CRC(info->center, 2, crc);	 update_CRC(info->surround, 2, crc);	 update_CRC(info->lfe, 1, crc);	 update_CRC(info->audio_mix, 1,crc);	 update_CRC(info->dematrix_procedure, 2, crc);	 update_CRC(info->no_of_multi_lingual_ch, 3, crc);	 update_CRC(info->multi_lingual_fs, 1, crc);	 update_CRC(info->multi_lingual_layer, 1, crc);	 update_CRC(info->copyright_ident_bit, 1, crc);	 update_CRC(info->copyright_ident_start, 1, crc);	 	 update_CRC(info->tc_sbgr_select, 1, crc);	 update_CRC(info->dyn_cross_on, 1, crc);	 update_CRC(info->mc_prediction_on, 1, crc);	 if (info->tc_sbgr_select == 1)	    update_CRC (info->tc_allocation, fr_ps->alloc_bits, crc);	 else	    for (i = 0; i < 12; i++)	       update_CRC (info->tc_alloc[i], fr_ps->alloc_bits, crc);	   	 if (info->dyn_cross_on == 1)	 {		update_CRC(info->dyn_cross_LR, 1, crc);		for(i = 0; i < 12; i++)		{			update_CRC(info->dyn_cross_mode[i], fr_ps->dyn_cross_bits, crc);			if (info->surround == 3)				update_CRC(info->dyn_second_stereo[i], 1, crc);		}	 }	 if (info->mc_prediction_on == 1)	 {		for(i = 0; i < 8; i++)		{ 	/* new sbgr < 8 */			update_CRC(info->mc_prediction[i], 1, crc);			if( info->mc_prediction[i] == 1 )			{			   for(pci=0; pci< pred_coef_table[fr_ps->pred_mode][info->dyn_cross_mode[i]]; pci++)				update_CRC(info->mc_predsi[i][pci], 2, crc);			}		}	 }	 if( info->lfe )		update_CRC(info->lfe_alloc, (*alloc)[0][0].bits, crc);	 for (i=0;i<sblimit;i++)		   if( info->dyn_cross_on == 0)			for(m = ch_start; m < channels; ++m)			{				if((i < 12) || (m != 2) || (fr_ps->header->center != 3))					update_CRC(bit_alloc[m][i], (*alloc)[i][0].bits, crc);					/* to limit the CRC calc., if the phant. center valid */			}		   else		   {			if(i == 0) sbgr = 0;			else	   		   for(c = 1; c < 12; c++)	   		   {	      			if((sb_groups[c-1] < i) && (i <= sb_groups[c]))	      			{			  	   sbgr = c;  /* search the valid subband group */			  	   break;	         		}			   }			/* 960816 FdB new setup for dyn. crosstalk modes */			if (info->dyn_cross_mode[sbgr] == 0)			{			   for (m = ch_start; m < channels; m++)			      if ((info->center != 3) || (i < 12) || (m !=2))				 if (info->surround == 3 && info->dyn_second_stereo[sbgr] == 1)				 {				    if ((info->center == 0 || m != 4) && (info->center != 0 || m != (ch_start+1)))				       update_CRC (bit_alloc[m][i], (*alloc)[i][0].bits, crc);				 }				 else				    update_CRC (bit_alloc[m][i], (*alloc)[i][0].bits, crc);			}			else if (fr_ps->dyn_cross_bits == 1)   /* for channel mode 3/0 and 2/1 */			{			   if (info->surround == 3)		/* 3/0 + 2/0 */			   {			      update_CRC (bit_alloc[3][i], (*alloc)[i][0].bits, crc);			      if (info->dyn_second_stereo[sbgr] == 0)			         update_CRC (bit_alloc[4][i], (*alloc)[i][0].bits, crc);			   }			}			else if (fr_ps->dyn_cross_bits == 3)   /* for channel mode 3/1 and 2/2 */			{			   if ((info->center != 3) || (i < 12))    /* 3/2 + no phantom center */			      if ((info->dyn_cross_mode[sbgr] == 1) || (info->dyn_cross_mode[sbgr] == 4))			         update_CRC (bit_alloc[2][i], (*alloc)[i][0].bits, crc);			   if (info->dyn_cross_mode[sbgr] == 2)			      update_CRC (bit_alloc[3][i], (*alloc)[i][0].bits, crc);			} 			else if (fr_ps->dyn_cross_bits == 4)   /* for channel mode 3/2 */			{			   /* T2 */			   if ((info->center != 3) || (i < 12))    /* 3/2 + no phantom center */			      switch (info->dyn_cross_mode[sbgr])			   {			   case 1 :   /* T2 contains bitalloc info */			   case 2 :			   case 4 :			   case 8 :			   case 9 :			   case 10: 			   case 11: 			   case 12: 			   case 14: 				      update_CRC (bit_alloc[2][i], (*alloc)[i][0].bits, crc);				      break;			   }			   /* T3 */			   switch (info->dyn_cross_mode[sbgr])			   {			   case 1 :   /* T3 contains bitalloc info */			   case 3 :			   case 5 :			   case 8 :			   case 10: 			   case 13: 				      update_CRC (bit_alloc[3][i], (*alloc)[i][0].bits, crc);				      break;			   }			   /* T4 */			   switch (info->dyn_cross_mode[sbgr])			   {			   case 2 :   /* T4 contains bitalloc info */			   case 3 :			   case 6 :			   case 9 : 				      update_CRC (bit_alloc[4][i], (*alloc)[i][0].bits, crc);				      break;			   }			}		   }	     for (i = 0; i < sblimit; i++)		for (m = ch_start; m < channels; m++)			if (bit_alloc[m][i])				update_CRC (scfsi[m][i], 2, crc); }#ifdef Augmentation_7chvoid mc_aug_error_check(frame_params *fr_ps,		    unsigned int bit_alloc[7][SBLIMIT], 		    unsigned int scfsi[7][SBLIMIT],		    unsigned int *crc){   int i, m, l, pci,c,sbgr;   layer *info = fr_ps->header;   int sblimit = fr_ps->sblimit_mc;   al_table *alloc = fr_ps->alloc_mc;   *crc = 0xffff; /* changed from '0' 92-08-11 shn */   update_CRC(info->aug_mtx_proc, 2, crc);   update_CRC(info->aug_dyn_cross_on, 1, crc);   update_CRC(info->aug_future_ext, 1, crc);   if(info->aug_mtx_proc == 0)      for(i = 0; i < 12; i++)	 update_CRC(info->tc_aug_alloc[i], 3, crc);   else if(info->aug_mtx_proc == 1)      for(i = 0; i < 12; i++)	 update_CRC(info->tc_aug_alloc[i], 2, crc);        if(info->aug_dyn_cross_on == 1)      for(i = 0; i < 12; i++)	 update_CRC(info->dyn_cross_aug_mode[i], 5, crc);   for (i=0;i<sblimit;i++)   {      if(i == 0) sbgr = 0;      else	 for(c = 1; c < 12; c++)	 {	    if((sb_groups[c-1] < i) && (i <= sb_groups[c]))	    {	      sbgr = c;  /* search the valid subband group */	      break;	    }	 }       /* check bitalloc info */      switch (info->dyn_cross_aug_mode[sbgr])      {      case  0: /* T5 and T6 contains bitalloc info */	       update_CRC(bit_alloc[5][i], (*alloc)[i][0].bits, crc);	       update_CRC(bit_alloc[6][i], (*alloc)[i][0].bits, crc);	       break;      case  1: /* T5 contains bitalloc info */      case  2:      case  3:      case  4:	       update_CRC(bit_alloc[5][i], (*alloc)[i][0].bits, crc);	       break;      case  5:   /* T6 contains bitalloc info */      case 10:      case 14:	       update_CRC(bit_alloc[6][i], (*alloc)[i][0].bits, crc);	       break;      }   }   for (i = 0; i < sblimit; i++)      for (m = 5; m < 7; m++)	 if (bit_alloc[m][i])		 update_CRC (scfsi[m][i], 2, crc); }#endifint mc_ext_error_check (frame_params *fr_ps, int bytes, int bits){	layer *info = fr_ps->header;	int i;	unsigned int crc;	crc = 0xffff;	update_CRC(info->ext_length, 11, &crc);	update_CRC(info->reserved_bit, 1, &crc);	for( i = 0; i < bytes; i++)		update_CRC(info->ext_crc_bits[i], 8, &crc);	update_CRC(info->ext_crc_bits[bytes], bits, &crc);	if (crc != info->ext_crc_check)	{		printf ("\nERROR in EXT.-CRC \n");		return (0);	}	else		return(1);}/*******************************************************************************  End of CRC error protection package******************************************************************************/#ifdef  MACINTOSH/*******************************************************************************  Set Macintosh file attributes.******************************************************************************/void    set_mac_file_attr(char fileName[MAX_NAME_SIZE],			  short vRefNum,			  OsType creator,			  OsType fileType){short   theFile;char    pascal_fileName[MAX_NAME_SIZE];FInfo   fndrInfo;		CtoPstr(strcpy(pascal_fileName, fileName));        FSOpen(pascal_fileName, vRefNum, &theFile);        GetFInfo(pascal_fileName, vRefNum, &fndrInfo);		fndrInfo.fdCreator = creator;        fndrInfo.fdType = fileType;        SetFInfo(pascal_fileName, vRefNum, &fndrInfo);        FSClose(theFile);}#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91丨porny丨在线| 2020国产精品自拍| 国内精品国产成人国产三级粉色| 亚洲视频在线观看三级| 5566中文字幕一区二区电影| 成人精品高清在线| 麻豆久久久久久| 一区二区成人在线| 久久精品一区八戒影视| 欧美三级中文字幕| 97国产一区二区| 精品制服美女丁香| 亚洲成a人v欧美综合天堂下载| 国产女人18毛片水真多成人如厕| 911精品产国品一二三产区| 99视频精品全部免费在线| 91精品国产黑色紧身裤美女| 成人av资源网站| 国产最新精品免费| 青青青伊人色综合久久| 亚洲一区在线观看免费| 国产精品热久久久久夜色精品三区| 欧美一区二区啪啪| 欧美日韩一本到| 欧洲人成人精品| 91亚洲精品一区二区乱码| 国产91在线|亚洲| 韩国中文字幕2020精品| 蜜臀91精品一区二区三区| 亚洲r级在线视频| 一区二区激情小说| 亚洲美女屁股眼交| 国产精品超碰97尤物18| 久久久99精品免费观看不卡| 欧美精品一区二区三| 欧美一区二区三区视频免费 | 国产一区二区伦理片| 免费一级片91| 裸体在线国模精品偷拍| 久久成人麻豆午夜电影| 麻豆视频观看网址久久| 久草热8精品视频在线观看| 日本在线不卡一区| 免费观看30秒视频久久| 奇米888四色在线精品| 日韩av在线播放中文字幕| 亚洲aaa精品| 日韩中文字幕亚洲一区二区va在线| 亚洲小说欧美激情另类| 亚洲一二三四在线| 水野朝阳av一区二区三区| 视频一区二区中文字幕| 奇米色777欧美一区二区| 久久激情综合网| 国产福利精品一区二区| 不卡一区中文字幕| 欧美在线观看一区| 欧美一区二视频| 久久综合九色综合欧美98| 久久久久久久久岛国免费| 国产精品网站在线播放| 亚洲蜜桃精久久久久久久| 亚洲第一搞黄网站| 九九**精品视频免费播放| 成人福利在线看| 欧美亚洲一区二区在线观看| 7777精品伊人久久久大香线蕉超级流畅 | 成人黄页在线观看| 91国偷自产一区二区使用方法| 欧美日韩一区二区三区高清| 日韩一区二区电影网| 久久亚区不卡日本| 亚洲男人的天堂网| 奇米综合一区二区三区精品视频| 福利一区二区在线观看| 在线精品视频小说1| 日韩一区二区三区在线| 国产精品婷婷午夜在线观看| 亚洲成av人影院在线观看网| 欧美成人福利视频| 中文字幕精品在线不卡| 亚洲香蕉伊在人在线观| 九九九精品视频| 欧美亚洲免费在线一区| 久久综合九色综合欧美就去吻| 亚洲欧美偷拍卡通变态| 免费在线看一区| 97aⅴ精品视频一二三区| 日韩欧美国产一区二区在线播放| 中文字幕一区二区日韩精品绯色| 天堂一区二区在线| 99在线精品视频| 精品久久久久一区二区国产| 亚洲男人都懂的| 国产一区二区在线观看免费| 欧美亚洲一区三区| 国产精品天干天干在线综合| 日韩精品欧美精品| 91香蕉视频污在线| 久久久精品免费免费| 亚洲gay无套男同| aaa国产一区| 2023国产精品| 日韩精品免费专区| 欧美亚洲一区三区| 1区2区3区国产精品| 精品一区二区在线播放| 欧美伦理影视网| 亚洲男人的天堂在线aⅴ视频| 国产精品一二一区| 91麻豆精品91久久久久同性| 亚洲色图在线看| 成人av电影免费在线播放| 精品伦理精品一区| 日韩影院免费视频| 欧美日韩美女一区二区| 日韩久久一区二区| 成人黄色在线视频| 国产欧美日韩一区二区三区在线观看| 日韩精品一二区| 欧美人与禽zozo性伦| 亚洲激情av在线| 成人av手机在线观看| 中文字幕第一区第二区| 国产很黄免费观看久久| 精品三级在线观看| 美国毛片一区二区| 4438x成人网最大色成网站| 亚洲高清免费观看高清完整版在线观看 | 亚洲综合丝袜美腿| 91丝袜美腿高跟国产极品老师| 国产欧美一区二区精品仙草咪| 国内精品伊人久久久久av一坑| 日韩免费高清电影| 久久超碰97中文字幕| 日韩欧美精品在线视频| 精品中文字幕一区二区小辣椒| 日韩欧美国产不卡| 九色porny丨国产精品| 欧美成人a在线| 国产精品白丝jk黑袜喷水| 国产女人水真多18毛片18精品视频| 国产精品1区2区| 国产视频一区不卡| 成人黄色777网| 亚洲丝袜精品丝袜在线| 91黄色免费网站| 日韩精品一级中文字幕精品视频免费观看| 欧美群妇大交群的观看方式| 丝袜诱惑制服诱惑色一区在线观看| 欧美体内she精视频| 日韩电影在线观看网站| 日韩欧美精品在线视频| 国产高清亚洲一区| 国产精品对白交换视频| 色婷婷精品久久二区二区蜜臀av | 国产成人av影院| 中文字幕一区二区三区av| 欧美亚洲另类激情小说| 麻豆一区二区99久久久久| 欧美韩日一区二区三区四区| 99re在线精品| 午夜精品久久一牛影视| 精品国产不卡一区二区三区| 丰满亚洲少妇av| 亚洲一区电影777| 欧美成人video| 99视频一区二区| 日韩国产一区二| 国产欧美一区二区精品仙草咪| 色综合婷婷久久| 老司机免费视频一区二区| 国产精品视频一二三| 在线观看一区二区视频| 国内精品视频一区二区三区八戒 | 久久精品国产色蜜蜜麻豆| 国产清纯在线一区二区www| 色综合天天视频在线观看| 青青草国产成人av片免费| 国产欧美一区二区精品性色| 欧美日韩一区久久| 国产精品羞羞答答xxdd| 偷窥国产亚洲免费视频| 久久久不卡网国产精品二区| 色婷婷国产精品| 国产在线播放一区| 亚洲午夜免费福利视频| 久久久久久久久97黄色工厂| 欧美中文字幕亚洲一区二区va在线 | 激情综合色综合久久综合| 中文字幕一区二区三区精华液| 欧美一二三区在线| 日本道色综合久久| 国产成人精品免费看| 免费高清在线一区| 亚洲一区二区三区四区五区黄| 久久美女高清视频| 欧美精品第一页| 色综合久久久久网| 国产成人精品综合在线观看|