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

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

?? yuv_to_yv12_mmx.asm

?? xvid MPEG-4 編解碼源代碼
?? ASM
字號:
;/*****************************************************************************; *; *  XVID MPEG-4 VIDEO CODEC; *	 mmx yuv planar to yv12 conversion ; *; *  Copyright (C) 2001 - Michael Militzer <isibaar@xvid.org>; *; *  This file is part of XviD, a free MPEG-4 video encoder/decoder; *; *  XviD is free software; you can redistribute it and/or modify it; *  under the terms of the GNU General Public License as published by; *  the Free Software Foundation; either version 2 of the License, or; *  (at your option) any later version.; *; *  This program is distributed in the hope that it will be useful,; *  but WITHOUT ANY WARRANTY; without even the implied warranty of; *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the; *  GNU General Public License for more details.; *; *  You should have received a copy of the GNU General Public License; *  along with this program; if not, write to the Free Software; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA; *; *  Under section 8 of the GNU General Public License, the copyright; *  holders of XVID explicitly forbid distribution in the following; *  countries:; *; *    - Japan; *    - United States of America; *; *  Linking XviD statically or dynamically with other modules is making a; *  combined work based on XviD.  Thus, the terms and conditions of the; *  GNU General Public License cover the whole combination.; *; *  As a special exception, the copyright holders of XviD give you; *  permission to link XviD with independent modules that communicate with; *  XviD solely through the VFW1.1 and DShow interfaces, regardless of the; *  license terms of these independent modules, and to copy and distribute; *  the resulting combined work under terms of your choice, provided that; *  every copy of the combined work is accompanied by a complete copy of; *  the source code of XviD (the version of XviD used to produce the; *  combined work), being distributed under the terms of the GNU General; *  Public License plus this exception.  An independent module is a module; *  which is not derived from or based on XviD.; *; *  Note that people who make modified versions of XviD are not obligated; *  to grant this special exception for their modified versions; it is; *  their choice whether to do so.  The GNU General Public License gives; *  permission to release a modified version without this exception; this; *  exception also makes it possible to release a modified version which; *  carries forward this exception.; *; * $Id: yuv_to_yv12_mmx.asm,v 1.7 2002/11/17 00:20:30 edgomez Exp $; *; ****************************************************************************/BITS 32%macro cglobal 1 %ifdef PREFIX	global _%1 		%define %1 _%1	%else		global %1	%endif%endmacroSECTION .textALIGN 64;------------------------------------------------------------------------------; ; void yuv_to_yv12_xmm(uint8_t *y_out,;                      uint8_t *u_out,;                      uint8_t *v_out,;                      uint8_t *src,;                      int width, int height, int stride);;; This function probably also runs on PentiumII class cpu's; ; Attention: This code assumes that width is a multiple of 16;;------------------------------------------------------------------------------	cglobal yuv_to_yv12_xmmyuv_to_yv12_xmm:		push ebx	push esi	push edi	push ebp	; local vars allocation%define localsize 4%define remainder esp	sub esp, localsize	; function code	mov eax, [esp + 40 + localsize]		; height -> eax	mov ebx, [esp + 44 + localsize]		; stride -> ebx	mov esi, [esp + 32 + localsize] 	; src -> esi 	mov edi, [esp + 20 + localsize] 	; y_out -> edi 	mov ecx, [esp + 36 + localsize] 	; width -> ecx	sub ebx, ecx			; stride - width -> ebx		mov edx, ecx	mov ebp, ecx	shr edx, 6					mov ecx, edx			; 64 bytes copied per iteration	shl edx, 6	sub ebp, edx			; remainder -> ebp	shr ebp, 4			; 16 bytes per iteration	add ebp, 1				mov [remainder], ebp	mov edx, ecx			.y_inner_loop:	prefetchnta [esi + 64]	; non temporal prefetch 	prefetchnta [esi + 96] 	movq mm1, [esi]			; read from src 	movq mm2, [esi + 8] 	movq mm3, [esi + 16] 	movq mm4, [esi + 24] 	movq mm5, [esi + 32] 	movq mm6, [esi + 40] 	movq mm7, [esi + 48] 	movq mm0, [esi + 56] 	movntq [edi], mm1		; write to y_out 	movntq [edi + 8], mm2 	movntq [edi + 16], mm3 	movntq [edi + 24], mm4 	movntq [edi + 32], mm5 	movntq [edi + 40], mm6 	movntq [edi + 48], mm7 	movntq [edi + 56], mm0 	add esi, 64	add edi, 64 	dec ecx	jnz .y_inner_loop    		dec ebp	jz .y_outer_loop.y_remainder_loop:	movq mm1, [esi]			; read from src 	movq mm2, [esi + 8] 	movntq [edi], mm1		; write to y_out 	movntq [edi + 8], mm2 	add esi, 16	add edi, 16 	dec ebp	jnz .y_remainder_loop	.y_outer_loop:	mov ebp, [remainder]	mov ecx, edx	add edi, ebx	    	dec eax	jnz near .y_inner_loop	mov eax, [esp + 40 + localsize]		; height -> eax	mov ebx, [esp + 44 + localsize]		; stride -> ebx	mov ecx, [esp + 36 + localsize]	 	; width -> ecx	mov edi, [esp + 24 + localsize] 	; u_out -> edi 	shr ecx, 1				; width / 2 -> ecx	shr ebx, 1				; stride / 2 -> ebx	shr eax, 1				; height / 2 -> eax	sub ebx, ecx			; stride / 2 - width / 2 -> ebx	mov edx, ecx	mov ebp, ecx	shr edx, 6					mov ecx, edx			; 64 bytes copied per iteration	shl edx, 6	sub ebp, edx			; remainder -> ebp	shr ebp, 3			; 8 bytes per iteration	add ebp, 1				mov [remainder], ebp		mov edx, ecx			.u_inner_loop:	prefetchnta [esi + 64]	; non temporal prefetch 	prefetchnta [esi + 96] 	movq mm1, [esi]			; read from src 	movq mm2, [esi + 8] 	movq mm3, [esi + 16] 	movq mm4, [esi + 24] 	movq mm5, [esi + 32] 	movq mm6, [esi + 40] 	movq mm7, [esi + 48] 	movq mm0, [esi + 56] 	movntq [edi], mm1		; write to u_out 	movntq [edi + 8], mm2 	movntq [edi + 16], mm3 	movntq [edi + 24], mm4 	movntq [edi + 32], mm5 	movntq [edi + 40], mm6 	movntq [edi + 48], mm7 	movntq [edi + 56], mm0 	add esi, 64	add edi, 64 	dec ecx	jnz .u_inner_loop    	dec ebp	jz .u_outer_loop.u_remainder_loop:	movq mm1, [esi]			; read from src 	movntq [edi], mm1		; write to y_out 	add esi, 8	add edi, 8 	dec ebp	jnz .u_remainder_loop.u_outer_loop:	mov ebp, [remainder]		mov ecx, edx	add edi, ebx	    	dec eax	jnz .u_inner_loop	mov eax, [esp + 40 + localsize]		; height -> eax	mov ecx, [esp + 36 + localsize] 	; width -> ecx	mov edi, [esp + 28 + localsize] 	; v_out -> edi 	shr ecx, 1				; width / 2 -> ecx	shr eax, 1				; height / 2 -> eax	mov edx, ecx	mov ebp, ecx	shr edx, 6					mov ecx, edx			; 64 bytes copied per iteration	shl edx, 6	sub ebp, edx			; remainder -> ebp	shr ebp, 3			; 8 bytes per iteration	add ebp, 1				mov [remainder], ebp		mov edx, ecx			.v_inner_loop:	prefetchnta [esi + 64]	; non temporal prefetch 	prefetchnta [esi + 96] 	movq mm1, [esi]			; read from src 	movq mm2, [esi + 8] 	movq mm3, [esi + 16] 	movq mm4, [esi + 24] 	movq mm5, [esi + 32] 	movq mm6, [esi + 40] 	movq mm7, [esi + 48] 	movq mm0, [esi + 56] 	movntq [edi], mm1		; write to u_out 	movntq [edi + 8], mm2 	movntq [edi + 16], mm3 	movntq [edi + 24], mm4 	movntq [edi + 32], mm5 	movntq [edi + 40], mm6 	movntq [edi + 48], mm7 	movntq [edi + 56], mm0 	add esi, 64	add edi, 64 	dec ecx	jnz .v_inner_loop    	dec ebp	jz .v_outer_loop.v_remainder_loop:	movq mm1, [esi]			; read from src 	movntq [edi], mm1		; write to y_out 	add esi, 8	add edi, 8 	dec ebp	jnz .v_remainder_loop.v_outer_loop:	mov ebp, [remainder]		mov ecx, edx	add edi, ebx	    	dec eax	jnz .v_inner_loop	; local vars deallocation	add esp, localsize%undef localsize%undef remainder	pop ebp	pop edi	pop esi	pop ebx	    	emms	ret;------------------------------------------------------------------------------ ;; void yuv_to_yv12_mmx(uint8_t *y_out,;                      uint8_t *u_out,;                      uint8_t *v_out,;                      uint8_t *src,;                      int width, int height, int stride);;; Attention: This code assumes that width is a multiple of 16; ;------------------------------------------------------------------------------cglobal yuv_to_yv12_mmxyuv_to_yv12_mmx:		push ebx	push esi	push edi	push ebp	; local vars allocation%define localsize 4%define remainder esp	sub esp, localsize	;  function code	mov eax, [esp + 40 + localsize]	; height -> eax	mov ebx, [esp + 44 + localsize]	; stride -> ebx	mov esi, [esp + 32 + localsize] ; src -> esi 	mov edi, [esp + 20 + localsize] ; y_out -> edi 	mov ecx, [esp + 36 + localsize] ; width -> ecx	sub ebx, ecx		; stride - width -> ebx	mov edx, ecx	mov ebp, ecx	shr edx, 6					mov ecx, edx		; 64 bytes copied per iteration	shl edx, 6	sub ebp, edx		; mainder -> ebp	shr ebp, 4		; 16 bytes per iteration	add ebp, 1				mov [remainder], ebp	mov edx, ecx			.y_inner_loop:	movq mm1, [esi]		; read from src 	movq mm2, [esi + 8] 	movq mm3, [esi + 16] 	movq mm4, [esi + 24] 	movq mm5, [esi + 32] 	movq mm6, [esi + 40] 	movq mm7, [esi + 48] 	movq mm0, [esi + 56] 	movq [edi], mm1		; write to y_out 	movq [edi + 8], mm2 	movq [edi + 16], mm3 	movq [edi + 24], mm4 	movq [edi + 32], mm5 	movq [edi + 40], mm6 	movq [edi + 48], mm7 	movq [edi + 56], mm0 	add esi, 64	add edi, 64 	dec ecx	jnz .y_inner_loop    		dec ebp	jz .y_outer_loop.y_remainder_loop:	movq mm1, [esi]		; read from src 	movq mm2, [esi + 8] 	movq [edi], mm1		; write to y_out 	movq [edi + 8], mm2 	add esi, 16	add edi, 16 	dec ebp	jnz .y_remainder_loop	.y_outer_loop:	mov ebp, [remainder]		mov ecx, edx	add edi, ebx	    	dec eax	jnz near .y_inner_loop	mov eax, [esp + 40 + localsize]	; height -> eax	mov ebx, [esp + 44 + localsize]	; stride -> ebx	mov ecx, [esp + 36 + localsize]	; width -> ecx	mov edi, [esp + 24 + localsize]	; u_out -> edi 	shr ecx, 1		; width / 2 -> ecx	shr ebx, 1		; stride / 2 -> ebx	shr eax, 1		; height / 2 -> eax	sub ebx, ecx		; stride / 2 - width / 2 -> ebx	mov edx, ecx	mov ebp, ecx	shr edx, 6					mov ecx, edx		; 64 bytes copied per iteration	shl edx, 6	sub ebp, edx		; remainder -> ebp	shr ebp, 3		; 8 bytes per iteration	add ebp, 1				mov [remainder], ebp		mov edx, ecx			.u_inner_loop:	movq mm1, [esi]		; read from src 	movq mm2, [esi + 8] 	movq mm3, [esi + 16] 	movq mm4, [esi + 24] 	movq mm5, [esi + 32] 	movq mm6, [esi + 40] 	movq mm7, [esi + 48] 	movq mm0, [esi + 56] 	movq [edi], mm1		; write to u_out 	movq [edi + 8], mm2 	movq [edi + 16], mm3 	movq [edi + 24], mm4 	movq [edi + 32], mm5 	movq [edi + 40], mm6 	movq [edi + 48], mm7 	movq [edi + 56], mm0 	add esi, 64	add edi, 64 	dec ecx	jnz .u_inner_loop    	dec ebp	jz .u_outer_loop.u_remainder_loop:	movq mm1, [esi]		; read from src 	movq [edi], mm1		; write to y_out 	add esi, 8	add edi, 8 	dec ebp	jnz .u_remainder_loop.u_outer_loop:	mov ebp, [remainder]		mov ecx, edx	add edi, ebx	    	dec eax	jnz .u_inner_loop	mov eax, [esp + 40 + localsize]	; height -> eax	mov ecx, [esp + 36 + localsize]	; width -> ecx	mov edi, [esp + 28 + localsize]	; v_out -> edi 	shr ecx, 1		; width / 2 -> ecx	shr eax, 1		; height / 2 -> eax	mov edx, ecx	mov ebp, ecx	shr edx, 6					mov ecx, edx		; 64 bytes copied per iteration	shl edx, 6	sub ebp, edx		; remainder -> ebp	shr ebp, 3		; 8 bytes per iteration	add ebp, 1				mov [remainder], ebp		mov edx, ecx			.v_inner_loop:	movq mm1, [esi]		; read from src 	movq mm2, [esi + 8] 	movq mm3, [esi + 16] 	movq mm4, [esi + 24] 	movq mm5, [esi + 32] 	movq mm6, [esi + 40] 	movq mm7, [esi + 48] 	movq mm0, [esi + 56] 	movq [edi], mm1		; write to u_out 	movq [edi + 8], mm2 	movq [edi + 16], mm3 	movq [edi + 24], mm4 	movq [edi + 32], mm5 	movq [edi + 40], mm6 	movq [edi + 48], mm7 	movq [edi + 56], mm0 	add esi, 64	add edi, 64 	dec ecx	jnz .v_inner_loop    	dec ebp	jz .v_outer_loop.v_remainder_loop:	movq mm1, [esi]		; read from src 	movq [edi], mm1		; write to y_out 	add esi, 8	add edi, 8 	dec ebp	jnz .v_remainder_loop.v_outer_loop:	mov ebp, [remainder]	mov ecx, edx	add edi, ebx	    	dec eax	jnz .v_inner_loop	; local vars deallocation	add esp, localsize%undef localsize%undef remainder			pop ebp	pop edi	pop esi	pop ebx	    	emms	ret

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品18久久久久久久久| a级高清视频欧美日韩| 国产三级欧美三级日产三级99| av中文字幕不卡| 久久精品国产一区二区三| 亚洲日本护士毛茸茸| 91精品国产一区二区三区香蕉| 成人高清视频免费观看| 奇米一区二区三区| 一区二区三区丝袜| 欧美激情在线观看视频免费| 欧美高清精品3d| 91在线视频官网| 国产精品综合视频| 奇米精品一区二区三区四区| 亚洲乱码中文字幕综合| 精品少妇一区二区三区在线播放 | 成人在线综合网站| 午夜激情一区二区| 夜夜精品浪潮av一区二区三区| 久久视频一区二区| 在线播放91灌醉迷j高跟美女| 99国产精品久久久久| 国产高清精品网站| 久久99精品久久久久| 亚洲成av人**亚洲成av**| 日韩美女视频19| 国产精品三级电影| 国产偷国产偷精品高清尤物| 欧美疯狂做受xxxx富婆| 欧美午夜精品免费| 欧美综合欧美视频| 色久综合一二码| 91免费观看视频| www.欧美色图| 成人午夜电影网站| 成人免费看的视频| 亚洲男人都懂的| 久久午夜电影网| 51精品视频一区二区三区| 欧美性xxxxxxxx| 91黄色免费网站| 在线亚洲一区二区| 欧洲另类一二三四区| 色综合天天视频在线观看 | 日韩**一区毛片| 香蕉加勒比综合久久| 亚洲成人精品一区| 日韩电影免费在线观看网站| 日本中文字幕一区二区有限公司| 视频在线观看91| 久久99日本精品| 国产一区不卡精品| 成人免费观看av| 91视频在线观看免费| 在线免费观看日本欧美| 欧美性大战久久久久久久| 欧美精品粉嫩高潮一区二区| 欧美mv日韩mv| 国产欧美精品日韩区二区麻豆天美| 国产亚洲一区二区三区| 欧美韩日一区二区三区| 一区二区三区毛片| 午夜视频久久久久久| 六月丁香婷婷久久| 国产不卡在线一区| 91猫先生在线| 日韩视频一区在线观看| 久久免费偷拍视频| 亚洲女与黑人做爰| 日韩成人一区二区三区在线观看| 麻豆成人av在线| www.亚洲激情.com| 欧美视频中文字幕| 日韩精品一区二| 国产精品久久久久久久久免费丝袜| 亚洲三级视频在线观看| 丝袜美腿亚洲一区| 国产成人免费在线视频| 色国产综合视频| 精品久久久久久最新网址| 国产精品美女www爽爽爽| 一区二区三区在线视频播放| 精品在线播放免费| 成人免费看视频| 91精品在线免费| 国产视频一区在线播放| 亚洲香肠在线观看| 国产一区二区三区精品欧美日韩一区二区三区 | 日日噜噜夜夜狠狠视频欧美人| 韩日av一区二区| 日本韩国精品一区二区在线观看| 欧美大胆人体bbbb| 亚洲精品五月天| 国产乱国产乱300精品| 色综合天天性综合| 26uuu成人网一区二区三区| 一区二区日韩av| 国产精品亚洲人在线观看| 欧美日韩一区二区三区在线 | 三级影片在线观看欧美日韩一区二区| 韩国一区二区在线观看| 欧美唯美清纯偷拍| 国产精品午夜在线观看| 美国三级日本三级久久99| 色综合网站在线| 国产三级三级三级精品8ⅰ区| 日韩制服丝袜先锋影音| 99久久国产综合精品女不卡| 日韩精品一区二区三区蜜臀| 亚洲国产cao| 99国产精品99久久久久久| 精品久久久久久久久久久久久久久| 亚洲综合另类小说| 91视频91自| 欧美国产欧美综合| 国产九色sp调教91| 精品日韩成人av| 丝袜亚洲另类欧美| 欧美日韩午夜精品| 亚洲国产色一区| 91久久香蕉国产日韩欧美9色| 国产网站一区二区| 国产精品一区二区久久精品爱涩| 91精品国产日韩91久久久久久| 一区二区三区在线播| 色综合久久中文综合久久97| 国产日产欧美一区| 国产成人在线观看| 国产午夜精品一区二区三区四区| 免费在线成人网| 91精品国产综合久久婷婷香蕉 | 亚洲黄色片在线观看| 成人黄色a**站在线观看| 国产日产亚洲精品系列| 国产成人免费视| 国产亚洲欧美一级| 懂色av一区二区在线播放| 久久久久久久久伊人| 国产剧情一区在线| 欧美激情一区三区| 99在线精品视频| 亚洲免费毛片网站| 欧美午夜一区二区| 偷拍一区二区三区| 日韩女优av电影在线观看| 国产自产高清不卡| 久久蜜桃av一区精品变态类天堂 | 99久久久精品| 亚洲男人的天堂网| 欧美日韩一区二区电影| 性欧美疯狂xxxxbbbb| 欧美丰满嫩嫩电影| 国内精品伊人久久久久av一坑| 久久久亚洲午夜电影| 99久久国产免费看| 亚洲mv大片欧洲mv大片精品| 欧美成人一区二区三区在线观看| 麻豆传媒一区二区三区| 欧美国产日韩亚洲一区| 色婷婷综合在线| 日产国产高清一区二区三区| 2020国产成人综合网| av中文字幕不卡| 亚洲国产毛片aaaaa无费看| 欧美一区二区三区白人| 国产一区欧美二区| 亚洲另类春色校园小说| 欧美精品久久久久久久多人混战| 韩国av一区二区三区| 亚洲欧美日韩系列| 91麻豆精品国产| 国产电影一区二区三区| 亚洲精品乱码久久久久久久久| 91精品一区二区三区在线观看| 国产乱码精品一区二区三区av| 亚洲欧洲美洲综合色网| 欧美肥大bbwbbw高潮| 国产麻豆日韩欧美久久| 亚洲午夜在线观看视频在线| 26uuu久久天堂性欧美| 色综合天天综合网国产成人综合天| 性做久久久久久免费观看欧美| 国产视频911| 欧美日韩综合不卡| 国产成人在线影院| 亚洲大片一区二区三区| 中文字幕精品在线不卡| 欧美一级专区免费大片| 成人高清在线视频| 美女免费视频一区二区| 亚洲欧美日韩中文字幕一区二区三区 | 欧美在线一区二区三区| 激情综合亚洲精品| 亚洲影院在线观看| 国产欧美日韩麻豆91| 日韩精品一区二区在线| 色中色一区二区| 国产精品69毛片高清亚洲| 图片区日韩欧美亚洲|