Fast image processing library #65720

Open
opened 2019-06-11 14:11:53 +02:00 by Richard Antalik · 4 comments

Performance of many image operations used in video sequencer and other modules can be improved.

This can be done by using intrinsics functions, prarallelization or using GPU for processing.

Challenges to overcome are mainly HW and SW platform diversity. By doing quick research, use of Vulkan seems to be best option here.

Performance of many image operations used in video sequencer and other modules can be improved. This can be done by using intrinsics functions, prarallelization or using GPU for processing. Challenges to overcome are mainly HW and SW platform diversity. By doing quick research, use of Vulkan seems to be best option here.
Author
Member

Added subscriber: @iss

Added subscriber: @iss
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

Hi @iss

What are the requirements of such a library. I would expect that headless rendering is one of those.
Did you have a look at Halide? https://halide-lang.org/
They promote them as a language, but actually is more a framework.

BTW I am totally not aware what the future target of the VSE is, but this seems to be a large undertaking when you want to select something that is also for other areas (like compositor etc)

Hi @iss What are the requirements of such a library. I would expect that headless rendering is one of those. Did you have a look at Halide? https://halide-lang.org/ They promote them as a language, but actually is more a framework. BTW I am totally not aware what the future target of the VSE is, but this seems to be a large undertaking when you want to select something that is also for other areas (like compositor etc)
Author
Member

@Jeroen-Bakker
Thanks for reminding me of halide - forgot about that one.

What are the requirements of such a library.

From VSE perspective it could be quite simple. Just basic image operations on raw data would be OK. Compositor nodes doesn't look that much different from what I would expect from such library. Question would be more about how to handle Blender specific controls, or splitting image to multiple components for example.
Advantage using existing universal library is, that it is already done, tested and maintained.

Using frameworks/CL we get more freedom to do case-specific optimizations, but we have to develop and maintain processing algorithms ourselves, but still we don't have to think too much about OS/HW.

I don't think it is really apropriate writing low level code such as CPU dispatchers in this case.

I am totally not aware what the future target of the VSE

Me too :)
My goal is to review current features, and make sure, that they work correctly and efficiently.

but this seems to be a large undertaking when you want to select something that is also for other areas (like compositor etc)

I am fully aware. That's why it's "long term project" :)
This task is rather idea placeholder, then design document. I don't expect to start working on this for next 2 releases at least.

@Jeroen-Bakker Thanks for reminding me of halide - forgot about that one. >What are the requirements of such a library. From VSE perspective it could be quite simple. Just basic image operations on raw data would be OK. Compositor nodes doesn't look that much different from what I would expect from such library. Question would be more about how to handle Blender specific controls, or splitting image to multiple components for example. Advantage using existing universal library is, that it is already done, tested and maintained. Using frameworks/CL we get more freedom to do case-specific optimizations, but we have to develop and maintain processing algorithms ourselves, but still we don't have to think too much about OS/HW. I don't think it is really apropriate writing low level code such as CPU dispatchers in this case. > I am totally not aware what the future target of the VSE Me too :) My goal is to review current features, and make sure, that they work correctly and efficiently. > but this seems to be a large undertaking when you want to select something that is also for other areas (like compositor etc) I am fully aware. That's why it's "long term project" :) This task is rather idea placeholder, then design document. I don't expect to start working on this for next 2 releases at least.
Richard Antalik added this to the Video Sequencer project 2023-02-09 20:57:27 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#65720
No description provided.