Modified sample decoding once again
This commit is contained in:
@@ -1732,6 +1732,7 @@ section .text
|
|||||||
or eax,0FFFFFFF0h
|
or eax,0FFFFFFF0h
|
||||||
%%noneg
|
%%noneg
|
||||||
shl eax,cl
|
shl eax,cl
|
||||||
|
and eax,0fffffffeh
|
||||||
mov edx,eax
|
mov edx,eax
|
||||||
|
|
||||||
mov eax,[prev1]
|
mov eax,[prev1]
|
||||||
@@ -1748,33 +1749,18 @@ section .text
|
|||||||
and eax,0fffffffeh
|
and eax,0fffffffeh
|
||||||
add edx,eax
|
add edx,eax
|
||||||
|
|
||||||
cmp dword [filter0],488
|
|
||||||
jne %%notfilter2
|
|
||||||
|
|
||||||
mov eax,[prev0]
|
|
||||||
movsx eax,ax
|
|
||||||
mov [prev1],eax
|
|
||||||
mov eax,edx
|
|
||||||
and eax,0fffffffeh
|
|
||||||
mov [prev0],eax
|
|
||||||
jmp %%skipclamp
|
|
||||||
|
|
||||||
%%notfilter2
|
|
||||||
mov eax,[prev0]
|
mov eax,[prev0]
|
||||||
mov [prev1],eax
|
mov [prev1],eax
|
||||||
cmp edx,-32768
|
cmp edx,-65536
|
||||||
jnl %%notless
|
jnl %%notless
|
||||||
mov edx,-32768
|
mov edx,-65536
|
||||||
mov byte[filteron],1
|
|
||||||
%%notless
|
%%notless
|
||||||
cmp edx,32767
|
cmp edx,65535
|
||||||
jng %%notgreater
|
jng %%notgreater
|
||||||
mov edx,32767
|
mov edx,65535
|
||||||
mov byte[filteron],1
|
|
||||||
%%notgreater
|
%%notgreater
|
||||||
movsx edx,dx
|
movsx edx,dx
|
||||||
mov [prev0],edx
|
mov [prev0],edx
|
||||||
%%skipclamp
|
|
||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
%macro ProcessDynamicLowPass 0
|
%macro ProcessDynamicLowPass 0
|
||||||
|
|||||||
Reference in New Issue
Block a user