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-08-08OpenJPEG: support building against both 1.5 and 2.3.Brecht Van Lommel
Patch porting to OpenJPEG 2.3 is by Campbell. Once all platforms are upgraded we can remove the code for 1.5, and upgrade or remove the openjpeg version from extern/. This intermediate step makes it possible for platform maintainers to upgrade to 2.3 without breaking other platforms.
2018-07-17Fix T56003: Opening image files as movies in VSE crashes.Bastien Montagne
metadata loading code was assuming all videos in Blender were from FFMPEG... added empty place-holders for other types too, we probably could load some metadata from pictures or AVI files too!
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-26Revert "Turned off clang warnings in third party includes."Stefan Werner
This reverts commit d53093953f8f3b58600cb19020ecbe0b5f254b52.
2018-06-26Turned off clang warnings in third party includes.Stefan Werner
The latest clang compiler (at least the one in Xcode 9.4.1) warns about the register keyword and macro expansions using defined(). Since these warnings come from third party code, we can't address them directly in Blender. Silencing them via #pramgas will at least keep the warnings during a build down to the ones that are relevant to Blender code.
2018-06-22CMake: Make language explicit for per-file strict flags removalSergey Sharybin
2018-06-17Cleanup: trailing space for imbuf moduleCampbell Barton
2018-06-17Cleanup: BLI path extension APICampbell Barton
Use BLI_path_extension_* prefix.
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
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