|
|
| jcsston |
Posted: Aug 13 2003, 06:47 PM |
 |
|
Matroska Dev
  
Group: Moderators
Posts: 553
Member No.: 652
Joined: 3-November 02

|
How portable is the MJPEG decoding code in VirtualDub?
Would it be too much work for me to change it to compile with Linux/GCC? or would using some existing Linux code be better?
-------------------- Use the Matroska file format |
 |
| phaeron |
| Posted: Aug 14 2003, 07:44 AM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
You could probably get the C++ core to compile with gcc with some minor elbow grease, and the asm could could be adapted to NASM. The inline assembly color conversion cores will give you some trouble but they are fairly easy to lift out. There's certainly nothing in the MJPEG core that is specific to Windows... oh wait, did I use the stack pointer as a general purpose register? I don't remember. ^^; |
 |
| jcsston |
Posted: Aug 15 2003, 09:47 PM |
 |
|
Matroska Dev
  
Group: Moderators
Posts: 553
Member No.: 652
Joined: 3-November 02

|
Thanks, I don't know ASM so I will have find some other MJPEG decoding code.
-------------------- Use the Matroska file format |
 |
| fccHandler |
| Posted: Aug 16 2003, 04:57 AM |
 |
|
Administrator n00b
  
Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02

|
| QUOTE (jcsston @ Aug 15 2003, 05:47 PM) | | I don't know ASM |
You don't know what you're missing. The glory, the agony, the bliss, the tears. I don't know if it's an art or a religion, but somehow no other language can compare with Assembly. ASM forever...
-------------------- May the FOURCC be with you... |
 |