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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? bincopy.c

?? NIST Handwriting OCR Testbed
?? C
?? 第 1 頁 / 共 3 頁
字號:
		dst += dy;	}	return;}if (!j) {			/* Dst is byte-aligned. */	m3 = mask_end_1[b_inv];	/* eg. 00000111 */	m4 = mask_begin_1[b];	/* eg. 11111000 */	while (cph--) {		bytes = cpbw;		while (bytes--) {			c = (*src << i) | (*(src+1) >> i_inv);			*dst++ = c;			src++;		}		c = (*src << i) | (*(src+1) >> i_inv);		*dst = (*dst & m3) | (c & m4);		src += dx;		dst += dy;	}	return;}if (!i) {					/* Src is byte-aligned. */	m1 = mask_end_0[j_inv];				/* eg. 11110000 */	m2 = mask_begin_0[j];				/* eg. 00001111 */	if (diff > 0) {		/* j_inv > b */		m3 = m1 | mask_end_1[diff];		/* eg. 11110011 */		m4 = mask_end_0[diff];			/* eg. 11111100 */	} else if (diff) {		/* j_inv < b */		m3 = mask_end_1[BITSPERBYTE+diff];	/* eg. 00111111 */		m4 = mask_begin_1[-diff];		/* eg. 11000000 */	}	while (cph--) {		bytes = cpbw;		while (bytes--) {			c = *src++;			*dst = (*dst & m1) | (c >> j);			dst++;			*dst = (*dst & m2) | (c << j_inv);		}		binary_fill_partial(BINARY_COPY,src,i,dst,j,b);		src += dx;		dst += dy;	}	return;}if (i == j) {	m0 = mask_begin_1[i];	m1 = mask_end_0[i_inv];	m2 = mask_end_1[i_inv];	if (diff > 0) {		m3 = m1 | mask_end_1[diff];		m4 = mask_end_0[diff];	} else if (diff) { 		m3 = mask_end_1[BITSPERBYTE+diff];		m4 = mask_begin_1[-diff];	}	/* Neither src nor dst is byte-aligned, but they */	/* are offset by the same amount, so we can copy */	/* (cpbw - 1) bytes directly from src to dst. The */	/* bits in the other byte are on the ends of the */	/* scan line and are treated specially. */	/* We don't need this case in binary_subimage_*_8(). If cpbw==0, */	/* then cpw was 0 and we would have already returned. */	if (! cpbw) {		while (cph--) {			binary_fill_partial(BINARY_COPY,src,i,dst,j,b);			src += dx;			dst += dy;		}		return;	}	if (cpbw == 1) {		while (cph--) {			*dst = (*dst & m0) | (*src++ & m2);			dst++;			*dst = (*dst & m2) | (*src & m0);			binary_fill_partial(BINARY_COPY,src,i,dst,j,b);			src += dx;			dst += dy;		}		return;	}	while (cph--) {		*dst = (*dst & m0) | (*src++ & m2);		dst++;		bytes = cpbw - 1;		while (bytes--)			*dst++ = *src++;		*dst = (*dst & m2) | (*src & m0);		binary_fill_partial(BINARY_COPY,src,i,dst,j,b);		src += dx;		dst += dy;	}	return;}m1 = mask_end_0[j_inv];		/* eg. 11111000 */m2 = mask_begin_0[j];		/* eg. 00000111 */	if (diff > 0) {		m3 = m1 | mask_end_1[diff];		m4 = mask_end_0[diff];	} else if (diff) { 		m3 = mask_end_1[BITSPERBYTE+diff];		m4 = mask_begin_1[-diff];	}while (cph--) {				/* The absolute worst case. Neither */	bytes = cpbw;			/* src nor dst is byte-aligned, and */	while (bytes--) {		/* they are offset by diff. amounts. */		c = (*src << i) | (*(src+1) >> i_inv);		*dst = (*dst & m1) | (c >> j);		dst++;		*dst = (*dst & m2) | (c << j_inv);		src++;	}	binary_fill_partial(BINARY_COPY,src,i,dst,j,b);	src += dx;	dst += dy;}}/* LINTLIBRARY *//****************************************************************//*								*//*	Routines:	binary_subimage_<op>_8()		*//*			binary_subimage_<op>_gt()		*//*			binary_subimage_<op>_lt()		*//*			binary_subimage_<op>_eq()		*//*				where <op> is copy, and, or,	*//*				xor, invert, zero, or one	*//*								*//*	Author:		Stan Janet				*//*	Date:		11/16/90				*//*								*//* binary_subimage_copy_8() is a bit-level copy utility for	*//*	subimages that are a multiple of 8 bits wide.		*//* binary_subimage_copy_{gt,lt,eq}() are bit-level copy		*//*	utilities for subimages that are not a multiple of 8	*//*	bits wide and where the space remaining in the last	*//*	byte in every destination scan line will be (respect-	*//*	ively) greater than, less than, or equal to the		*//*	number of bits by which the subimage width exceeds 8.	*//* If binary_subimage_copy() is told to copy a subimage		*//*	that is a multiple of 8 bits wide, it calls		*//*	binary_subimage_copy_8(). Otherwise it calls one of	*//*	the other functions as appropriate.			*//* binary_subimage_or_8() is a bit-level logical or utility for	*//*	subimages that are a multiple of 8 bits wide.		*//* binary_subimage_{or,and,xor,invert}_{8,gt,lt,eq}() are	*//*	bit-level logical or, and, xor and invert utilities for *//*	subimages that are analogous to	the copy utilities	*//*	described above.					*//* binary_subimage_{zero,one}_{8,gt,lt,eq} are bit-level util-	*//*	ities for setting all bits in a subimage to zero and	*//*	one, respectively.					*//* All dimensions are taken to be in bit units.			*//****************************************************************/#include <stdio.h>#include <memory.h>#include <values.h>#include <sys/types.h>#include <masks.h>#include <bitmasks.h>#include <bits.h>#include <binops.h>void binary_subimage_copy_lt (		src, srcw, srch,		dst, dstw, dsth,		srcx, srcy,		cpw, cph,		dstx, dsty		)	register u_char *src, *dst;	int srcx,srcy,dstx,dsty, srcw,srch,dstw,dsth, cpw,cph;{int i, j, i_inv, j_inv, cpbw, srcbw, dstbw, dx, dy;u_char m0, m1, m2;register int bytes;register u_char c;	u_char m3, m4;	int b, b_inv, diff;if (src == (u_char *) NULL)	fatalerr("binary_subimage_copy_lt","Null source image pointer",(char *)NULL);if (dst == (u_char *) NULL)	fatalerr("binary_subimage_copy_lt","Null destination image pointer",(char *)NULL);if ((srcw < 0) || (srch < 0))	fatalerr("binary_subimage_copy_lt","Negative source image dimension(s)",(char *)NULL);if ((dstw < 0) || (dsth < 0))	fatalerr("binary_subimage_copy_lt","Negative destination image dimension(s)",(char *)NULL);if ((cpw < 0) || (cph < 0))	fatalerr("binary_subimage_copy_lt","Negative subimage dimension(s)",(char *)NULL);if (srcw % BITSPERBYTE)	fatalerr("binary_subimage_copy_lt",		"Source image width must be a multiple of 8",(char *)NULL);if (dstw % BITSPERBYTE)	fatalerr("binary_subimage_copy_lt",		"Destination image width must be byte aligned",(char *)NULL);if (((srcx + cpw) > srcw) || ((srcy + cph) > srch))	fatalerr("binary_subimage_copy_lt",		"Subimage exceeds source image dimension(s)",(char *)NULL);if (((dstx + cpw) > dstw) || ((dsty + cph) > dsth))	fatalerr("binary_subimage_copy_lt",		"Subimage exceeds destination image dimension(s)",(char *)NULL);if (!cpw || !cph)	return;if (!srcw || !srch)	return;if (!dstw || !dsth)	return;	i = srcx % BITSPERBYTE;	i_inv = BITSPERBYTE - i;j = dstx % BITSPERBYTE;j_inv = BITSPERBYTE - j;		b = cpw % BITSPERBYTE;		b_inv = BITSPERBYTE - b;		diff = j_inv - b;		if (diff >= 0)		fatalerr("binary_subimage_copy_lt","bad diff",(char *)NULL);	srcbw = srcw / BITSPERBYTE;dstbw = dstw / BITSPERBYTE;cpbw  = cpw  / BITSPERBYTE;	/* Increment src to the byte in the upper left corner of the */	/* subimage to be copied. Increment dst to the upper left corner */	/* of the byte in the destination that will be modified. */	src += srcy * srcbw + srcx / BITSPERBYTE;dst += dsty * dstbw + dstx / BITSPERBYTE;	/* Set dx (dy) to be the increment needed to get src (dst) to the */	/* first byte in the next scan line to be copied (or modified) from */	/* the last byte in the current scan line. */	dx = srcbw - cpbw;dy = dstbw - cpbw;if (!i && !j) {			/* Both src & dst are byte-aligned. */	m3 = mask_end_1[b_inv];	/* eg. 00000111 */	m4 = mask_begin_1[b];	/* eg. 11111000 */	while (cph--) {		bytes = cpbw;		while (bytes--)			*dst++ = *src++;		*dst = (*dst & m3) | (*src & m4);		src += dx;		dst += dy;	}	return;}if (!j) {			/* Dst is byte-aligned. */	m3 = mask_end_1[b_inv];	/* eg. 00000111 */	m4 = mask_begin_1[b];	/* eg. 11111000 */	while (cph--) {		bytes = cpbw;		while (bytes--) {			c = (*src << i) | (*(src+1) >> i_inv);			*dst++ = c;			src++;		}		c = (*src << i) | (*(src+1) >> i_inv);		*dst = (*dst & m3) | (c & m4);		src += dx;		dst += dy;	}	return;}if (!i) {					/* Src is byte-aligned. */	m1 = mask_end_0[j_inv];				/* eg. 11110000 */	m2 = mask_begin_0[j];				/* eg. 00001111 */	if (diff > 0) {		/* j_inv > b */		m3 = m1 | mask_end_1[diff];		/* eg. 11110011 */		m4 = mask_end_0[diff];			/* eg. 11111100 */	} else if (diff) {		/* j_inv < b */		m3 = mask_end_1[BITSPERBYTE+diff];	/* eg. 00111111 */		m4 = mask_begin_1[-diff];		/* eg. 11000000 */	}	while (cph--) {		bytes = cpbw;		while (bytes--) {			c = *src++;			*dst = (*dst & m1) | (c >> j);			dst++;			*dst = (*dst & m2) | (c << j_inv);		}		binary_fill_partial(BINARY_COPY,src,i,dst,j,b);		src += dx;		dst += dy;	}	return;}if (i == j) {	m0 = mask_begin_1[i];	m1 = mask_end_0[i_inv];	m2 = mask_end_1[i_inv];	if (diff > 0) {		m3 = m1 | mask_end_1[diff];		m4 = mask_end_0[diff];	} else if (diff) { 		m3 = mask_end_1[BITSPERBYTE+diff];		m4 = mask_begin_1[-diff];	}	/* Neither src nor dst is byte-aligned, but they */	/* are offset by the same amount, so we can copy */	/* (cpbw - 1) bytes directly from src to dst. The */	/* bits in the other byte are on the ends of the */	/* scan line and are treated specially. */	/* We don't need this case in binary_subimage_*_8(). If cpbw==0, */	/* then cpw was 0 and we would have already returned. */	if (! cpbw) {		while (cph--) {			binary_fill_partial(BINARY_COPY,src,i,dst,j,b);			src += dx;			dst += dy;		}		return;	}	if (cpbw == 1) {		while (cph--) {			*dst = (*dst & m0) | (*src++ & m2);			dst++;			*dst = (*dst & m2) | (*src & m0);			binary_fill_partial(BINARY_COPY,src,i,dst,j,b);			src += dx;			dst += dy;		}		return;	}	while (cph--) {		*dst = (*dst & m0) | (*src++ & m2);		dst++;		bytes = cpbw - 1;		while (bytes--)			*dst++ = *src++;		*dst = (*dst & m2) | (*src & m0);		binary_fill_partial(BINARY_COPY,src,i,dst,j,b);		src += dx;		dst += dy;	}	return;}m1 = mask_end_0[j_inv];		/* eg. 11111000 */m2 = mask_begin_0[j];		/* eg. 00000111 */	if (diff > 0) {		m3 = m1 | mask_end_1[diff];		m4 = mask_end_0[diff];	} else if (diff) { 		m3 = mask_end_1[BITSPERBYTE+diff];

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕佐山爱一区二区免费| 在线观看国产一区二区| 国产成人精品1024| 精品视频资源站| 久久久高清一区二区三区| 亚洲va中文字幕| 成人免费高清视频| 精品蜜桃在线看| 洋洋av久久久久久久一区| 国产精品羞羞答答xxdd| 555www色欧美视频| 成人免费一区二区三区在线观看| 亚洲成人动漫一区| a4yy欧美一区二区三区| 精品免费国产二区三区| 日日摸夜夜添夜夜添精品视频| 国产在线视视频有精品| 欧美精品欧美精品系列| 亚洲国产另类av| av一区二区三区四区| 国产无一区二区| 另类小说视频一区二区| 欧美日韩国产三级| 亚洲激情综合网| 91免费观看视频| 国产精品麻豆久久久| 国产91精品欧美| 久久久久久久网| 国产精品69毛片高清亚洲| 日韩视频免费观看高清完整版在线观看 | 91在线视频网址| 久久麻豆一区二区| 久久精品国产精品青草| 日本韩国精品在线| 亚洲老司机在线| 一本大道综合伊人精品热热| 亚洲女性喷水在线观看一区| av一区二区三区| 亚洲视频网在线直播| 在线观看欧美日本| 午夜精品视频一区| 欧美一区二区三区四区在线观看| 亚洲美女在线国产| 欧美伊人久久久久久久久影院| 国产欧美日韩亚州综合| 99视频一区二区| 亚洲自拍另类综合| 欧美男人的天堂一二区| 美脚の诱脚舐め脚责91| 精品久久久久久无| 成人sese在线| 亚洲一区二区成人在线观看| 欧美日韩精品福利| 国产美女在线精品| 亚洲摸摸操操av| 欧美日韩国产综合草草| 美女网站视频久久| 国产精品全国免费观看高清| 一本一道综合狠狠老| 日日摸夜夜添夜夜添精品视频| 欧美日高清视频| 国产在线看一区| 国产精品伦一区| 在线观看视频欧美| 国产在线不卡一卡二卡三卡四卡| 久久久久国产精品人| 色偷偷久久人人79超碰人人澡| 中文字幕一区二区三区四区不卡| 91社区在线播放| 美女看a上一区| 中文字幕制服丝袜成人av| 欧美日韩精品一区二区在线播放| 免费高清在线一区| 亚洲欧美日韩一区| 欧美精品一区二区在线播放 | 亚洲男人的天堂av| 欧美第一区第二区| 色美美综合视频| 国产在线精品一区二区夜色| 亚洲精品国产品国语在线app| 7777女厕盗摄久久久| zzijzzij亚洲日本少妇熟睡| 婷婷综合另类小说色区| 国产精品久久二区二区| 精品三级在线观看| 欧美性猛交xxxxxxxx| 高清不卡在线观看| 亚洲国产精品精华液ab| 欧美探花视频资源| 成人av在线资源网| 日韩国产欧美视频| 国产欧美日韩精品一区| 欧美精品乱码久久久久久| 久久国内精品视频| 一区二区三区日韩精品| 亚洲精品一区二区三区精华液| 国产精品亚洲一区二区三区在线| 国产精品久久二区二区| 欧美videossexotv100| 色综合视频在线观看| 另类小说欧美激情| 亚洲国产裸拍裸体视频在线观看乱了 | 日韩中文字幕一区二区三区| 日韩欧美国产高清| 欧美一区午夜视频在线观看| 亚洲欧美日韩国产成人精品影院| 成人午夜免费av| 九九**精品视频免费播放| 亚洲国产欧美一区二区三区丁香婷| 亚洲国产精品成人综合色在线婷婷 | 99精品国产91久久久久久| 国产一区二区三区四| 亚洲www啪成人一区二区麻豆| 国产精品麻豆网站| 久久久久久影视| 日本一区二区在线不卡| 精品国产乱码久久久久久夜甘婷婷 | 最新国产成人在线观看| 久久女同性恋中文字幕| 精品国精品自拍自在线| 日韩欧美一区二区免费| 欧美电视剧在线看免费| 欧美久久婷婷综合色| 欧美日韩国产综合草草| 欧美视频一区二区三区四区| 欧美日韩亚州综合| 欧美中文字幕一区二区三区 | 天堂在线一区二区| 免费一级欧美片在线观看| 伊人性伊人情综合网| 亚洲国产一区视频| 亚洲一区二区三区四区在线免费观看| 久久蜜桃一区二区| 亚洲精品在线观看视频| 中文字幕免费不卡在线| 中文字幕精品一区| 亚洲色图欧美激情| 亚洲自拍欧美精品| 亚洲成人免费影院| 奇米色一区二区三区四区| 午夜成人免费视频| 国产麻豆精品95视频| 国产精品一二一区| 在线观看免费成人| 欧美自拍丝袜亚洲| 欧美一区二区国产| 中文字幕第一区综合| 国产精品国产自产拍高清av| 亚洲国产美国国产综合一区二区| 亚洲一区二区中文在线| 久久99精品久久久久婷婷| 国模套图日韩精品一区二区| 91日韩一区二区三区| 欧美综合一区二区| 久久网站最新地址| 国产精品天美传媒沈樵| 亚洲精品视频免费观看| 激情五月播播久久久精品| 成人涩涩免费视频| 91精选在线观看| 久久婷婷久久一区二区三区| 亚洲女人****多毛耸耸8| 亚洲欧美日韩中文字幕一区二区三区| 国产亚洲一区二区三区在线观看| 欧美国产一区二区| 亚洲国产精品一区二区www在线| 亚洲国产成人tv| 久久99久久99精品免视看婷婷| 日本网站在线观看一区二区三区 | 成人欧美一区二区三区小说| 亚洲综合一区二区三区| 美女一区二区在线观看| 精品一区在线看| 99re66热这里只有精品3直播 | 看国产成人h片视频| 成人av资源在线| 久久久久久久久久久99999| 亚洲欧美日韩国产手机在线| 韩国v欧美v日本v亚洲v| 日本精品免费观看高清观看| 精品成人佐山爱一区二区| 亚洲va韩国va欧美va| 大陆成人av片| 国产欧美久久久精品影院| 亚洲成人激情av| 欧美在线播放高清精品| 日韩亚洲欧美一区| 天天操天天干天天综合网| 国产成人午夜高潮毛片| 7777精品伊人久久久大香线蕉的 | 91亚洲资源网| 6080午夜不卡| 亚洲欧美日韩久久| 久久se精品一区精品二区| 欧美一区二区三区视频免费| 亚洲成人一二三| 欧美亚洲高清一区| 亚洲综合丁香婷婷六月香| 国产.欧美.日韩| 国产精品成人一区二区三区夜夜夜 |