Blender Git Loki
Git Commits -> Revision de0262e
Revision de0262e by Ton Roosendaal (master) March 12, 2006, 14:11 (GMT) |
New: Import/Export of Cineon and DPX image files. The first is Kodak's standard for film scanning, 10 bits/channel and logarithmic. DPX is derived from Cineon as the ANSI/SMPTE industry standard. DPX supports 16 bits color/channel, linear as well as logarithmic. Code has been gratefully copied from CinePaint and was integrated in Blender by Joe Eagar. According to CinePaint's dev Robin Rowe the DPX code defaults to log colorspace. Can't find in the code clues yet how to enable/disable that. However, tests with write/read of DPX seems to show no visible loss by log conversion code. Might be because it uses the entire 16 bit range... CinePaint dpx files have been succesfully imported in a Quantel IQ HD/2K finishing/grading set without problem, so for now I guess we can use it! :) Changes in code: added tests for image magic numbers before entering the actual reading code. Prevents error prints, and makes it faster too. (Note; this because Blender doesn't check for extensions, but calls reading functions on every file until one accepts it. :) |
Commit Details:
Full Hash: de0262e4c81c7d7f036cc574f636a248f2cc9f27
SVN Revision: 7037
Parent Commit: bd151b3
Lines Changed: +2869, -6
17 Added Paths:
/source/blender/imbuf/intern/cineon/cineonfile.h (+143, -0) (View)
/source/blender/imbuf/intern/cineon/cineonlib.c (+801, -0) (View)
/source/blender/imbuf/intern/cineon/cineonlib.h (+68, -0) (View)
/source/blender/imbuf/intern/cineon/cineon_dpx.c (+195, -0) (View)
/source/blender/imbuf/intern/cineon/cin_debug_stuff.h (+2, -0) (View)
/source/blender/imbuf/intern/cineon/dpxfile.h (+124, -0) (View)
/source/blender/imbuf/intern/cineon/dpxlib.c (+625, -0) (View)
/source/blender/imbuf/intern/cineon/dpxlib.h (+56, -0) (View)
/source/blender/imbuf/intern/cineon/logImageCore.c (+212, -0) (View)
/source/blender/imbuf/intern/cineon/logImageCore.h (+109, -0) (View)
/source/blender/imbuf/intern/cineon/logImageLib.c (+158, -0) (View)
/source/blender/imbuf/intern/cineon/logImageLib.h (+86, -0) (View)
/source/blender/imbuf/intern/cineon/logmemfile.c (+77, -0) (View)
/source/blender/imbuf/intern/cineon/logmemfile.h (+29, -0) (View)
/source/blender/imbuf/intern/cineon/Makefile (+64, -0)
/source/blender/imbuf/intern/cineon/README (+8, -0)
/source/blender/imbuf/intern/IMB_dpxcineon.h (+47, -0) (View)
/source/blender/imbuf/intern/cineon/cineonlib.c (+801, -0) (View)
/source/blender/imbuf/intern/cineon/cineonlib.h (+68, -0) (View)
/source/blender/imbuf/intern/cineon/cineon_dpx.c (+195, -0) (View)
/source/blender/imbuf/intern/cineon/cin_debug_stuff.h (+2, -0) (View)
/source/blender/imbuf/intern/cineon/dpxfile.h (+124, -0) (View)
/source/blender/imbuf/intern/cineon/dpxlib.c (+625, -0) (View)
/source/blender/imbuf/intern/cineon/dpxlib.h (+56, -0) (View)
/source/blender/imbuf/intern/cineon/logImageCore.c (+212, -0) (View)
/source/blender/imbuf/intern/cineon/logImageCore.h (+109, -0) (View)
/source/blender/imbuf/intern/cineon/logImageLib.c (+158, -0) (View)
/source/blender/imbuf/intern/cineon/logImageLib.h (+86, -0) (View)
/source/blender/imbuf/intern/cineon/logmemfile.c (+77, -0) (View)
/source/blender/imbuf/intern/cineon/logmemfile.h (+29, -0) (View)
/source/blender/imbuf/intern/cineon/Makefile (+64, -0)
/source/blender/imbuf/intern/cineon/README (+8, -0)
/source/blender/imbuf/intern/IMB_dpxcineon.h (+47, -0) (View)
12 Modified Paths:
/source/blender/blenkernel/intern/image.c (+14, -0) (Diff)
/source/blender/blenkernel/intern/writeffmpeg.c (+1, -0) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+5, -0) (Diff)
/source/blender/imbuf/intern/Makefile (+3, -1) (Diff)
/source/blender/imbuf/intern/readimage.c (+7, -0) (Diff)
/source/blender/imbuf/intern/util.c (+5, -1) (Diff)
/source/blender/imbuf/intern/writeimage.c (+8, -1) (Diff)
/source/blender/imbuf/SConscript (+1, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+2, -0) (Diff)
/source/blender/src/buttons_scene.c (+9, -3) (Diff)
/source/blender/src/filesel.c (+4, -0) (Diff)
/source/blender/src/writeimage.c (+6, -0) (Diff)
/source/blender/blenkernel/intern/writeffmpeg.c (+1, -0) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+5, -0) (Diff)
/source/blender/imbuf/intern/Makefile (+3, -1) (Diff)
/source/blender/imbuf/intern/readimage.c (+7, -0) (Diff)
/source/blender/imbuf/intern/util.c (+5, -1) (Diff)
/source/blender/imbuf/intern/writeimage.c (+8, -1) (Diff)
/source/blender/imbuf/SConscript (+1, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+2, -0) (Diff)
/source/blender/src/buttons_scene.c (+9, -3) (Diff)
/source/blender/src/filesel.c (+4, -0) (Diff)
/source/blender/src/writeimage.c (+6, -0) (Diff)