19 |
; * along with this program ; if not, write to the Free Software |
; * along with this program ; if not, write to the Free Software |
20 |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
; * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
; * |
; * |
22 |
; * $Id: quantize_h263_3dne.asm,v 1.7 2008-08-19 09:06:48 Isibaar Exp $ |
; * $Id: quantize_h263_3dne.asm,v 1.8 2008-11-11 20:46:24 Isibaar Exp $ |
23 |
; * |
; * |
24 |
; *************************************************************************/ |
; *************************************************************************/ |
25 |
; |
; |
36 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
37 |
global _%1:function %1.endfunc-%1 |
global _%1:function %1.endfunc-%1 |
38 |
%define %1 _%1:function %1.endfunc-%1 |
%define %1 _%1:function %1.endfunc-%1 |
39 |
|
%define ENDFUNC .endfunc |
40 |
%else |
%else |
41 |
global _%1 |
global _%1 |
42 |
%define %1 _%1 |
%define %1 _%1 |
43 |
|
%define ENDFUNC |
44 |
%endif |
%endif |
45 |
%else |
%else |
46 |
%ifdef MARK_FUNCS |
%ifdef MARK_FUNCS |
47 |
global %1:function %1.endfunc-%1 |
global %1:function %1.endfunc-%1 |
48 |
|
%define ENDFUNC .endfunc |
49 |
%else |
%else |
50 |
global %1 |
global %1 |
51 |
|
%define ENDFUNC |
52 |
%endif |
%endif |
53 |
%endif |
%endif |
54 |
%endmacro |
%endmacro |
381 |
|
|
382 |
ALIGN 16 |
ALIGN 16 |
383 |
|
|
384 |
.q1loop |
.q1loop: |
385 |
quant_intra1 0 |
quant_intra1 0 |
386 |
mov ebp, [esp + 16 + 16] ; dcscalar |
mov ebp, [esp + 16 + 16] ; dcscalar |
387 |
movsx eax, word [byte ecx] ; DC |
movsx eax, word [byte ecx] ; DC |
414 |
|
|
415 |
xor eax, eax |
xor eax, eax |
416 |
ret |
ret |
417 |
.endfunc |
ENDFUNC |
418 |
|
|
419 |
|
|
420 |
|
|
550 |
ret |
ret |
551 |
|
|
552 |
ALIGN 16 |
ALIGN 16 |
553 |
.q1loop |
.q1loop: |
554 |
movq mm6, [byte ebx] |
movq mm6, [byte ebx] |
555 |
|
|
556 |
quantinter1 0 |
quantinter1 0 |
571 |
pop ebx |
pop ebx |
572 |
|
|
573 |
ret |
ret |
574 |
.endfunc |
ENDFUNC |
575 |
|
|
576 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
577 |
; |
; |
723 |
|
|
724 |
xor eax, eax |
xor eax, eax |
725 |
ret |
ret |
726 |
.endfunc |
ENDFUNC |
727 |
|
|
728 |
;----------------------------------------------------------------------------- |
;----------------------------------------------------------------------------- |
729 |
; |
; |
786 |
|
|
787 |
xor eax, eax |
xor eax, eax |
788 |
ret |
ret |
789 |
.endfunc |
ENDFUNC |
790 |
|
|
791 |
|
|
792 |
%ifidn __OUTPUT_FORMAT__,elf |
%ifidn __OUTPUT_FORMAT__,elf |