Browse Source

use the clip algorithm for software tonemapping (#2032)

pull/2033/head
Jason Dove 1 week ago committed by GitHub
parent
commit
f80addacba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      CHANGELOG.md
  2. 2
      ErsatzTV.FFmpeg/Filter/TonemapFilter.cs

2
CHANGELOG.md

@ -25,7 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -25,7 +25,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Add basic HDR transcoding support
- VAAPI may use hardware-accelerated tone mapping (when opencl accel is also available)
- NVIDIA may use hardware-accelerated tone mapping (when vulkan accel and libplacebo filter are also available)
- In all other cases, HDR content will use a software pipeline
- In all other cases, HDR content will use a software pipeline and the clip algorithm
### Changed
- Start to make UI minimally responsive (functional on smaller screens)

2
ErsatzTV.FFmpeg/Filter/TonemapFilter.cs

@ -20,7 +20,7 @@ public class TonemapFilter : BaseFilter @@ -20,7 +20,7 @@ public class TonemapFilter : BaseFilter
string pixelFormat = _currentState.PixelFormat.Match(pf => pf.FFmpegName, () => string.Empty);
var tonemap =
$"zscale=transfer=linear,tonemap=hable,zscale=transfer=bt709,format={_desiredPixelFormat.FFmpegName}";
$"zscale=transfer=linear,tonemap=clip,zscale=transfer=bt709,format={_desiredPixelFormat.FFmpegName}";
if (_currentState.FrameDataLocation == FrameDataLocation.Hardware)
{

Loading…
Cancel
Save