Skip to content
Snippets Groups Projects

renderer: fixup component_mapping during plane merge

Merged Kacper Michajłow requested to merge kasper93/libplacebo:fix_merge_planes into master

It may happen that target format during merge has different sampling order than the source format, for example rg8 merged with r8 into bgrx8. In this case merge shadur will implicitly reorder components and since component_mapping is not connected to sample_order, it has to be updated to match the new reality. Note that we don't apply component_mapping during merge, it will be applied at the end of read_image pass.

Fixes: https://github.com/mpv-player/mpv/issues/16208

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading