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
2017-04-12Color management: Avoid memory copy into same bufferSergey Sharybin
2017-02-19Fix a few compiler warnings with macOS / clang.Brecht Van Lommel
2017-02-07Cleanup: Use const qualifier in some of color management codeSergey Sharybin
2017-02-07Color management: Add utility function to convert byte to float with ↵Sergey Sharybin
processor applied
2017-02-07Color management: Implement threaded byte buffer conversionSergey Sharybin
The title says it all actually: now we can convert byte buffer directly, without need of temporary float buffer.
2016-12-06Fix T50122: SEGFAULT: OCIO configuration typo leads to segfaultSergey Sharybin
2016-12-02Fix (unreported) memleak in ImBuf mipmap code in some cases.Bastien Montagne
`IMB_remakemipmap` may 'shrink' the mipmap list without actually freeing anything, so we need to check all possible levels in `imb_freemipmapImBuf` to avoid memory leaks, not only those currently used.
2016-11-29Fix compilation error with latest OIIO 1.7.8Sergey Sharybin
There are some changes in OIIO includes so now need to do some things differently.
2016-10-12FFmpeg: Fix off by one error in number of detected frames in matroska containerSergey Sharybin
Seems to be rounding error. Hopefully new code handles the error fixed back in SVN revision 28901 and still have proper frame number for Hjalti. What could possibly go wrong here..
2016-09-20Fix T49386: Blender crashes when told to load an OCIO LUT that does not existSergey Sharybin
2016-07-22fix comparison of identicalsMike Erwin
Some of these check that dimensions match before running code that assumes they do match. For imb_stereo3d_write_anaglyph I *assume* this change reflects the intended behavior. Before it was always grabbing alpha from buffer 0. Found with PVS-Studio T48917
2016-07-12Revert "OpenJPEG: update to 2.1 from 1.5"Sergey Sharybin
This reverts commit f12204196fb1ee985ab9745cf9c70877601145f9. Campbell, sorry. have to revert this for the time being. We've missed some very important bits, such as: - FFmpeg is usually linked against OpenJPEG - OIIO needs OpenJPEG as well. For FFmpeg issues we can either disable OpenJPEG there (since we don't really use it), or bump FFmpeg to version 3.1.1 which can use either of OpenJPEG 1.5 or 2.1. For OIIO we do need OpenJPEG support (otherwise Cycles will not be able to use j2k/j2c textures) and currently there is NO solution to make OIIO working with OpenJPEG 2.1. According to Matthias Fauconneau (aka mfv) Larry is working on the patch to get OIIO work with OpenJPEG 2.1, but it'll take some time still. I've tried to look into support of some sort of build system flag and do ifdefs, but it all becomes quite nasty, especially with bundled OpenJPEG bumped to 2.1. Surely such an update is something we'll have to apply to but at this exact moment it causes quite some pain for all developers. Suggest to wait for until OIIO supports OpenJPEG 2.1 and then go with the updates for real.
2016-07-12OpenJPEG: update to 2.1 from 1.5Campbell Barton
Stream handling has changed so this required changes to how files & memory are accessed.
2016-06-28[msvc2015/OpenEXR] Linker hackery is no longer required in vc2015Martijn Berger
Reviewers: juicyfruit Reviewed By: juicyfruit Differential Revision: https://developer.blender.org/D1892
2016-06-27Fix (unreported) potential buffer overflow with BLO_library_path_explode() ↵Bastien Montagne
usage. Also added warning to func doc, let's try to avoid this in future (for until we pass string length systematically...).
2016-06-22Cleanup: styleCampbell Barton
2016-06-13Fix misleading indentation in ImBufSergey Sharybin
2016-05-31Cleanup: unused definesCampbell Barton
2016-05-06Speedup of regular 2D paintingSergey Sharybin
Yet another commit which makes painting aware of multi-threaded systems.
2016-05-06Implement threaded partial display buffer updateSergey Sharybin
This speeds up update of display buffer when affected area is big enough. Mainly helpful for cases when doing long fast strokes when painting.
2016-05-06Multi-thread generated image creationSergey Sharybin
Gives about 2x speedup on laptop when creating new hires generated image, regardless of it's type (color, color grid, uv grid).
2016-05-05Cleanup: styleCampbell Barton
2016-05-05Fix OS X build error after SSE changes, BLI_math_base.h conflicts with EXR ↵Brecht Van Lommel
headers.
2016-05-05Optimize projection painting with big brushesSergey Sharybin
Multi-threaded partial buffer update, gives about 2x speedup with big brushes. Thanks Campbell for testing and benchmarking!
2016-05-05Optimize threaded scanline processorSergey Sharybin
Avoid memory allocation for task data.
2016-05-05Simplify scanline threaded processor used by GPU_verify_imageSergey Sharybin
Just avoid some unneeded initialization functions when the threaded processor is simple enough to only depend on current chunk start scanline and number of scanlines.
2016-04-26Fix T47992: Stereo 3D Anaglyph rendered Images saved too lightSergey Sharybin
2016-04-22Cleanup: warnings (double promote, string format)Campbell Barton
2016-04-12Cleanup: use boolCampbell Barton
2016-03-23Revert "Fix T47869: OpenColorIO Error with unicode path to config file under ↵Sergey Sharybin
Windows" White the config itself could be loaded this way, lookup tables can not. Additionally, that's not really clear how to solve the issue with search path which is multi-byte only in the API. Reverting for further investigation. This reverts commit ab4307aa0868f2d8389cc0dd500eff38909b08f1.
2016-03-23Fix T47869: OpenColorIO Error with unicode path to config file under WindowsSergey Sharybin
2016-03-18Fix T47806: Blender animation player stop working correctly with XVID codecSergey Sharybin
Something weird, seems some buffers _might_ be shared between codec context and frame, which is quite weird. Could be a bug in FFmpeg or could be wrong API usage somewhere else..
2016-03-17ImBuf: Some tweaks to FFmpeg frame free policySergey Sharybin
Th intention is to make sure we don't free buffers which were not allocated by FFmpeg. This is a possible fix for T47806.
2016-03-15ImBuf: Use proper function to free FFmpeg framesSergey Sharybin
2016-03-15Fix T47724: VSE crops video if horizontal resolution isn't divisible by 8Sergey Sharybin
In fact, some areas in FFmpeg might require alignment up to 32, so now we make temporary conversion in an aligned frame. We only do this if width is not aligned to 32.
2016-03-15Fix T47724: VSE crops video if horizontal resolution isn't divisible by 8Sergey Sharybin
Revert "Fix T47724: VSE crops video if horizontal resolution isn't divisible by 8" This reverts commit 606f6b79eabca236b933dd76e5425162e26ba105.
2016-03-10Fix T47724: VSE crops video if horizontal resolution isn't divisible by 8Sergey Sharybin
This is a bit annoying, but FFmpeg can't deal with unaligned arrays in some cases. There seems to be an easy workaround with using SWS_ACCURATE_RND flag which should be harmless since we don't really scaling frames, but only using sws_scale to change color space. Additionally, this is what VLC is also using.
2016-03-02GHash: BLI_ghash_ensure_p_ex now takes a pointer-to-key argCampbell Barton
This is an alternative to passing a copy callback which is some times inconvenient. Instead the caller can write to the key - needed when the key is duplicated memory. Allows for minor optimization in ghash/gset use. Also add BLI_gset_ensure_p_ex
2016-02-20Fix memory leak when saving OpenEXR half file fails.Brecht Van Lommel
2016-02-20ImBuf: Cleanup, don't use `using namespace`, it's a bad practiceSergey Sharybin
2016-02-20ImBuf: Solve re-definition warningsSergey Sharybin
The idea now is to have FFmpeg/OIIO headers listed after the system ones. This is because FFmpeg/OIIO might define some constants with the same name as the ones from math.h. FFmpeg/OIIO has ifdef around defines, but math.h doesn't check whether constants were already defined or not, which causes some noisy warnings.
2016-02-16Make Blender compilable with FFmpeg-3.0Sergey Sharybin
While it's not something we'll be using for the official release, it's nice to support new libraries at least on "it compiles" level, so it's not that many frustrated developers around. Nexyon, please have a look into Audaspace changes :)
2016-02-12Fix/workaround compilation error in ddsSergey Sharybin
CLAMP was conflicting between Common.h and BLI_utildefines.h Ideally we would use macro from BLI, but it's a bit involved change to make it working with C++, will keep it for later.
2016-02-03Imbuf: remove libredcodeCampbell Barton
D1751, remove this library since its quite a specific - only supports an older version of this codec. Also ffmpeg has added support for recent versions of the codec.
2016-01-28FFmpeg: Experiment with use of nb_frames from a stream when knownSergey Sharybin
The idea is to use known number of frames in the stream when possible instead of trying to deduct it from a stream duration and time base, which could potentially give some rounding errors. This, i.e., solves quicktime encoded files from animators to open just fine in sequencer. Another report done by the main Nieve guy (aka venomgfx)
2016-01-28cleanup: spelling / typosMike Erwin
no functional changes
2016-01-26Fix compilation error after recent luma changes on certain platformsSergey Sharybin
See T47243 for some more details.
2016-01-25ImBuf: Make luminance calculation inlinedSergey Sharybin
Title actually tells it all, it is rather simple function which totally makes sense to be inlined. This gives up to 5% of speedup when updating scopes for a large image. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1310
2016-01-21Cleanup: line length, indentationCampbell Barton
2016-01-19Fix T47203: Render Crash due to missing zbuf_float handling in IMB scaling.Bastien Montagne