Another modification to brr decoding for ff3 wind

This commit is contained in:
z_demo_z
2002-07-15 00:29:07 +00:00
parent ecd555183d
commit 76368bd84a

View File

@@ -1744,6 +1744,7 @@ section .text
mov ebx,[filter0] mov ebx,[filter0]
imul eax,ebx imul eax,ebx
sar eax,8 sar eax,8
and eax,0fffffffeh
add edx,eax add edx,eax
cmp dword [filter0],488 cmp dword [filter0],488
@@ -1753,26 +1754,16 @@ section .text
movsx eax,ax movsx eax,ax
mov [prev1],eax mov [prev1],eax
mov eax,edx mov eax,edx
and eax,0fffffffch and eax,0fffffffeh
mov [prev0],eax mov [prev0],eax
jmp %%skipext
jmp %%skipclamp
%%notfilter2 %%notfilter2
mov eax,[prev0] mov eax,[prev0]
mov [prev1],eax mov [prev1],eax
cmp edx,-32768
jnl %%notless
mov edx,-32768
mov byte[filteron],1
%%notless
cmp edx,32767
jng %%notgreater
mov edx,32767
mov byte[filteron],1
%%notgreater
movsx edx,dx movsx edx,dx
mov [prev0],edx mov [prev0],edx
%%skipclamp %%skipext
%endmacro %endmacro
%macro ProcessDynamicLowPass 0 %macro ProcessDynamicLowPass 0