Boost logo

Boost :

Subject: Re: [boost] [gil io_new review] Reading images from in-memory sources
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2010-12-07 16:02:47


Domagoj Saric wrote:
> If I understood Phil correctly, he meant reading scanlines in packs like
> this:
> http://svn.boost.org/svn/boost/sandbox/gil/boost/gil/extension/io2/libjpeg_image.hpp
> (search for rec_outbuf_height in function raw_convert_to_prepared_view())...

You're always reading 4 lines and asserting that rec_outbuf_height is
not greater than this (as the docs say it will be). This is not
unreasonably, but it's not exactly what I meant; in my code, I
explicitly read exactly rec_outbuf_height lines. However, according to
Christian's investigation, it looks like this is a feature that is
present in the interface of libjpeg but not in the implementation;
unless this is likely to change, I think it can be ignored.

Phil.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk