Another brr decoding
This commit is contained in:
@@ -1746,22 +1746,33 @@ section .text
|
|||||||
sar eax,8
|
sar eax,8
|
||||||
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,0fffffffch
|
||||||
|
mov [prev0],eax
|
||||||
|
|
||||||
|
jmp %%skipclamp
|
||||||
|
%%notfilter2
|
||||||
mov eax,[prev0]
|
mov eax,[prev0]
|
||||||
mov [prev1],eax
|
mov [prev1],eax
|
||||||
cmp edx,-32768
|
cmp edx,-32768
|
||||||
jnl %%notless
|
jnl %%notless
|
||||||
mov dx,0
|
mov edx,-32768
|
||||||
; mov edx,-32768
|
|
||||||
mov byte[filteron],1
|
mov byte[filteron],1
|
||||||
%%notless
|
%%notless
|
||||||
cmp edx,32767
|
cmp edx,32767
|
||||||
jng %%notgreater
|
jng %%notgreater
|
||||||
mov dx,0
|
mov edx,32767
|
||||||
; mov edx,32767
|
|
||||||
mov byte[filteron],1
|
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