Blender Git Loki
Git Commits -> Revision be5a35d
Revision be5a35d by Sergey Sharybin (master) September 14, 2012, 14:37 (GMT) |
Color Management: get rid of image buffer's profile flag Currently float buffers are always linear, space of byte buffer is defined by rect_colorspace property. Replaced logic of IMB_rect_from_float and IMB_float_from_rect to use this assumptions (before it was special function used in some areas only, now it's default behavior). Almost all functions from ImBuf module which are actually used are got rid from profile flag. Only remained issue is IMB_float_profile_ensure which only used by CIneon/DPX exporter which is broken for a while already. Need to be fixed separately. This also fixed clone brush when cloning byte image on top of float, before this result would be gamma-corrected twice. |
Commit Details:
Full Hash: be5a35d91630bc0a4db9d655d9f0a8275b25c7ac
SVN Revision: 50595
Parent Commit: 8e1138d
Lines Changed: +160, -438
38 Modified Paths:
/source/blender/blenkernel/intern/image.c (+0, -5) (Diff)
/source/blender/blenkernel/intern/ocean.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+2, -17) (Diff)
/source/blender/blenkernel/intern/tracking.c (+0, -3) (Diff)
/source/blender/compositor/operations/COM_ImageOperation.cpp (+1, -1) (Diff)
/source/blender/editors/render/render_opengl.c (+31, -19) (Diff)
/source/blender/editors/render/render_preview.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+7, -15) (Diff)
/source/blender/editors/space_clip/clip_editor.c (+1, -7) (Diff)
/source/blender/editors/space_image/image_ops.c (+1, -7) (Diff)
/source/blender/editors/space_node/node_view.c (+1, -10) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+4, -4) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+0, -2) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+0, -1) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+0, -1) (Diff)
/source/blender/imbuf/intern/allocimbuf.c (+3, -0) (Diff)
/source/blender/imbuf/intern/anim_movie.c (+0, -4) (Diff)
/source/blender/imbuf/intern/bmp.c (+0, -1) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+8, -52) (Diff)
/source/blender/imbuf/intern/dds/dds_api.cpp (+0, -1) (Diff)
/source/blender/imbuf/intern/divers.c (+42, -95) (Diff)
/source/blender/imbuf/intern/IMB_colormanagement_intern.h (+1, -0) (Diff)
/source/blender/imbuf/intern/iris.c (+0, -1) (Diff)
/source/blender/imbuf/intern/jp2.c (+39, -108) (Diff)
/source/blender/imbuf/intern/jpeg.c (+0, -1) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+9, -27) (Diff)
/source/blender/imbuf/intern/png.c (+0, -4) (Diff)
/source/blender/imbuf/intern/radiance_hdr.c (+0, -1) (Diff)
/source/blender/imbuf/intern/readimage.c (+1, -1) (Diff)
/source/blender/imbuf/intern/targa.c (+0, -1) (Diff)
/source/blender/imbuf/intern/tiff.c (+1, -6) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+5, -21) (Diff)
/source/blender/nodes/composite/nodes/node_composite_outputFile.c (+0, -6) (Diff)
/source/blender/quicktime/apple/qtkit_import.m (+0, -1) (Diff)
/source/blender/quicktime/apple/quicktime_import.c (+0, -2) (Diff)
/source/blender/render/intern/source/envmap.c (+0, -2) (Diff)
/source/blender/render/intern/source/rendercore.c (+0, -2) (Diff)
/source/blender/render/intern/source/render_result.c (+1, -5) (Diff)
/source/blender/blenkernel/intern/ocean.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+2, -17) (Diff)
/source/blender/blenkernel/intern/tracking.c (+0, -3) (Diff)
/source/blender/compositor/operations/COM_ImageOperation.cpp (+1, -1) (Diff)
/source/blender/editors/render/render_opengl.c (+31, -19) (Diff)
/source/blender/editors/render/render_preview.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+7, -15) (Diff)
/source/blender/editors/space_clip/clip_editor.c (+1, -7) (Diff)
/source/blender/editors/space_image/image_ops.c (+1, -7) (Diff)
/source/blender/editors/space_node/node_view.c (+1, -10) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+4, -4) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+0, -2) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+0, -1) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+0, -1) (Diff)
/source/blender/imbuf/intern/allocimbuf.c (+3, -0) (Diff)
/source/blender/imbuf/intern/anim_movie.c (+0, -4) (Diff)
/source/blender/imbuf/intern/bmp.c (+0, -1) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+8, -52) (Diff)
/source/blender/imbuf/intern/dds/dds_api.cpp (+0, -1) (Diff)
/source/blender/imbuf/intern/divers.c (+42, -95) (Diff)
/source/blender/imbuf/intern/IMB_colormanagement_intern.h (+1, -0) (Diff)
/source/blender/imbuf/intern/iris.c (+0, -1) (Diff)
/source/blender/imbuf/intern/jp2.c (+39, -108) (Diff)
/source/blender/imbuf/intern/jpeg.c (+0, -1) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+9, -27) (Diff)
/source/blender/imbuf/intern/png.c (+0, -4) (Diff)
/source/blender/imbuf/intern/radiance_hdr.c (+0, -1) (Diff)
/source/blender/imbuf/intern/readimage.c (+1, -1) (Diff)
/source/blender/imbuf/intern/targa.c (+0, -1) (Diff)
/source/blender/imbuf/intern/tiff.c (+1, -6) (Diff)
/source/blender/nodes/composite/nodes/node_composite_image.c (+5, -21) (Diff)
/source/blender/nodes/composite/nodes/node_composite_outputFile.c (+0, -6) (Diff)
/source/blender/quicktime/apple/qtkit_import.m (+0, -1) (Diff)
/source/blender/quicktime/apple/quicktime_import.c (+0, -2) (Diff)
/source/blender/render/intern/source/envmap.c (+0, -2) (Diff)
/source/blender/render/intern/source/rendercore.c (+0, -2) (Diff)
/source/blender/render/intern/source/render_result.c (+1, -5) (Diff)