Skip to content

Review: Bug fixes with per-channel data formats, lots of offsetting problems - #115

Merged
lgritz merged 1 commit into
AcademySoftwareFoundation:masterfrom
lgritz:lg-exr
Jun 30, 2011
Merged

Review: Bug fixes with per-channel data formats, lots of offsetting problems#115
lgritz merged 1 commit into
AcademySoftwareFoundation:masterfrom
lgritz:lg-exr

Conversation

@lgritz

@lgritz lgritz commented Jun 30, 2011

Copy link
Copy Markdown
Collaborator

I'd like to backport this to 0.10 as well.

Jeremy and Leszek, I think this will solve both of your (independently found) problems.

@jeremyselan

Copy link
Copy Markdown
Contributor

Cool, i'll check it out tomorrow. I assume this was intended to fix the jrray itview crash, correct? It looks like these two commits are in files related to image writing. But the itview crash is on image load. Perhaps there are two issues?

@lgritz

lgritz commented Jun 30, 2011

Copy link
Copy Markdown
Collaborator Author

Right, right. The fix I posted so far fixes your test conversion program that goes through floats. Still stuck on half input, forgot to double check that, hang on...

@lgritz

lgritz commented Jun 30, 2011

Copy link
Copy Markdown
Collaborator Author

Updated the patch to fix the input problems as well as output.

@inequation

Copy link
Copy Markdown
Contributor

Thanks, Larry, I'll check this out ASAP.

@inequation

Copy link
Copy Markdown
Contributor

Negative, the bug persists.

http://i.imgur.com/TlAPE.png

@lgritz

lgritz commented Jun 30, 2011

Copy link
Copy Markdown
Collaborator Author

Leszek, could you email me the RLA that causes the problem? And make sure your latest RLA code is pushed to your GH repo, and I'll take a look at the problem.

In the mean time, I think the patch as it stands fixes OpenEXR per-channel formats as well as some necessary infrastructure in ImageOutput.

@jeremyselan

Copy link
Copy Markdown
Contributor

All the test rlas are here:
https://github.com/jeremyselan/oiio/blob/rla/rla.zip

@inequation

Copy link
Copy Markdown
Contributor

Yup, all my up-to-date RLA code is in my RLA branch on GH, you just need to switch the two "#if 0"s to "#if 1"s. You can see the issue in any 16-bit RLA file (disregard the other artifacts that are visible in imgmake_rgba_nc16.rla, I'm working on resolving those; funny that the ginsu image displays fine).

@lgritz

lgritz commented Jun 30, 2011

Copy link
Copy Markdown
Collaborator Author

Let's take the RLA discussion off-line (into email), I don't think it's related to this ticket.

Jeremy, are you able to confirm that this patch works for your OpenEXR issues?

@jeremyselan

Copy link
Copy Markdown
Contributor

@jrray, @lgritz: Yes, I've confirmed that this fixes the itview crash. Larry, can we roll this into both the 0.10 and 0.9 stable branches? Itview is currently on the 0.9. (But I tested the 0.9 cherry pick to confirm it works).

@lgritz

lgritz commented Jun 30, 2011

Copy link
Copy Markdown
Collaborator Author

Great, I'm rolling it into all three branches (and testing one last time).

@lgritz
lgritz merged commit aeb747d into AcademySoftwareFoundation:master Jun 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants