You are not logged in.
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]
Offline
I tried to make it work under Delphi 5, but its internal assembler won't be able to handle those SSE2 instructions.
I don't see any possibility to make it compile with Delphi 5.
Sorry...
Offline
You have to find the op-codes of the asm commands. Then replace the asm by the op-codes.
Offline
You have to find the op-codes of the asm commands. Then replace the asm by the op-codes.
Of course, this will work, but will be definitively not worth it IMHO.
This library was proof of concept, and has some limitations about progressive jpegs.
But you are perfectly right, with some search and replace, it may be possible to make it work with Delphi 5.
Offline