#1 Fast JPEG decoder » error compiling jpegdec.pas under Delphi 5 » 2011-09-30 14:41:49

sscriboni
Replies: 3

I'm just starting to use your pdf engine and jpeg decoder. While the first function properly...the latter give me a lot of assembler compilation error under Delphi 5. I'm working with Windows XP.

Any help is appreciated.

Thank you.


One of this is..

procedure RGB_GrayConv_SSE2;
asm
        push    esi
        mov     ecx, dword ptr [ebp + 000000C8H]
        mov     edx, dword ptr [ebp + 000000B8H]
        mov     esi, dword ptr [ebp + 000000D4H]
        shr     edx, 2

Delphi does'nt like this line:
        movaps  xmm7, dqword ptr [ebp + 000000E0H]
inline assembler syntax error

        neg     edx
@@016:  mov     eax, dword ptr [edx + esi]
        movaps  xmm0, dqword ptr [eax]                 
        movaps  xmm1, dqword ptr [eax + 10H]

Board footer

Powered by FluxBB