nanogui: Concerning MWIMAGEHDR
Subject:
Concerning MWIMAGEHDR
From:
Junior ####@####.####
Date:
5 Jan 2007 19:00:48 +0000
Message-Id: <ECFDB84D75A.00000388ejr@inbox.com>
I'm working on an optimize jpg decoder and I ran into a snag I'm not sure about.
In mwtypes.h, imagebits member of MWIMAGEHDR is defined as MWUCHAR which is unsigned char.
However, When I do my decoding, I'm producing the 16-bit RGB pixel value and I was expecting a pointer to a 16-bit var.
How do I get around this?
What format does nanoX expect the image memory to be in, a continuous memory arrangement or a matrix arrangement?
Thanks,
--Jr.