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
2018-05-07Cleanup: rename char/float conversion functionsCampbell Barton
- FTOCHAR -> unit_float_to_uchar_clamp - F3TOCHAR3 -> unit_float_to_uchar_clamp_v3 (swap args) - F4TOCHAR4 -> unit_float_to_uchar_clamp_v4 (swap args) - FTOUSHORT -> unit_float_to_ushort_clamp - USHORTTOUCHAR -> unit_ushort_to_uchar
2018-05-07Cleanup: move unit char/short/float to functionsCampbell Barton
This caused GCC 8.1 to crash at build time, but was also not very nice use of macros.
2018-04-16Cleanup: indentationCampbell Barton
2018-04-16Cleanup: indentationCampbell Barton
2018-04-06Cleanup: style, doxy headersCampbell Barton
2018-04-05Load metadata from video files and expose via RNASybren A. Stüvel
The MovieSequence and MovieClip classes now have a metadata() function that exposes the `IDProperty *` holding the video metadata. Part of: https://developer.blender.org/D2273 Reviewed by: @campbellbarton
2018-04-05IMB_metadata improvementsSybren A. Stüvel
- Metadata handling is now separate from `ImBuf *`, allowing it to be used with a generic `IDProperty *`. - Merged `IMB_metadata_add_field()` and `IMB_metadata_change_field()` into a more robust `IMB_metadata_set_field()`. This new function doesn't return any status (it now always succeeds, and the previously existing return value was never checked anyway). - Removed `IMB_metadata_del_field()` as it was never actually used anywhere. - Use `IMB_metadata_ensure()` instead of having `IMB_metadata_set_field()` create the containing `IDProperty` for you. - Deduplicated function declarations, moved `intern/IMB_metadata.h` out of `intern/`. Note that this does mean that we have some extra `#include "IMB_metadata.h"` lines now, as the metadata functions are no longer declared in `IMB_imbuf.h`. - Deduplicated function declarations, all metadata-related declarations are now in imbuf/IMB_metadata.h. Part of: https://developer.blender.org/D2273 Reviewed by: @campbellbarton
2018-04-02Cleanup: remove redundant imbuf return valuesCampbell Barton
Some functions always returned the input argument which was never used. This made code read as if there might be a leak. Now return a boolean (true the imbuf is modified).
2018-04-02Cleanup: move BKE_global include under ifdef'sCampbell Barton
2018-04-02imbuf: revert some of the changes of ↵Ray Molenkamp
rBb6ba3c682dd6615e760905572a5bcd69bb46371f since they broke the build.
2018-04-01Cleanup: remove global headerCampbell Barton
2018-03-10Fix T54269: saved EXR file files unreadable some editors in Blender.Brecht Van Lommel
Don't write the multichannel metadata when there is only a single layer, and don't unnecessarily consider single layer images with Blender metadata as multi layer.
2018-03-09Fix T53857: Incorrect framerate for videos imported from OBSSergey Sharybin
This is an issue with which value to trust: fps vs. tbr. They both cam be somewhat broken. Currently the idea is: - If file was saved with FFmpeg AND we are decoding with FFmpeg we trust tbr. - If we are decoding with Libav we use fps (there does not seem to be tbr in Libav, unless i'm missing something). - All other cases we use fps. Seems to work all good for files from T53857, T54148 and T51153. Ideally we would need to collect some amount of regression files to make further tweaks more scientific. Reviewers: mont29 Reviewed By: mont29 Differential Revision: https://developer.blender.org/D3083
2018-02-23Fix T54137: OpenEXR files with long red/green/blue channel names not loading ↵Brecht Van Lommel
correctly.
2018-02-15Cleanup: rename BLI_thread.h APICampbell Barton
- Use BLI_threadpool_ prefix for (deprecated) thread/listbase API. - Use BLI_thread as prefix for other functions. See P614 to apply instead of manually resolving conflicts.
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2018-01-26IMB: Add asserts that returned fps and fps base are strictly positives.Bastien Montagne
Forgot to add that in previous commit, also related to T53003.
2018-01-26Fix T53003: IMB: Invalid framerate handling due to short integer overflow.Bastien Montagne
FFMPEG uses int for the numerator, while Blender uses a short. So in cases people gave weird exotic framerate values and we cannot reduce enough the numerator, we'd get totally weird values (even negative frame rates sometimes!) Now we add checks for short overflow and approximate as best as possible in that case (error should not matter unless you have shots of at least several hundreds of hours ;) ).
2018-01-21Cleanup: styleCampbell Barton
2018-01-18Fix Linux/GCC compiler warning in recent fixes.Brecht Van Lommel
2018-01-17Fix buffer overflows in TIFF, PNG, IRIS, DPX, HDR and AVI loading.Brecht Van Lommel
Solves these security issues from T52924: CVE-2017-2899 CVE-2017-2900 CVE-2017-2901 CVE-2017-2902 CVE-2017-2903 CVE-2017-2904 CVE-2017-2905 CVE-2017-2906 CVE-2017-2907 CVE-2017-2918 Differential Revision: https://developer.blender.org/D2999
2018-01-15Allow for multi-gigapixel rendersKarl Semich
This patch fixes a 32-bit overflow that occurs on 64-bit systems due to a numeric literal being treated as 32-bit. This patch allows for the generation of images that occupy more than 4GB of RAM, which previously caused a crash. Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D2975
2018-01-13Fix T53771: missing view pixels when rendering multiview + FSAA.Brecht Van Lommel
This never worked, it's not due to recent refactoring.
2017-12-07DPX/Cineon: Report orientation when running with --debugSergey Sharybin
2017-12-07Fix T53499: Cannot load DPX filesSergey Sharybin
The issue was caused by unspecified color transfer. New behavior gives same result as other viewers here, so likely is fine :)
2017-12-07DPX: Fix wrong flag being checked for debugSergey Sharybin
2017-11-18Cleanup: styleCampbell Barton
2017-11-08Fix T53092: errors reading EXR files with different data/display window.Brecht Van Lommel
Multilayer/multiview OpenEXRs did not read the full data window like single layer, now it should be consistent.
2017-11-08Fix various issues with (multiview) OpenEXR file save/load.Brecht Van Lommel
* Fix saving a multiview render from the image editor giving invalid files. * Fix failure to load multiview images with a single view per part. * Fix loss of multiview metadata when saving/loading a single view. * Fix Z-Buffer writing option for single layer EXR not being respected. Multiview EXRs are now always handled as multilayer internally, significantly reducing the amount of code. Reviewed By: dfelinto Differential Revision: https://developer.blender.org/D2887
2017-10-02Fix T52920: Saving Tiff Files type Blender crashesSergey Sharybin
Was only happening for 3 and 1 channel sources.
2017-09-29Drop platform support for Solaris & AIXCampbell Barton
These platforms didn't see maintenance in years. This commit just removes ifdef's & cmake check.
2017-09-22Remove quicktime supportAaron Carlisle
It has been deprecated since at least macOS 10.9 and fully removed in 10.12. I am unsure if we should remove it only in 2.8. But you cannot build blender with it supported when using a modern xcode version anyway so I would tend towards just removing it also for 2.79 if that ever happens. Reviewers: mont29, dfelinto, juicyfruit, brecht Reviewed By: mont29, brecht Subscribers: Blendify, brecht Maniphest Tasks: T52807 Differential Revision: https://developer.blender.org/D2333
2017-09-18Color management: When look is applied, we can not consider spaces to matchSergey Sharybin
This should fix T52812 after merge to blender2.8.
2017-09-17Cleanup: SGI format, remove unused struct membersCampbell Barton
2017-09-17Fix SGI foramt reader CVE-2017-2901Campbell Barton
Integer Overflow Code Execution Vulnerability. Reader no longer crashes on corrupt images (from own fuzz testing).
2017-09-17Cleanup: SGI format, avoid overflowCampbell Barton
Harmless but causes warnings
2017-09-17Cleanup: SGI format, use uint/short/char typesCampbell Barton
2017-09-16Fix writing Iris images w/ invalid headerCampbell Barton
Regression in e142ae77cadf
2017-09-14Fix T52739: Crash loading corrupted video filesSergey Sharybin
Affects both "normal" open as a video file and thumbnail generation.
2017-09-04Fix T52522: VSE renders with alpha transparent PNG image incorrectlySergey Sharybin
Need some extra checks and should be probably end up in 2.79 since that's a regression.
2017-08-10Fix T52334: images with non-color data should not change color space on save.Brecht Van Lommel
2017-07-21Fix a few harmless maybe uninitialized warnings with GCC 5.4.Brecht Van Lommel
GCC seems to detect uninitialized into function calls now, but then isn't always smart enough to see that it is actually initialized. Disabling this warning entirely seems a bit too much, so initialize a bit more now.
2017-07-21Fix T46560: 2D paint smear and soften brushes not working with alpha.Brecht Van Lommel
Interpolate rather than do alpha over mix, matching projection paint.
2017-07-10Fix T51898: missing sequence strip color space validation on load.Brecht Van Lommel
2017-06-19Cleanup: doxygen commentsCampbell Barton
Also remove duplicate & mismatching comments from grease-pencil header. Keep comments close to implementation to avoid getting out of sync.
2017-06-14Make whole ID copying code use const source pointer.Bastien Montagne
Noisy change, but safe, and better do it sooner than later if we are to rework copying code. Also, previous commit shows this *is* useful to catch some mistakes.
2017-06-02Cleanup: styleCampbell Barton
2017-05-30ImBuf: Fix strict compiler warning in Cineon image IOSergey Sharybin
2017-05-27Remove MinGW supportAaron Carlisle
The Issue ======= For a long time now MinGW has been unsupported and unmaintained and at this point, it looks like something that we should just leave behind and move on. Why Remove ========== One of the big motivations for MinGW back in the day is that it was free compared to MSVC which was licensed based. However, now that this is no longer true we have basically stopped updating the need CMake files. Along with the CMake files, there are several patches to the extern libs needed to make this work. For example, see: https://developer.blender.org/diffusion/B/browse/master/extern/carve/patches/mingw_w64.patch If we wanted to keep MinGW then we would need to make more custom patches to the external libs and this is not something our platform maintainers are willing to do. For example, here is the patches needed to build python: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python3 Fixes T51301 Differential Revision: https://developer.blender.org/D2648
2017-05-26Fix T51609: Bake Texture, Margin crashing BlenderSergey Sharybin
Integer overflow in margin filter code.