Article View: comp.graphics.algorithms
Article #33Re: IJG JPEG Engine and Win32
From: Jumpstile Turner
Date: Wed, 10 Jan 1996 18:52
Date: Wed, 10 Jan 1996 18:52
34 lines
2171 bytes
2171 bytes
In article <4crai5$ear@hades.rz.uni-sb.de>, rajsta@med-rz.uni-sb.de
said:
>
>fortunat@interpath.com (Jumpstile Turner) wrote:
>
>> Jmemnobs.c. After much fudging around with the code I finally
>>got it going. I'm not sure exactly what change made the difference.
>> I've had so many problems getting this thing to compile my head is
>>spinning. I think I'm going to go get VC++ 4.0. :)
>
>I do not know if this will help you with the api stuff. why don't you
>stay with the standard library routines for malloc() read() etc. ?
>they work fine. I found that getting the IJG library running with BC
>4.x was simple enough. If you want to save the work, i can send you my
>port with .IDE file, based on IJG v.5
>
Well, I've got it running like a champ now. Thanks for the offer
though. Incidently, malloc() and free() are measureably slower under
Windows 95. These generate calls to GlobalAlloc which are still in the
Win32 API just for compatability. Under Win32 you want to use HeapAlloc
or VirtualAlloc if you can. I've also been looking at sucking the JPG
files into RAM and decoding them from ram because JPG's tend to be
rather small while they're compressed. I'm not sure if I'll gain any
speed benefit from doing so yet.
-Scott
------------------------------------------------
Jumpstile Turner
fortunat@interpath.com
"Sing the Hare Hare, Dance the Hoochie Koo..."
------------------------------------------------
Technical Details
Message-ID:
<4d11tg$56q@redstone.interpath.net>Path:
arc1-ca.pugleaf.net!redstone.interpath.net!usenetReferences:
<4cemir$6vb@redstone.interpath.net> <TGL.96Jan3202549@netcom21.netcom.com> <TGL.96Jan5065424@netcom21.netcom.com> <4cpn1r$gm0@redstone.interpath.net> <4crai5$ear@hades.rz.uni-sb.de>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!redstone.interpath.net!usenet From: fortunat@interpath.com (Jumpstile Turner) Newsgroups: comp.graphics.algorithms,comp.lang.c++,comp.os.ms-windows.programmer.graphics,comp.os.ms-windows.programmer.multimedia,comp.os.ms-windows.programmer.win32 Subject: Re: IJG JPEG Engine and Win32 Date: 10 Jan 1996 18:52:31 GMT Organization: Completely unorganized Message-ID: <4d11tg$56q@redstone.interpath.net> References: <4cemir$6vb@redstone.interpath.net> <TGL.96Jan3202549@netcom21.netcom.com> <TGL.96Jan5065424@netcom21.netcom.com> <4cpn1r$gm0@redstone.interpath.net> <4crai5$ear@hades.rz.uni-sb.de> NNTP-Posting-Host: fortunat.pdial.interpath.net X-Newsreader: WinVN 0.99.7