Skip to content

multithread interpolation render#62

Open
balparda wants to merge 4 commits into
mainfrom
multi-process-render
Open

multithread interpolation render#62
balparda wants to merge 4 commits into
mainfrom
multi-process-render

Conversation

@balparda

Copy link
Copy Markdown
Owner

No description provided.

@balparda balparda requested a review from BellaKeri as a code owner June 21, 2026 15:30
Copilot AI review requested due to automatic review settings June 21, 2026 15:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces parallelism for generating interpolated animation frames during zoom renders, aiming to speed up animation encoding by computing in-between frames concurrently.

Changes:

  • Add a job/result worker model to interpolate frames in parallel inside InterpolatedFrameStream.
  • Thread through a new max_threads parameter from the CLI into the interpolation stream.
  • Update VS Code spellchecker dictionary for a newly introduced identifier (chunksize).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
src/tranzoom/core/zoom.py Adds parallel interpolation via an executor-based worker pipeline and extends InterpolatedFrameStream with max_threads.
src/tranzoom/cli/base.py Passes config.max_threads into the interpolation stream used for animation rendering.
.vscode/settings.json Adds chunksize to workspace spellchecker words.

Comment thread src/tranzoom/core/zoom.py
Comment thread src/tranzoom/core/zoom.py Outdated
Comment thread src/tranzoom/core/zoom.py Outdated
Comment thread src/tranzoom/core/zoom.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants