Date
1 - 3 of 3
PackedImageDesc memory usage
Jeremy Selan <jeremy...@...>
GetProcessor calls are moderately fast after the first time. They are currently not cached internal to OCIO, but internal caching is on my short list to add soon. One getProcessor per software render is fine. (One per scanline, probably not.)
toggle quoted message
Show quoted text
-- Jeremy On Fri, Dec 16, 2011 at 10:38 AM, Paul Miller <pa...@...> wrote:
|
|
Paul Miller <pa...@...>
On 12/16/2011 12:20 PM, Jeremy Selan wrote:
I wouldn't be too concerned with it.Is getting the processor for a LOG->LINEAR CPU conversion generally pretty fast after the first one? ie. internally will OCIO cache this processor based on the current config, or is this something I should be doing on my end? |
|
Jeremy Selan <jeremy...@...>
I wouldn't be too concerned with it.
toggle quoted message
Show quoted text
My expectation is that the image processing + getProcessor calls would dwarf by many orders of magnitude the PackedImageDesc allocation time. But if you're curious and take timing numbers, please send them on to discuss.
Making a PackedImageDesc is basically calling new on a struct with a few members, once per scanline doesnt seem unreasonable. -- Jeremy I realized I'm creating and destroying a PackedImageDesc once per scanline. Rather than a simple wrapper around some image pointers this class allocates an implementation class. This got me thinking about extra memory overhead per scanline. |
|