Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L libplacebo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 41
    • Issues 41
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLANVideoLAN
  • libplacebo
  • Merge requests
  • !461

Draft: shaders/colorspace: add contrast recovery option

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Niklas Haas requested to merge haasn/libplacebo:detail_recovery into master May 15, 2023
  • Overview 3
  • Commits 1
  • Pipelines 6
  • Changes 7

Very simple algorithm that just naively mixes in some of the pre-tone mapped high frequency I channel into the tone-mapped output. Using a kernel size of 8x8 gives fairly good results here.

This commit also bundles a logic change in pl_renderer to decide whether or not to enable peak detection - as a result of contrast recovery, we want to do our own peak detection even if we already have metadata. The only case this substantially alters is the question of whether or not static HDR10+ scene metadata is better than dynamic DV PQ metadata, and the addition of CR info arguably tips that balance.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: detail_recovery

VideoLAN code repository instance