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

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

?? encoder.c

?? 實現圖像的jpeg無損壓縮
?? C
?? 第 1 頁 / 共 3 頁
字號:
							cscanline[components*(columns+1)+n_c]=cscanline[components*columns+n_c];						/* make the current scanline the previous one */						swaplines();						/* Insert restart markers if enabled */						if (need_restart)						{							/* Insert restart markers only after a restart interval */							if ((MCUs_counted % restart_interval) == 0)							{								bitoflush();								write_marker(out, (RSTm + ((MCUs_counted / restart_interval)%8)));							}							MCUs_counted++;						}					}			}			else {	/* Multiple files */				/* color_mode==LINE_INT and multi==1  */				/***********************************************************************/				/*           Line interleaved mode with multiple files received        */				/***********************************************************************/				n++;				if (lossy==FALSE)					/* LOSSLESS mode */					while (n <= c_rows[whose_max_size_rows]) {						for (n_c=0;n_c<components;n_c++) {							for (n_r=0;n_r<samplingy[n_c];n_r++) {								read_one_line(c_cscanline[n_c] + 1, c_columns[n_c], c_in[n_c]);								tot_in += c_columns[n_c];								/* 'extend' the edges */								c_cscanline[n_c][-1]=c_cscanline[n_c][0]=c_pscanline[n_c][1];								/* process the lines */								lossless_doscanline(c_pscanline[n_c], c_cscanline[n_c], c_columns[n_c],n_c);								/* 'extend' the edges */								c_cscanline[n_c][c_columns[n_c]+1]=c_cscanline[n_c][c_columns[n_c]];								/* make the current scanline the previous one */								c_swaplines(n_c);							}						}	/* End of loop for each file */						n+=samplingy[whose_max_size_rows];						/* Insert restart markers if enabled */						if (need_restart)						{							/* Insert restart markers only after a restart interval */							if ((MCUs_counted % restart_interval) == 0)							{								bitoflush();								write_marker(out, (RSTm + ((MCUs_counted / restart_interval)%8)));							}							MCUs_counted++;						}					}	/* End while of LINE_INT with multiple input files */				else					/* LOSSY mode */					while (n <= c_rows[whose_max_size_rows]) {						for (n_c=0;n_c<components;n_c++) {							for (n_r=0;n_r<samplingy[n_c];n_r++) {								read_one_line(c_cscanline[n_c] + 1, c_columns[n_c], c_in[n_c]);								tot_in += c_columns[n_c];								/* 'extend' the edges */								c_cscanline[n_c][-1]=c_cscanline[n_c][0]=c_pscanline[n_c][1];								/* process the lines */								lossy_doscanline(c_pscanline[n_c], c_cscanline[n_c], c_columns[n_c],n_c);								/* 'extend' the edges */								c_cscanline[n_c][c_columns[n_c]+1]=c_cscanline[n_c][c_columns[n_c]];								/* make the current scanline the previous one */								c_swaplines(n_c);							}						}	/* End of loop for each file */						n+=samplingy[whose_max_size_rows];						/* Insert restart markers if enabled */						if (need_restart)						{							/* Insert restart markers only after a restart interval */							if ((MCUs_counted % restart_interval) == 0)							{								bitoflush();								write_marker(out, (RSTm + ((MCUs_counted / restart_interval)%8)));							}							MCUs_counted++;						}					}	/* End while of LINE_INT with multiple input files */			}	/* Closes the else, LINE_INT and multi=1 */		}	/* Closes part for color_mode=LINE_INT */		else {			if (color_mode==PIXEL_INT) {				/***********************************************************************/				/*           Pixel interleaved mode with single file received          */				/***********************************************************************/				if (lossy==FALSE)					/* LOSSLESS mode */					while (++n <= rows) {						read_one_line(cscanline+components, components*columns, in);						tot_in += components*columns;						/* 'extend' the edges */						for (n_c=0;n_c<components;n_c++)							cscanline[-components+n_c]=cscanline[n_c]=pscanline[components+n_c];						/* process the lines */						lossless_doscanline_pixel(pscanline, cscanline, components*columns);						/* 'extend' the edges */						for (n_c=0;n_c<components;n_c++)							cscanline[components*(columns+1)+n_c] = cscanline[components*columns+n_c];						/* make the current scanline the previous one */						swaplines();						/* Insert restart markers if enabled */						if (need_restart)						{							/* Insert restart markers only after a restart interval */							if ((MCUs_counted % restart_interval) == 0)							{								bitoflush();								write_marker(out, (RSTm + ((MCUs_counted / restart_interval)%8)));							}							MCUs_counted++;						}					}				else					/* LOSSY mode */					while (++n <= rows) {						read_one_line(cscanline+components, components*columns, in);						tot_in += components*columns;						/* 'extend' the edges */						for (n_c=0;n_c<components;n_c++)							cscanline[-components+n_c]=cscanline[n_c]=pscanline[components+n_c];						/* process the lines */						lossy_doscanline_pixel(pscanline, cscanline, components*columns);						/* 'extend' the edges */						for (n_c=0;n_c<components;n_c++)							cscanline[components*(columns+1)+n_c] = cscanline[components*columns+n_c];						/* make the current scanline the previous one */						swaplines();						/* Insert restart markers if enabled */						if (need_restart)						{							/* Insert restart markers only after a restart interval */							if ((MCUs_counted % restart_interval) == 0)							{								bitoflush();								write_marker(out, (RSTm + ((MCUs_counted / restart_interval)%8)));							}							MCUs_counted++;						}					}			}	/* Closes if PIXEL_INT */			else {	/* NON PIXEL_INT */				/***********************************************************************/				/*           Plane interleaved mode 								   */				/***********************************************************************/				if (lossy==FALSE)					/* LOSSLESS mode */					while (++n <= c_rows[n_s]) {						temp_columns = c_columns[n_s];						read_one_line(c_cscanline[n_s]+1, temp_columns, c_in[n_s]);						tot_in += temp_columns;						/* 'extend' the edges */						c_cscanline[n_s][-1]=c_cscanline[n_s][0]=c_pscanline[n_s][1];						/* process the lines */						lossless_doscanline(c_pscanline[n_s], c_cscanline[n_s], temp_columns, n_s);						/* 'extend' the edges */						c_cscanline[n_s][temp_columns+1] = c_cscanline[n_s][temp_columns];						/* make the current scanline the previous one */						c_swaplines(n_s);						/* Insert restart markers if enabled */						if (need_restart)						{							/* Insert restart markers only after a restart interval */							if ((MCUs_counted % restart_interval) == 0)							{								bitoflush();								write_marker(out, (RSTm + ((MCUs_counted / restart_interval)%8)));							}							MCUs_counted++;						}					}				else					/* LOSSY mode */					while (++n <= c_rows[n_s]) {						temp_columns = c_columns[n_s];						read_one_line(c_cscanline[n_s]+1, temp_columns, c_in[n_s]);						tot_in += temp_columns;						/* 'extend' the edges */						c_cscanline[n_s][-1]=c_cscanline[n_s][0]=c_pscanline[n_s][1];						/* process the lines */						lossy_doscanline(c_pscanline[n_s], c_cscanline[n_s], temp_columns,n_s);						/* 'extend' the edges */						c_cscanline[n_s][temp_columns+1] = c_cscanline[n_s][temp_columns];						/* make the current scanline the previous one */						c_swaplines(n_s);						/* Insert restart markers if enabled */						if (need_restart)						{							/* Insert restart markers only after a restart interval */							if ((MCUs_counted % restart_interval) == 0)							{								bitoflush();								write_marker(out, (RSTm + ((MCUs_counted / restart_interval)%8)));							}							MCUs_counted++;						}					}			}	/* End for each component in PLANE_INT */		}	/* End for non LINE_INT */		bitoflush();	}	/* End of loop on scans */	all_header += write_marker(out, EOI);	/* Close down */	close_process_run();	pos1= closebuffers(multi);	/* total bytes out, including JPEG-LS header, but not	application-specific header bytes */	/* tot_out = (pos1-all_header)*8; */	tot_out = pos1*8;	t1 = get_utime();	if (need_table)		fprintf(msgfile, "Used the mapping table from file : %s\n",mappingtablefilename);	if (need_restart)		fprintf(msgfile, "Used restart markers with restart interval : %i\n", restart_interval);	if ( verbose )		fprintf(msgfile,"Marker segment bytes: %ld\n",all_header);	fprintf(msgfile,"Total bits out: %ld  Symbols in: %ld  %5.3lf bps  (%5.3lf : 1)\n",		tot_out,		tot_in,tot_out/(double)tot_in, 		(log((double)alpha)/log(2.0))*tot_in/tot_out);	fprintf(msgfile,"Time = %1.3lf secs : %1.0lf KSymbols/sec\n",t1-t0,		(tot_in)/(1024*(t1-t0)));	return 0;                                       /* OK! */}/* Message to show how to use program */usage(){	fprintf(stderr,"%s\n",banner);	fprintf(stderr,"Usage: %s [flags] infile1 [infile2,infile3,...] [-ooutfile]\n\				   infile1    : Input file: must be in PGM or PPM format\n\				   infile2,...: Additional input files for \"plane interleaved\"\n\				   or \"line interleaved\" modes. Must be in PGM (P5) format.\n\				   FLAGS  :\n\				   -i<infile> : Alternate input specification, use -i- for stdin.\n\				   -o<outfile>: Output specification, use -o- for stdout (default=%s).\n\				   -Ta<num>, -Tb<num>, -Tc<num>: thresholds for context quantization (a.k.a.\n\				   T1,T2,T3; must have Ta<=Tb<=Tc<=maxs; defaults depend on alphabet\n\				   size and lossless/near-lossless mode; see standard specification).\n\				   -r<num>    : Reset interval for statistics (standard default=%d).\n\				   ", "locoe", OUTFILE COMPSUFFIX,DEFAULT_RESET);	fprintf(stderr,"\				   -c<num>    : Mode for multi-component images (program default=%d):\n\				   %d:%s  %d:%s  %d:%s.\n",				   DEFAULT_COLOR_MODE,				   PLANE_INT, "plane-interleaved",				   LINE_INT,  "line-interleaved",				   PIXEL_INT, "sample-interleaved"				   );	fprintf(stderr,"\				   -n<error> or\n\				   -e<error>  : Max allowed loss per symbol (default = %d).\n",				   DEF_NEAR);	fprintf(stderr,"\				   -m<table>  : Use mapping table where <table> is a file in the format:\n\				   1st byte of <table> is the Table ID,\n\				   2nd byte of <table> is the Width of each table entry (in bytes),\n\				   3rd - 6th byte of <table> is the Max Table Index Value specified\n\				   as an integer (4 bytes),\n\				   7th byte and on are the table entries.\n");	fprintf(stderr,"\				   -t<num>    : Use Restart Markers where <num> is the restart interval \n\				   (ie. number of MCU's between restart markers).\n");	fprintf(stderr,"\				   -h         : Print this help.\n");	fprintf(stderr,"\				   *** No spaces allowed between a flag and its argument.\n\				   *** Use -Ta,-Tb,-Tc,-r only if you know what you are doing!\n\				   ");}/* Print out message for a bad flag */bad_flag(char *s){	fprintf(stderr,"Bad flag %s\n",s);	usage();	exit(10);}/* Functions that read the PGM header */#define HEADER_MAXLINE 256int read_header_6(FILE *fin, int *widthp, int *heightp, int *maxvalp, int *comp){	char line[HEADER_MAXLINE];	int  cols,rows,maxval;	if ( nextline(line, fin) != 0 )		return -10;	if (strncmp(line,"P5",2)==0) *comp=1;	else if (strncmp(line,"P6",2)==0) *comp=3;	else if (strncmp(line,"P7",2)==0) *comp=4;	else return -1;	if ( nextline(line, fin) != 0 )		return -10;	if ( sscanf(line,"%d %d",&cols,&rows) != 2 )		return -1;	if ( nextline(line, fin) != 0 )		return -10;	if ( sscanf(line,"%d",&maxval) != 1 )		return -1;	*widthp = cols;	*heightp = rows;	*maxvalp = maxval;	return 0;}int read_header_5(FILE *fin, int *widthp, int *heightp, int *maxvalp){	char line[HEADER_MAXLINE];	int  cols,rows,maxval;	if ( nextline(line, fin) != 0 )		return -10;	if (strncmp(line,"P5",2)!=0)		return -1;	if ( nextline(line, fin) != 0 )		return -10;	if ( sscanf(line,"%d %d",&cols,&rows) != 2 )		return -1;	if ( nextline(line, fin) != 0 )		return -10;	if ( sscanf(line,"%d",&maxval) != 1 )		return -1;	*widthp = cols;	*heightp = rows;	*maxvalp = maxval;	return 0;}/* Used to read in header lines of PGM/PPM files */int nextline(char *line, FILE *fp){	char *p;	do {		p = fgets(line, HEADER_MAXLINE, fp);		/*		if ( p != NULL )		fprintf(stderr,"%s",line);		*/	} while ( p != NULL && *p == '#' );	if ( p==NULL )		return -1;	return 0;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91亚洲精品久久久蜜桃网站| 国产伦精品一区二区三区视频青涩 | 亚洲乱码国产乱码精品精可以看| 久久免费看少妇高潮| 精品999久久久| 国产精品久久久久久久裸模| 日韩美女精品在线| 亚洲一区二区三区四区的 | 亚洲黄色小视频| 亚洲国产美国国产综合一区二区| 一区二区视频在线| 午夜激情久久久| 激情文学综合丁香| 色婷婷一区二区三区四区| 欧美日韩国产免费| 欧美国产欧美综合| 亚洲一区二区美女| 成人国产在线观看| 欧美日韩精品一区二区三区四区 | 久久久五月婷婷| 亚洲综合网站在线观看| 美日韩一区二区| 99精品久久久久久| 日韩一级完整毛片| 一区二区三区在线免费观看| 日本欧美在线观看| 欧美日韩久久久久久| 99精品视频免费在线观看| 欧美日韩一区二区三区在线看| 日韩一区二区在线观看| 亚洲蜜臀av乱码久久精品| 美女任你摸久久| 欧美日韩国产一区| 亚洲视频电影在线| 成人免费视频一区| 精品99一区二区| 精品一区二区三区视频在线观看 | 2023国产精品| 麻豆91在线播放免费| 欧美日本国产视频| av亚洲精华国产精华精| 依依成人综合视频| 一区二区三区四区蜜桃| 91欧美一区二区| 国产精品久久久99| 成人综合在线网站| 自拍偷拍国产精品| 成人av网在线| 亚洲日本一区二区| 色婷婷综合久久久| 亚洲影院久久精品| 日本二三区不卡| 亚洲人成网站精品片在线观看| 国产成人免费视频网站| 国产精品热久久久久夜色精品三区| 国产在线视频精品一区| 国产午夜精品一区二区三区四区| 国产69精品久久久久毛片| 欧美激情在线看| 在线一区二区视频| 精品一区二区三区免费观看| 国产精品欧美一区喷水| 欧美伊人精品成人久久综合97 | 97精品国产露脸对白| 亚洲精品久久久蜜桃| 欧美一区二区黄| 91香蕉视频mp4| 一区二区三区四区蜜桃| 久久亚洲一区二区三区明星换脸| 成人黄色在线视频| 麻豆91在线观看| 亚洲国产一区二区三区| 中文字幕一区二区三区在线播放| 精品视频一区二区不卡| 亚洲一区二区中文在线| 国产亚洲欧美在线| 3d成人h动漫网站入口| 日本韩国欧美一区| 国产夫妻精品视频| 久久99精品久久久久久动态图| 亚洲另类一区二区| 国产精品美女久久久久久久网站| 日韩情涩欧美日韩视频| 欧美日韩久久不卡| 欧美日韩国产大片| 欧美日韩午夜影院| 欧美高清视频www夜色资源网| 99re8在线精品视频免费播放| 国产精品中文字幕日韩精品| 久久草av在线| 国产曰批免费观看久久久| 久久99日本精品| 国产不卡在线播放| 成人av网站免费观看| 91色九色蝌蚪| 欧美片网站yy| 精品久久久久久最新网址| 久久综合色综合88| 中文字幕精品—区二区四季| 国产精品高清亚洲| 国产精品免费视频网站| 久久久精品免费网站| 《视频一区视频二区| 亚洲一区二区在线播放相泽| 久久精品国产亚洲高清剧情介绍 | 欧美喷水一区二区| 精品国产乱子伦一区| 国产精品毛片大码女人| 亚洲国产精品自拍| 国产福利一区二区| 在线观看三级视频欧美| 欧美电视剧在线观看完整版| 国产精品久久久久久久久动漫| 亚洲国产综合视频在线观看| 国产在线精品国自产拍免费| 91在线观看成人| 久久久不卡网国产精品一区| 亚洲bt欧美bt精品777| 成人av在线网| 精品国产乱码久久久久久浪潮| 136国产福利精品导航| 精品一区二区国语对白| 欧美视频完全免费看| 自拍偷自拍亚洲精品播放| 国产福利视频一区二区三区| 99国内精品久久| 精品国产三级a在线观看| 丝袜美腿亚洲一区二区图片| 一本大道久久a久久精品综合| 久久久99久久| 国产成人aaaa| 中文字幕精品—区二区四季| 国产成人在线视频网站| 久久人人爽人人爽| 狠狠久久亚洲欧美| 久久免费国产精品| 大美女一区二区三区| 国产精品女人毛片| 成人黄色小视频在线观看| 亚洲欧洲韩国日本视频| 成人国产精品视频| 夜夜夜精品看看| 欧美日韩激情一区二区三区| 亚洲午夜免费电影| 欧美v亚洲v综合ⅴ国产v| 懂色av一区二区在线播放| 日韩一区中文字幕| 色哟哟国产精品| 久久er99精品| 国产日产欧美一区| 欧美色中文字幕| 麻豆极品一区二区三区| 久久免费视频一区| 在线视频你懂得一区二区三区| 日韩激情视频在线观看| 欧美一区二区三区播放老司机| 免费一级片91| 一级做a爱片久久| 久久人人超碰精品| 欧美一级一级性生活免费录像| 国产精品小仙女| 视频一区二区中文字幕| 国产精品美女久久久久aⅴ| 欧美日韩视频在线一区二区| 成人免费观看av| 九九九久久久精品| 男人的j进女人的j一区| 一区二区三区四区亚洲| 中文字幕乱码一区二区免费| 日韩欧美国产小视频| 在线日韩av片| 色视频一区二区| 色欲综合视频天天天| 99精品偷自拍| 91丨porny丨在线| 波多野结衣在线aⅴ中文字幕不卡| 奇米一区二区三区| 日韩不卡一二三区| 欧美aaaaaa午夜精品| 亚洲成va人在线观看| 午夜欧美在线一二页| 亚洲永久精品大片| 日韩精彩视频在线观看| 日韩成人一区二区三区在线观看| 一区二区三区视频在线观看| 亚洲精品成人天堂一二三| 亚洲天堂福利av| 午夜精品久久久久久久99水蜜桃 | 一区二区三区自拍| 亚洲综合免费观看高清完整版| 亚洲午夜精品在线| 六月丁香婷婷久久| 精品一区二区三区av| 国产剧情一区在线| 色琪琪一区二区三区亚洲区| 欧美日韩成人一区| 欧美国产精品中文字幕| 一区二区成人在线| 精品在线观看免费| 99久久久精品免费观看国产蜜|