Blender Git Commit Log

Git Commits -> Revision 1ea16dc

Revision 1ea16dc by Sergey Sharybin (master)
March 15, 2013, 09:46 (GMT)
Patch #34632: DPX/Cineon speed up

Done by Julien Enche (aka trap), thanks!

From the patch comment:
This patch speeds up Cineon/DPX file loading.
Some more checks are done in dpxOpen and cineonOpen functions so IB_test
flag can now be taken into account safely, and an unnecessary call to
IMB_rect_from_float has been removed.

DPX/Cineon file now loads around 3 times faster on my computer.

Own comment:
Ideally, IB_rect shall indeed indicate which buffers to load, however
currently all places which reads image uses this flag.

This fact already mentioned in OpenEXR reader and it shall be fine
to skip doing rect_from_float in readers themselves.

Commit Details:

Full Hash: 1ea16dcf9b5337a7f8983a09d7f92b6164a7670f
SVN Revision: 55296
Parent Commit: 42660a2
Lines Changed: +45, -15

3 Modified Paths:

/source/blender/imbuf/intern/cineon/cineonlib.c (+10, -0) (Diff)
/source/blender/imbuf/intern/cineon/cineon_dpx.c (+7, -14) (Diff)
/source/blender/imbuf/intern/cineon/dpxlib.c (+28, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021