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
2020-12-15Cleanup: reduce indirect DNA header inclusionCampbell Barton
Remove DNA headers, using forward declarations where possible. Also removed duplicate header, header including it's self and unnecessary inclusion of libc system headers from BKE header.
2020-12-11Cleanup: sort cmake file listsCampbell Barton
2020-12-10Cleanup: rename BLI_strescape to BLI_str_escapeCampbell Barton
Prepare for `BLI_str_unescape` which doesn't read well without the separator.
2020-11-20Cleanup: spellingCampbell Barton
2020-11-19Cleanup: refactor sequencer_edit.c fileRichard Antalik
Move RNA enums and utility functions closer to operator definition. No functional changes.
2020-11-19VSE: Move split operator logic to module codeRichard Antalik
Code was rewritten to work on per-sequence basis returning reference to created strip. There should be no functional changes. Selection logic is left as is for now. I could simplify it, but it belongs to operator, not split logic. Reviewed By: sergey Differential Revision: developer.blender.org/D9592
2020-11-17Merge branch 'blender-v2.91-release'Richard Antalik
2020-11-17VSE: Fix prefetch initialization sequenceRichard Antalik
In 8d1978a8e013 bmain entry is updated when prefetching is started, but this must be done before seq_prefetch_update_context(). Otherwise created cache keys will be incorrect. This happens immediately after prefetch is started. When it's refreshed problem goes away. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9581
2020-11-17Merge branch 'blender-v2.91-release'Richard Antalik
Conflicts: source/blender/editors/render/render_opengl.c source/blender/sequencer/intern/effects.c
2020-11-17Fix incorrect text size with downscaled previewRichard Antalik
Use either scene render size or fixed preview scale factor. Previously scene render size was used as baseline value for text size correction. This is incorrect. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9563
2020-11-16Cleanup: spellingCampbell Barton
2020-11-16Cleanup: split sequencer.c fileRichard Antalik
Move most functions into separate files. File sequencer.c is reserved for alloc, free and duplicating functions. There should be no functional changes.
2020-11-12Cleanup: spellingCampbell Barton
2020-11-11Cleanup: use bool for imbuf save callbacksCampbell Barton
2020-11-09Cleanup: Sequencer, remove unused functionSybren A. Stüvel
Remove `static int clear_scene_in_allseqs_fn(...)`. It was a utility function for `BKE_sequencer_clear_scene_in_allseqs()`, which was removed in c063813c30e55ddc8f42ef7632d9dfa109dfddff. No functional changes.
2020-11-06Cleanup: remove unused functionsRichard Antalik
2020-11-06Cleanup: Render Module: move header files to main directoryAaron Carlisle
Move headers files from `render/extern/` to `render/` Part of T73586
2020-11-06Add background rectangle option to video sequencer Text stripPaul Melis
This adds a Box option to the Text strip's style properties, plus related Box Margin value: {F9208309} When enabled the text is placed on top of a solid-filled rectangle of a chosen color, as shown below: {F9208324} When the box option is disabled the text strip works the same as it does now. When the box option is enabled the meaning of the Shadow option changes to provide a drop-shadow on the rectangle (and not on the text itself). The latter made more sense to me. The box margin is specified as a fraction of the image width. The offset of the drop-down box shadow is fixed to a specific fraction of the image width as well. I tested this feature on a movie of a couple of minutes containing dozens of text strips (all with box background), edge cases like multi-line strings and text overlapping the image edges. Reviewed By: ISS Differential Revision: https://developer.blender.org/D9468
2020-11-06Sequencer: Make naming consistent in header and implementation filesSergey Sharybin
2020-11-06VSE: Don't store proxy images in cacheRichard Antalik
Proxies are expected to be fast to read. Storing them in cache has little to no effect on performance. This change also allows to omit invalidation of cache when user switch between proxies and original media. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9473
2020-11-06Cleanup: rename time related variablesRichard Antalik
Variables renaned: - cfra -> timeline_frame - nr -> frame index - cfra_over -> overlap_frame Function seq_give_stripelem_index was renamed to seq_give_frame_index.
2020-11-06CMake: Fix wrong library used for dependencySergey Sharybin
Was causing compilation failure on fresh builds.
2020-11-06Refactor: move sequencer modifier .blend I/O to sequencer moduleJacques Lucke
Ref T76372.
2020-11-06Cleanup: Clang-Tidy warningsSergey Sharybin
2020-11-06Cleanup: follow our code style for float literalsCampbell Barton
2020-11-06Cleanup: sort structs, filesCampbell Barton
2020-11-05VSE: cache performance optimizationRichard Antalik
Map frame for cached raw images to strip input media frame range. This means that static images or extended frame range of movies will only generate one cache entry. timeline_frame is stored in cache key as a reference - on what frame was this entry created, so we don't have to reverse lookup frame range. Since each media frame corresponds to one cache frame with same frame index key, there is no need to invalidate raw cache when changing time remapping properties like use_reverse_frames or strobe No changes are needed for disk cache, since invalidating raw entry assumes all data will be invalidated. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9462
2020-11-05Rename extern rendering and proxy functionsRichard Antalik
Replace BKE_sequencer wirh SEQ_render or SEQ_proxy prefixes. In cases where function is very generic, only SEQ prefix is used. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9439
2020-11-05Cleanup: split sequencer.c fileRichard Antalik
Move functions closely related to rendering images and proxies into render.c and proxy.c files. render.h and proxy.h are created for functions used internally. There should be no functional changes.
2020-11-04Cleanup: unused argumentCampbell Barton
2020-11-03VSE: Media transform redesignRichard Antalik
This patch changes behavior of strip transform and crop feature. Purpose of this change is to allow display arbitrary portion of input image, simplify user interface and workflow. Offset and Crop values in old files are converted in versioning. Offset animation is also converted. Crop animation and animation of crop or offset enable properties is not taken into account Changes in behavior and interface: - If image is added to timeline it is scaled to fit inside preview area while maintaining aspect ratio. Image is centered. This is considered as a baseline for further transformation. - Scale and rotation was added, so it is possible to transform image at it's original resolution. - Crop will not affect image transformation (does not move image). - Values of Crop and Transform Position are in pixels, these values are corrected if preview is fraction of project resolution. - Transform and Mirror panel has been removed and new Transform panel and Crop panel is moved to Adjust panel. Mirror is now part of new Transform panel. Technical changes: - Preprocessing stage must work on duplicated image, because original is cached. Previously Crop and Offset could run at once and required only one duplication of image. This is not the case with new algorithms, so duplication on demand is implemented. Transformation can read original image and will output new image that is safe to modify. It should be possible to add crop step to transform algorithm, so that Crop won't require previous duplication though. - Use Crop and Use Translation checkboxes were removed. Individual values are compared to default values to check if image needs to be processed. In case of transform this will be done also if resolution of source. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8393
2020-11-02Revert "VSE: Media transform redesign"Richard Antalik
This reverts commit 0277579b2850f0ba097741ca22eb8ae9ccd9bcea. This commit caused build errors on Linux.
2020-11-02VSE: Media transform redesignRichard Antalik
This patch changes behavior of strip transform and crop feature. Purpose of this change is to allow display arbitrary portion of input image, simplify user interface and workflow. Offset and Crop values in old files are converted in versioning. Offset animation is also converted. Crop animation and animation of crop or offset enable properties is not taken into account Changes in behavior and interface: - If image is added to timeline it is scaled to fit inside preview area while maintaining aspect ratio. Image is centered. This is considered as a baseline for further transformation. - Scale and rotation was added, so it is possible to transform image at it's original resolution. - Crop will not affect image transformation (does not move image). - Values of Crop and Transform Position are in pixels, these values are corrected if preview is fraction of project resolution. - Transform and Mirror panel has been removed and new Transform panel and Crop panel is moved to Adjust panel. Mirror is now part of new Transform panel. Technical changes: - Preprocessing stage must work on duplicated image, because original is cached. Previously Crop and Offset could run at once and required only one duplication of image. This is not the case with new algorithms, so duplication on demand is implemented. Transformation can read original image and will output new image that is safe to modify. It should be possible to add crop step to transform algorithm, so that Crop won't require previous duplication though. - Use Crop and Use Translation checkboxes were removed. Individual values are compared to default values to check if image needs to be processed. In case of transform this will be done also if resolution of source. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8393
2020-11-01Rename BKE_sequencer.hRichard Antalik
Reviewed By: sergey Differential Revision: https://developer.blender.org/D9349
2020-10-26Split BKE_sequencer.h intern/extern definitionsRichard Antalik
Intern definitions are moved to sequencer/intern/sequencer.h BKE_sequencer.h was also cleaned up a bit to make sure that functions and structs are in correct category. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9259
2020-10-26Fix Recursion when rendering scene stripRichard Antalik
Recursion happens in case when scene strip point to it's own scene indirectly by using SEQ_SCENE_STRIPS option. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9264
2020-10-26Fix T81250: Crash after undoing with prefetchingRichard Antalik
Main DB and it's structs can point to different address after undoing. In this case problem was that bmain was not updated. Same fix was done for scene as well. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9240
2020-10-19Spelling: Loose Versus LoseHarley Acheson
Corrects incorrect usages of the word 'loose' when 'lose' was required. Differential Revision: https://developer.blender.org/D9243 Reviewed by Campbell Barton
2020-10-19Spelling: MiscellaneousHarley Acheson
Corrects 34 miscellaneous misspelled words. Differential Revision: https://developer.blender.org/D9248 Reviewed by Campbell Barton
2020-10-19Spelling: It's Versus ItsHarley Acheson
Corrects incorrect usage of contraction for 'it is', when possessive 'its' was required. Differential Revision: https://developer.blender.org/D9250 Reviewed by Campbell Barton
2020-10-17Fix T81594: Unable to reassign effect inputsRichard Antalik
This was caused by canceling operator if strip has more than 0 inputs. Logic should be reversed - cancel only if strip has 0 inputs. BKE_sequencer_render_loop_check() arguments had to be sanitized because seq_effect_find_selected() can set seq1,2,3 to NULL Reviewed By: sergey Differential Revision: https://developer.blender.org/D9197
2020-10-08Cleanup: Remove `BKE_mask_copy_nolib()` and `BKE_mask_free()`.Bastien Montagne
Generic ID management code can now do those local temp copy handling, so no need for duplicated own code for that. No behavioral changes expected here.
2020-10-06VSE: Fix audio stripsDalai Felinto
When sequencer was moved from kernel, the DEFINES based on audaspace were not moved along. That means users had no way of creating new audio strips since BKE_sequencer_add_sound_strip was ifdef'out
2020-10-05Move sequencer sources from blenkernelRichard Antalik
This is first step of refactoring task T77580. Next step will be breaking up files into smaller ones. Reviewed By: sergey, brecht Differential Revision: https://developer.blender.org/D8492