why redeclaring PByte type anyways....Delphi allows direct pointer arithmetic only with PChars (not sure why though), so I changed it to a PChar which should work also under FPC because it allows pointer arithmetic on all pointer types (?)...Originally Posted by dmantione
EDIT:
the function is not thread-safe because it has YUV1 and YUV2 variables declared as global even if they are local to the function....modified that (now it is threadsafe) and included $G- directive to speed up global memory access under Delphi....the link in my previous post has been updated....no pass this time....
Bookmarks