Skip to content

Transcoding: Invert display/view without enforced scene_linear intermediate - #2057

Open
BigRoy wants to merge 3 commits into
developfrom
enhancement/transcoding_inverse_displayview_colorspace_one_go
Open

BigRoy wants to merge 3 commits into
developfrom
enhancement/transcoding_inverse_displayview_colorspace_one_go

Conversation

@BigRoy

@BigRoy BigRoy commented Sep 15, 2026

Copy link
Copy Markdown
Member

Changelog Description

Inverse display/view to colorspace without requiring scene_linear intermediate transform but do transformation in one go - avoiding subtle hue shifts

Additional info

This is a partial fix to https://github.com/ynput/ayon-slater/issues/30 fixing subtle color shifts on the display/view inverse. However, the effects of this should be minimal. Although, this conversion without the two-step should technically be faster too.

Testing notes:

  1. Transcoding from a display/view to a target colorspace should come out correctly.
  2. Other transcodes from a source display/view to another display/view should also still work as intended.

(I believe only DCC that currently may come with a source display/view is Nuke integration)

…ntermediate transform but do transformation in one go - avoiding subtle hue shifts
@BigRoy
BigRoy requested review from jakubjezek001 and a lite review from Copilot September 15, 2026 07:33
@BigRoy BigRoy self-assigned this Sep 15, 2026
@BigRoy BigRoy added the type: enhancement Improvement of existing functionality or minor addition label Sep 15, 2026
@ynbot ynbot added the size/XS label Sep 15, 2026

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.

🟡 Changes recommended

Add focused regression tests for the new command path and inverse conversion arguments.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Updates transcoding to invert display/view conversions directly into target colorspaces, avoiding the scene_linear intermediate.

Changes:

  • Uses a single inverse ociodisplay operation for colorspace targets.
  • Preserves display/view-to-display/view conversion behavior.
File summaries
File Description
client/ayon_core/lib/transcoding.py Implements direct display/view-to-colorspace inversion.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread client/ayon_core/lib/transcoding.py
@ynbot ynbot moved this to Review In Progress in PR reviewing Sep 15, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS type: enhancement Improvement of existing functionality or minor addition

Projects

Status: Review In Progress

Development

Successfully merging this pull request may close these issues.

4 participants