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-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-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-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-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
2012-07-03More spell and typo fixes (mostly visualise->visualize, grey->gray, ↵Bastien Montagne
normalise->normalize).
2012-07-02code cleanup: minor editsCampbell Barton
2012-07-01style cleanup: commentsCampbell Barton
2012-06-30Finally committing support for compressed textures on the GPU (DDS+DXT). ↵Mitchell Stokes
This patch started out as a patch by me, then cleaned up by Kupoman during his work on Cucumber. One important thing to keep in mind when using this feature is that you'll need to flip your textures vertically (both the GIMP and Photoshop DDS tools I've seen have support for this on export). This is a quirk in using a texture format originally made for DirectX/DirectDraw, and flipping the compressed data is a real headache. Another quick fix for this issue is to change the Y value for the Size in the Mapping panel in the Texture properties to -1 (default is 1).