VSE: Scopes improvements #116798

Merged
Aras Pranckevicius merged 13 commits from aras_p/blender:vse-scopes into main 2024-01-05 22:03:13 +01:00

13 Commits

Author SHA1 Message Date
Aras Pranckevicius 294c66ccad VSE: code review 2024-01-05 21:25:35 +02:00
Aras Pranckevicius fba624ed84 Merge branch 'main' into vse-scopes 2024-01-05 20:41:43 +02:00
Aras Pranckevicius 7e162aff29 Merge branch 'main' into vse-scopes
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2024-01-05 10:58:02 +02:00
Aras Pranckevicius 9226321a99 VSE: add text labels to histogram and wavefrom scope grids 2024-01-04 23:22:52 +02:00
Aras Pranckevicius 05927be070 VSE: fix new histogram code not being multi-threaded
New code uses C++ threading::parallel_reduce, but that requires WITH_TBB
to be set on cmake side.
2024-01-04 22:17:29 +02:00
Aras Pranckevicius d52353c550 VSE: tweak vectorscope perf and look
Non-inlined call to rgb_to_yuv was costing a lot of perf, do the
calculations inline with a note.

Also tweak the look to scale U,V non-uniformly, similar to previous
scope behavior. Uses the horizontal texture resolution better.
2024-01-04 22:05:08 +02:00
Aras Pranckevicius 099033fc57 VSE: overexposed/zebra overlay consistency between byte and float images
Byte is showing inverted (white-color) overlay, whereas float was
showing overlay as black stripes. Goes back to 16 years ago when VSE
code was added. Looks like an accident, made both show inverted colors.
2024-01-04 20:57:47 +02:00
Aras Pranckevicius 8bb10cb500 VSE: reduce scopes code duplication, more const 2024-01-04 20:52:53 +02:00
Aras Pranckevicius 6767dc2b39 VSE: improve Vectorscope
- RGB -> YUV conversion uses BT709 (just like image vectorscope),
  instead of "something similar but not quite".
- It now has square aspect ratio.
- Shows skin tone line, just like image vectorscope.
- Shows full saturation and "safe" saturation range as filled area,
  drawing that on the GPU instead of poking in the full saturation
  ring on the CPU into the texture.
2024-01-04 19:12:26 +02:00
Aras Pranckevicius a581d73da7 VSE: tweak the look of Waveform display (draw grid as actual lines, tweak gamma, etc) 2024-01-04 13:52:09 +02:00
Aras Pranckevicius 981f5e926f VSE: draw histogram scope as geometry instead of low-res image 2024-01-04 13:50:57 +02:00
Aras Pranckevicius 048a280085 VSE: refactor, move Scopes into runtime data, and make SpaceSeq runtime data a pointer 2024-01-03 12:08:54 +02:00
Aras Pranckevicius c4a4eb4112 VSE: factor out sequencer_scopes.hh header 2024-01-03 11:34:59 +02:00