[patch] support 14bit NEF

Hubert Figuiere hub at figuiere.net
Wed Jul 2 20:31:20 PDT 2008

On Wed, 2008-07-02 at 23:04 +0100, Rafael Espíndola wrote:
> > There is also the part for adding support for 14 bit NEFs. I will
> > benchmark the old and new 12 bit packing implementation.
> There are two patches attached. The first one is the one liner to add
> support for 14 bit NEFs.

Committed the first one.

> The second one is a refactoring of unpack_be12to16. It also makes it
> faster. The time for decoding o D2 uncompressed file was reduced in
> 22%.
> The code is IMHO simpler :-)
> 4 files changed, 38 insertions(+), 66 deletions(-)
> Do you think it is a good implementation strategy? I still have to
> test it with a non NEF file.
> Don't worry, I will be back to adding features now :-)

I'll review it and test it. :-)
Actually if you could run make check with it and ensure that it works
that would be terrific :-) it currently fail the unit tests.
Non-withstanding the testsuite (that I have to make it usable outside my


More information about the Libopenraw-dev mailing list