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
2014-05-03IMB buffer functions to take a mask as inputDalai Felinto
The mask make sure the conversion only happens in a few areas of the buffer. New Functions: * IMB_buffer_byte_from_float_mask * IMB_buffer_float_from_float_mask The functions are an adaptation of their maskless counterparts without accepting different profiles for the input and output buffers. Review: Sergey Sharybin
2014-05-01Code cleanup: remove defines no longer needed on windowsCampbell Barton
2014-05-01More fixes, msvc 2008 needs math includes for "isnan"..Thomas Dinges
2014-05-01Include removal gave problems with windows, ifdef some back in for windows onlyCampbell Barton
2014-05-01Revert "Fix msvc 2013 compiler errors after the ingenious cleanup in ↵Campbell Barton
4ca67869cc7a." This reverts commit a47a4ef82f37428d391cc14a30fa611d6714e71d.
2014-05-01Fix msvc 2013 compiler errors after the ingenious cleanup in 4ca67869cc7a.Thomas Dinges
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-30Fix T39931: Crash generating thumbnails (error in escaping)Campbell Barton
2014-04-30Fix T39953: Float data images display trash in image editorSergey Sharybin
Was a failure of optimization trick.
2014-04-30Correct issue with IMB_ispic returning boolCampbell Barton
2014-04-27Code cleanup: const args and arraysCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (blenloader, gpu, imbuf, makesdna, ↵Campbell Barton
modifiers, nodes)
2014-04-22BLI_open: check returned value for `-1` instead of `< 0`Campbell Barton
2014-04-11Code cleanup: use boolCampbell Barton
2014-04-08Mempool: delay allocating an initial chunk, its not always usedCampbell Barton
2014-04-07Fix building for Windows.Antony Riakiotakis
2014-04-07Todo T36849: support XDG thumbnail management standardCampbell Barton
2014-04-05Mempool: remove BLI_MEMPOOL_SYSMALLOC, MEM_* allocs are more efficient nowCampbell Barton
2014-04-02Rename "BLI_cpu.h" to "BLI_system.h" and add to it BLI_getpid() helper.Bastien Montagne
There is not much sense to have a whole BLI file just to check SSE2 on CPUs... So idea is to rename it to more generic "BLI_system", and add to it more system-related utils, like e.g. an include helper for getpid(), which allows to hide unix/windows internals from rest of the code... Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D439
2014-04-01Fix T39446: Blender Crashes when Camera TrackingSergey Sharybin
Issue is likely caused by thread-unsafe nature of IMB_freeImBuf which might lead to race condition in some circumstances. Now made it thread-safe and from Sebastian's tests seems crash is gone now, so hopefully the root of the issue is finally nailed down.
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-28Fix T39410: Crashes when Saving HiRes .tifSergey Sharybin
2014-03-25Fix T39395: Switching to "Textured solid" and "GLSL" view will cause the FPS ↵Sergey Sharybin
drop to 0 Issue was caused by the cache limitor which was removing 4k textures from the memory when accessing other images. This is pretty much awful situation and solved by making it so only image sequences and movies ace cache-guarded. Could be optimized further so images used by viewport are not being freed, but that's much more tricky to do.. This is a nice candidature for 'a'.
2014-03-21Fix T39186: Matroska audio support (mka, mkv without video stream)Sergey Sharybin
.mka files were considered image files when adding to sequencer using drag-n-drop.
2014-03-19Code cleanup: unreachable break/returnCampbell Barton
2014-03-09Cleanup some useless/unneeded #ifdefs for MSVC2013.Juergen Herrmann
2014-03-06Fixes for proxies color spaceSergey Sharybin
Basically proxy colorspace didn't work well enough. It is still a bit weird and mainly: - Proxies for image sequences are built in the image color space. - Proxies for movies are built in the movie color space. This could be unified but would need some work in proxy build to make it not just pipe frames from one FFmpeg context to another but also apply OCIO on it.
2014-03-01Fix for some unlikely memory leaks, remove redundant checksCampbell Barton
2014-02-17Code cleanup: unused/warningsCampbell Barton
2014-02-14Code cleanup: duplicate headersCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-02-06Remove unnecessary debug printSergey Sharybin
2014-02-05Code cleanup: use bool for static methodsCampbell Barton
2014-02-03Fix T38455: Blenderplayer is not workingSergey Sharybin
Was a regression since avg_frame_rate changes. Didn't find reliable way to get stream duration which will work with both FFmpeg and Libav so added some freaking black magic to distinguish one from another.
2014-02-03Image/Animation loading, remove user-pref extension check.Campbell Barton
don't use extension checking preference for low level loading functions, otherwise a user preference may impact a script loading a file for example. looked into making this an argument and passing it in, but theres no real advantage and its simpler just to remove.
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-01-30Code cleanup: add BLI_testextensie_n, replacing multuple calls to ↵Campbell Barton
BLI_testextensie also use attributes for BLI path functions
2014-01-28libavformat API usage: use avformat_close_input() instead of ↵Anton Khirnov
av_close_input_file()
2014-01-28libavformat API usage: use avg_frame_rate instead of r_frame_rateAnton Khirnov
r_frame_rate is a guessed number defined as "the least common multiple of all framerates in the stream". It has been deprecated and removed in new Libav releases. Use avg_frame_rate instead, which is the average framerate of the stream.
2014-01-28libavcodec API usage: use new video encoding APIAnton Khirnov
avcodec_encode_video() has been replaced with avcodec_encode_video2() in new libavcodec versions.
2014-01-28Change libavcodec CODEC_ID_* to AV_CODEC_ID_*Anton Khirnov
CODEC_ID_* have been replaced with AV_CODEC_ID_* in new libavcodec versions. Update the code to use those new identifiers. Added a compatibility code to ffmpeg_compat.h
2014-01-25Fix T38353: some EXR files from other applications not loading correctly.Brecht Van Lommel
* EXR layers with names like 'Z' without any pass name were not loaded at all and would break the Combined pass as well. * EXR pass names longer than 16 characters where writing past the end of the array and getting invalid names.
2014-01-23Fix for IMB_(un)premultiply_rect_float() not doing right businessSergey Sharybin
- Made them receive number of channels rather than number of planes. This matches to how ImBuf structure stored planes and channels. - IMB_premultiply_rect_float() was called with channels passed instead of planes already :S.
2014-01-21Fix T38298: crash saving float image with 3 channels from exr to png/jpeg.Brecht Van Lommel
2014-01-20Code cleanup: remove quicktime image loading code (not animation loading).Brecht Van Lommel
This code has been broken for a few years and no one noticed, it's also less useful now that we support PSD image loading ourselves which was the original motivation to have this.
2014-01-13Fix T38040: Crash after loading big image file in compositorSergey Sharybin
Issue was caused by cache limitor removing viewer image buffer from the memory during compositing. Now made it so all viewer images are persistent in the memory. This solves the crash mentioned above and also makes it so render/compo results are never lost. Further tweaks are possible, but pretty much happy now, at least no stoppers for work are there.
2014-01-12Style Cleanup: whitespaceCampbell Barton
2014-01-12Style Cleanup: whitespaceCampbell Barton
2014-01-01Fix deadlock happening when using Save Buffers for renderSergey Sharybin
Summary: Issue was caused by the same tile being written twice to the EXR file. This was happening because of partial update of work-in-progress tiles was merging result to the final render result in order to make color management pipeline happy. We need to avoid such a merges and keep memory usage as low as possible when Save Buffers is enabled. Now render pipeline will allocate special display buffer in render layer which will contain combined pass in the display space. This keeps memory usage as low as we can do at this moment. There's one weak thing which is changing color management settings during rendering would lead to lossy conversion. This is because render result's display buffer uses color space from the time when rendering was invoked. This is actually what was happening in previous release already actually so not a big issue. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D162
2013-12-25Use generic task scheduler for threaded image processorSergey Sharybin
It allows to schedule tasks of smaller size without having threads overhead or extra worry about splitting tasks into smaller pieces. This simplifies code in color management which was manually splitting task into smaller chunks to keep memory usage low. Further optimization is possible by avoid malloc called from threads, but that's how it used to work for ages already and would be optimized as a separate patch.