Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-15Color Management, Stage 2: Switch color pipeline to use OpenColorIOSergey Sharybin
Replace old color pipeline which was supporting linear/sRGB color spaces only with OpenColorIO-based pipeline. This introduces two configurable color spaces: - Input color space for images and movie clips. This space is used to convert images/movies from color space in which file is saved to Blender's linear space (for float images, byte images are not internally converted, only input space is stored for such images and used later). This setting could be found in image/clip data block settings. - Display color space which defines space in which particular display is working. This settings could be found in scene's Color Management panel. When render result is being displayed on the screen, apart from converting image to display space, some additional conversions could happen. This conversions are: - View, which defines tone curve applying before display transformation. These are different ways to view the image on the same display device. For example it could be used to emulate film view on sRGB display. - Exposure affects on image exposure before tone map is applied. - Gamma is post-display gamma correction, could be used to match particular display gamma. - RGB curves are user-defined curves which are applying before display transformation, could be used for different purposes. All this settings by default are only applying on render result and does not affect on other images. If some particular image needs to be affected by this transformation, "View as Render" setting of image data block should be set to truth. Movie clips are always affected by all display transformations. This commit also introduces configurable color space in which sequencer is working. This setting could be found in scene's Color Management panel and it should be used if such stuff as grading needs to be done in color space different from sRGB (i.e. when Film view on sRGB display is use, using VD16 space as sequencer's internal space would make grading working in space which is close to the space using for display). Some technical notes: - Image buffer's float buffer is now always in linear space, even if it was created from 16bit byte images. - Space of byte buffer is stored in image buffer's rect_colorspace property. - Profile of image buffer was removed since it's not longer meaningful. - OpenGL and GLSL is supposed to always work in sRGB space. It is possible to support other spaces, but it's quite large project which isn't so much important. - Legacy Color Management option disabled is emulated by using None display. It could have some regressions, but there's no clear way to avoid them. - If OpenColorIO is disabled on build time, it should make blender behaving in the same way as previous release with color management enabled. More details could be found at this page (more details would be added soon): http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Color_Management -- Thanks to Xavier Thomas, Lukas Toene for initial work on OpenColorIO integration and to Brecht van Lommel for some further development and code/ usecase review!
2012-09-15code cleanup: remove paranoid/invalid NULL checks and also reduce some ↵Campbell Barton
unneeded size_t -> int conversions.
2012-09-15code cleanup: remove paranoid NULL checks (these cases would crash earlier ↵Campbell Barton
of the vars were in fact NULL)
2012-09-15quiet -Wmissing-prototypes warnings, and enable this warning by default for ↵Campbell Barton
C with gcc. helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-09-14Movie cache: made it thread safe to operate with memory limitorSergey Sharybin
Movie cache is using global memory limitor, which isn't thread safe in some of operations, so it required to add mutex around limitor operations in movie cache. It's probably could be solved in a way with less locks involved by using different limitor for different areas (like use own limitor for clips, own limitor for sequencer and so), but that wouldn't be so easy to control overall memory usage. -- svn merge -r50125:50126 ^/branches/soc-2011-tomato
2012-09-14Code cleanup: removed unused Cocoa image load/save code.Brecht Van Lommel
2012-09-14fixes for NULL checks, remove some redundant checks and add some in that ↵Campbell Barton
have been removed by accident as code has been updated.
2012-09-10code cleanup: use more specific argsCampbell Barton
2012-09-08== FFMPEG ==Peter Schlaile
This fixes [#32399] VSE doesn't show last 3 frames of Quicktime movie. Some decoders store frames internally until EOF. So one has to feed the decoding engine with empty packets after EOF until all frames could be extracted properly.
2012-09-06code clenup: comments and some style edits on ghost/osx (odd indentation)Campbell Barton
2012-09-05fix for various redundant checks and possibly fix some crashes in rare ↵Campbell Barton
situations.
2012-09-04fix for building on msvc2008 (also style cleanup)Campbell Barton
2012-09-04code cleanup: move file string defines into BLI_path_utils.h, ↵Campbell Barton
BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03Fix for logging FFmpeg messagesSergey Sharybin
2012-09-03code cleanup: split out defines in BKE_utildefines.h into BLO_blend_defs.h ↵Campbell Barton
and ui defines in interface_intern.h
2012-09-03add endian switch functions to replace macros SWITCH_INT/LONG/SHORT, with ↵Campbell Barton
BLI_endian_switch_int32/int64/float/double...
2012-08-31Possible fix for [#32462] blender cannot load bmp files (Windows OS).Thomas Dinges
* Typo in the CHECK_HEADER_FIELD macro. Patch by kjym3 in IRC, thanks!
2012-08-27File format fixesSergey Sharybin
- Add check for header field in BMP decoder. This is needed to distinguish whether file is indeed BMP image or not. Without this check Blender could easily crash when it'll try to load non-BMP image. Tested with files from own HDD, but all of them has got BM header field, more testing would be welcome. - Made Jpeg2000 aware of J2K codec. Originally was needed to verify .j2c files here in the studio, but having support of this codec would be nice in general. Currently supports only reading in this codec, writing would still using jp2 codec.
2012-08-26style cleanup: whitespaceCampbell Barton
2012-08-26Some FFmpeg changesSergey Sharybin
- Make FFmpeg initialization called from creator, not from functions which requires FFmpeg. Makes it easier to follow when initialization should happen. - Enable DNxHD codec. It was commented a while ago due to some strange behavior on some platforms. Re-tested it on Linux and Windows and it seemd to be working quite nice. Would let it be tested further, if it wouldn't be stable enough, easy to comment it again. - Make non-error messages from writeffmpeg.c printed only if ffmpeg debug argument was passed to blender. Reduces console pollution with messages which are not useful for general troubleshooting. Error messages would still be printed to the console. - Show FFmpeg error message when video stream failed to allocate. makes it easier to understand what exactly is wrong from Blender interface, no need to restart blender with FFmpeg debug flag and check for console messages. Used custom log callback for this which stores last error message in static variable. This is not thread safe, but with current design FFmpeg routines could not be called form several threads anyway, so think it's fine solution/
2012-08-26Compiling fix for Windows+Mingw: "Ambiguous" use of IStreamJoshua Leung
2012-08-24Fix for build error on some platforms, seems ImfStdIO.h is not included withBrecht Van Lommel
the other headers everywhere.
2012-08-24Fix second part #32377: saving/loading exr files to file paths with non-asciiBrecht Van Lommel
characters should now work on Windows.
2012-08-23style cleanup: indentation, also quiet double promotion warnings for ↵Campbell Barton
despeckle node.
2012-08-23style cleanupCampbell Barton
2012-08-22Fix compilation on MinGW after recent utf 16 fixes (possibly win32 too). gcc ↵Antony Riakiotakis
ostream does not support wchar_t, I hope it works as expected with unicode filenames.
2012-08-22style cleanupCampbell Barton
2012-08-22Fix part of #32377: TIFF not saving on windows to paths with special characters,Brecht Van Lommel
and DDS should not be in the list of file types because we can only load those currently.
2012-08-18Suport function for Collada exporter: after a generated image was stored to ↵Gaia Clary
disk, the new filetype was not always recognized.
2012-08-14Fix for [#32320] "Image browser in UV/image Editor makes Blender crash at ↵Mitchell Stokes
exit when .dds image is loaded" reported by Christian Monfort (gulbroz), who also provided the patch to fix the problem. The problem was a double free with some dds buffer data.
2012-08-13code cleanup: includes for imbuf, also remove double promotion.Campbell Barton
2012-08-13fix [#32126] STAMP: Setting a background color causes color flickerCampbell Barton
when rendering the sequencer can output float or char buffers which stamp wasn't accounting for.
2012-08-13style cleanupCampbell Barton
2012-08-08Movie cache: add function to iterate through cache and remove itemsSergey Sharybin
using custom check function for this. Currently unused, but would be helpful for sequencer cache.
2012-08-08Fix logic error in mipmap filter and refactor scaling routine to lower self ↵Sv. Lockal
cost by ~30%
2012-08-07Made image buffer threaded processor generic function,Sergey Sharybin
so color management could use the same routines. Should be no functional changes.
2012-08-04style cleanupCampbell Barton
2012-08-02code cleanup: remove redundant float castsCampbell Barton
2012-08-02improve not very helpful error message.Campbell Barton
2012-07-29code cleanup: replace MIN2/MAX2 with minf/maxfCampbell Barton
2012-07-27Move sRGB conversion initialization to init_exit routinesSergey Sharybin
It was a threading issue in color management project which potentially could happen in trunk as well.
2012-07-26Fix [#31609] save .EXR defaults to uncompressed, causes segfault.Sv. Lockal
IMB_filterN now generates 32-bit int representation of float images for mipmap generation if such representation does not exist.
2012-07-17code cleanup: spellingCampbell Barton
2012-07-10Make grumpy gcc in "overwarning" mode happy again...Bastien Montagne
2012-07-10Improved cache management for movie clips from tomato branchSergey Sharybin
Replace pseudo-LRU approach of determining which buffer to remove when running out of space allowed for cache with approach which would remove the frame which is most far away from newly added frame. This is still a bit tricky because it's impossible to distinguish which frame to delete in situation of: CCCC...CC ^ it's either user wants to extend left segment of cached frames and buffers from right segment should be removed or he wants to join this two segments and in that case buffers from right segment should be removed. Would need a bit more investigation which situation is more common in general usecase. Additional changes: - Cleanup some memutil files (which are familiar to cache limiter) - Add option to make moviecache verbose. If DEBUG_MESSAGES is defined in moviecache.c detailed logs would be printed to the console. - Movie caches are now named which helps reading debug messages.
2012-07-08fix [#32020] Image will not render in second (any scene other than first) if ↵Campbell Barton
scene name is longer than 28 characters
2012-07-08style cleanupCampbell Barton
2012-07-07style cleanup: use c style comments in C codeCampbell Barton
2012-07-05style cleanupCampbell Barton
2012-07-04Spellfixes: colour -> colorBastien Montagne