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-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
2017-12-04Cleanup: wrap long function args in seqeffectsCampbell Barton
2017-12-04Cleanup: styleCampbell Barton
2017-11-29Sequencer: add many more color blend modes, and a new color mix strip.Maikon Araujo
Differential Revision: https://developer.blender.org/D2872
2017-10-06Sequencer: Cleanup, use more BLI utilities where possibleSergey Sharybin
2017-10-06Sequencer: Use BLI math functions where possibleSergey Sharybin
2017-10-06Sequencer: Avoid re-calculation index offset multiple timesSergey Sharybin
2017-10-06Sequencer: Use funciton instead of macr oto avoid argument re-evaluationSergey Sharybin
2017-10-06Fix T52940: VSE Glow Effect Strip on transparent images has no blurSergey Sharybin
2017-06-12Cleanup: indentation, long linesCampbell Barton
2016-12-07Fix (unreported) Sequencer Drop effect: wrong initial offset in second input ↵Bastien Montagne
buffer. Reading rest of the code, it's obvious we want to start à YOFF lines from start of rect2i, so we have to also multiply by number of components. Also did some minor cleanup.
2016-12-07Fix T49893: Crash in Video Sequence Editor with 'drop' effect.Bastien Montagne
Code was not accounting for possibilities that width or height of given buffers may be smaller than XOFF/YOFF... Note that I seriously doubt that drop code actually works (as in, gives expected results) when applied to tiles like it seems to be done currently, but this is much more complex (and involved) topic.
2016-07-14Consolidate multiple checks for out->rect_float in prepare_effect_imbufs()Chad Fraleigh
Many checks for out->rect_float being [non-]NULL are done back-to-back. Combining them into a single check for slightly more efficient code and less code clutter for easier readability/understanding. Differential Revision: https://developer.blender.org/D2097
2016-05-08Cleanup: warningsCampbell Barton
2016-04-27Sequencer: skip text-effect rendering w/ no alphaCampbell Barton
2016-04-27Sequencer text strip color optionsCampbell Barton
D1930 by @NiKoZLaB
2016-04-22BLF: use float vector passing color argsCampbell Barton
2016-03-29Fix T47961: Wipe effects should have 2 inputsCampbell Barton
2016-03-24Fix T47900: VSE adjustment crashes on blank frameCampbell Barton
Regression, should have been included in previous fix.
2016-02-08CLeanup: styleCampbell Barton
2016-02-01Sequencer: IF effect strip only affects on a single strip use source ↵Sergey Sharybin
metadata for the result This way it's possible to have some color-correction modifications on top of the render result and yet still have proper metadata stored. Usecase: Access per-frame render-time of the movie frames from the final export.
2016-01-21Sequencer: Speedup gaussian blur effectSergey Sharybin
Apply X and Y blur as separate step, this reduces number of accumulations required and makes effect more realtime. Another quick thing for the Nieve project.
2016-01-11Fix T47154: Sequencer add/subtract ignored alphaCampbell Barton
2015-09-19Fix T46155: Sequencer Text Effect: wrong vertical 'TOP' alignment.Bastien Montagne
Logic was broken for this vertical alignment option - we need to remove one line height here...
2015-09-18Sequencer: word-wrap support for sequencer textCampbell Barton
Also add vertical alignment option, default align to bottom for subtitles.
2015-09-18BLF: initial word-wrap supportCampbell Barton
- Adds support for word wrapping to Blender's BLF font library. - Splits lines when width limit is reached or on explicit \n newlines. Details: - Word wrapping is used when `BLF_WORD_WRAP` flag is enabled. - There is a single loop to handle line wrapping, this runs callback, passing in a substring, this way we can avoid code-duplication for all word-wrapped versions of functions... OR... avoid having to add support for word-wrapping directly into each function. - The `ResultBLF` struct was added to be able to get the number of wrapped lines, when calling otherwise unrelated functions such as `BLF_draw/BLF_width/BLF_boundbox`, which can be passed as the last argument to `BLF_*_ex()` functions. - The `ResultBLF` struct is used to store the result of drawing (currently only the number of lines wrapped, and the width).
2015-09-13Fix T46089: Text from Effect Strip is invisible in VSE Preview.Bastien Montagne
Deviding two ints together never yields a float... Also, logic of various proxies size corrections was quite broken. Now we should always get the same (relative) size of text whatever proxy setting/render scale is chosen.
2015-09-09Formatting fix.Sybren A. Stüvel
Reviewed by: Severin
2015-09-09Fix: VSE text strip size was wrong when preview render size != 100%Sybren A. Stüvel
Reviewed by: sergei
2015-09-08Revert "Fix T45191 Speed strip behaviour not easy to predict."Campbell Barton
This reverts commit 0e83b0854fc66af16dd187759c031e530ecd4c05. Fixes T46038
2015-07-10Sequencer: changes to text effect stripCampbell Barton
- default alignment to lower center. - placement is now relative, so changing output size keeps correct placement. - instead of center override, add align option (left/right/center). Also don't use pixel-size for setting the font size, on new strips. Better not have UI prefs impact low level API's.
2015-07-02Text effect strip for sequencer.Antony Riakiotakis
Is pretty much what it says :) Easy subtitles for everyone! Supports size, positioning, a cheap shadow effect (probably will need more work), and autocentering on x axis. Now you can go wild with long spanish names in your soap opera videos. Will probably be refined as days go by, but at least it's now ready for testing.
2015-06-25Fix T45191 Speed strip behaviour not easy to predict.Antony Riakiotakis
Code here calculated speed based on underlying strip start position, which was not really visible, making prediction of the result really difficult. Things here are simple: As long as the strip exists, manipulate the current frame by the provided factor.
2015-04-02Cleanup own todo: RE_pipeline is not a bad include from BKE, it's already ↵Sergey Sharybin
used in few places
2015-02-11cleanup: style/indentationCampbell Barton
2014-09-24Cleanup: use float versions of functions when in/output are floatsCampbell Barton
2014-09-11Fix related to T41780, sequencer weirdness with alpha under effectAntony Riakiotakis
Fix alpha under equation according to porter-duff and user docs that state that effect should invert he order of channels and reduce to alpha over when factor is 1.0. BTW, we don't really expose any factor here...lost feature from 2.49?
2014-07-20Sequencer: Fix wrong blur result when one of the sizes is zeroSergey Sharybin
2014-07-20Early out from gaussian blur if both sizes are zeroSergey Sharybin
2014-07-19Sequencer: Add gaussian blur effectSergey Sharybin
Currently this gaussian blur implementation accumulates values in the square kernel rather that doing X direction and then Y direction because of the lack of using multiple-staged filters. Once we can we'll implement a way to apply filter as multiple stages we can optimize hell of a lot in here. Another thing we can do is to use SSE2 instructions here.
2014-06-14Replace sqrt with hypot for wipe-effect & transform codeCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-28Code cleanup: use sqrtf when input and output are floatCampbell Barton
2014-03-20Code cleanup: use true/false in sequencer functionsSergey Sharybin
2014-03-05Fix for negative gamma correction rounding to intCampbell Barton
2014-03-01Code cleanup: correct abs use and quiet warningsCampbell Barton
2014-03-01Fix for sequencer invalid rounding, double wipe at 0 angleCampbell Barton
2014-01-18Send sequencer render context as const pointer rather than as valueSergey Sharybin
No functional changes just creepy to send rather huge structure by value.
2013-12-03Cleanup: Internal degrees removal.Bastien Montagne
This patch changes most of the reamining degrees usage in internal code into radians. I let a few which I know off asside, for reasons explained below - and I'm not sure to have found out all of them. WARNING: this introduces forward incompatibility, which means files saved from this version won't open 100% correctly in previous versions (a few angle properties would use radians values as degrees...). Details: - Data: -- Lamp.spotsize: Game engine exposed this setting in degrees, to not break the API here I kept it as such (using getter/setter functions), still using radians internally. -- Mesh.smoothresh: Didn't touch to this one, as we will hopefully replace it completely by loop normals currently in dev. - Modifiers: -- EdgeSplitModifierData.split_angle, BevelModifierData.bevel_angle: Done. - Postprocessing: -- WipeVars.angle (sequencer's effect), NodeBokehImage.angle, NodeBoxMask.rotation, NodeEllipseMask.rotation: Done. - BGE: -- bConstraintActuator: Orientation type done (the minloc[0] & maxloc[0] cases). Did not touch to 'limit location' type, it can also limit rotation, but it exposes through RNA the same limit_min/limit_max, which hence can be either distance or angle values, depending on the mode. Will leave this to BGE team. -- bSoundActuator.cone_outer_angle_3d, bSoundActuator.cone_inner_angle_3d: Done (note I kept degrees in BGE itself, as it seems this is the expected value here...). -- bRadarSensor.angle: Done. Reviewers: brecht, campbellbarton, sergey, gaiaclary, dfelinto, moguri, jbakker, lukastoenne, howardt Reviewed By: brecht, campbellbarton, sergey, gaiaclary, moguri, jbakker, lukastoenne, howardt Thanks to all! Differential Revision: http://developer.blender.org/D59