[Mplayer-dev-eng] VP3 Codec

Arpi arpi at thot.banki.hu
Fri Sep 21 20:59:16 CEST 2001


Hi,

> 0x10004bd0:     push   %esi
> 0x10004bd1:     push   %edi
> 0x10004bd2:     push   %ebp
> 0x10004bd3:     push   %ebx
> 0x10004bd4:     push   %ecx
> 0x10004bd5:     push   %edx
> 0x10004bd6:     mov    %cr0,%edx
ehh...
it manupulates the machine control registers...
it's privileged! i think this codec won't work with winnt/2000/xp.

we could try to replace these with NOP.

> 0x10004bd9:     bt     $0x2,%edx
> 0x10004bdd:     jb     0x10004bef
> 0x10004bdf:     mov    %cr4,%edx
> 0x10004be2:     bt     $0x9,%edx
> 0x10004be6:     jae    0x10004bef
> 0x10004be8:     mov    $0x1,%eax

> 0x10004bed:     jmp    0x10004bef
> 0x10004bef:     pop    %edx
hehe, well-optimized code =)

> 0x10004bf0:     pop    %ecx
> 0x10004bf1:     pop    %ebx
> 0x10004bf2:     pop    %ebp
> 0x10004bf3:     pop    %edi
> 0x10004bf4:     pop    %esi
> 0x10004bf5:     ret


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-dev-eng mailing list