
7 Dec
2010
7 Dec
'10
9:02 p.m.
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_i... (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.