openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Openexr-devel] d_exr : assert (entrySize == _rmanPixelSize)


From: Julian Fong
Subject: Re: [Openexr-devel] d_exr : assert (entrySize == _rmanPixelSize)
Date: Mon, 7 Mar 2005 08:32:40 -0800

Florian Kainz writes:
> The "from += _rmanPixelSize" statements in lines 288 and 300 assume
> that the input to DspyImageData is contiguous in memory.  The assert()
> in line 254 makes this assumption explicit.  The assumption appears to
> be wrong; your fix is probably the thing to do.
> 
> If anyone from Pixar is reading this, can you confirm that the input to
> DspyImageData may not be contiguous in memory?

Yes, the input to DspyImageData can be noncontiguous in memory. This
occurs most often in arbitrary output variable situations (multiple
Display lines). The fix to increment the pixel data by entrySize
instead seems entirely correct from PRMan's point of view.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]