DGPQtoHLG

From Avisynth wiki
Revision as of 22:06, 20 April 2020 by Reel.Deal (Talk | contribs)

Jump to: navigation, search
Abstract
Author Donald Graft
Version v1.0
Download DGPQtoHLG_1.0.rar
Category Adjustment Filters
License Closed source
Discussion Doom9 Forum

Contents

Description

DGPQtoHLG() converts HDR10 PQ to HDR10 HLG. The input and output color spaces are BT.2020 YUV420P16. This filter is intended for use case where full HDR10 HLG is required.

Requirements


Syntax and Parameters

DGPQtoHLG (clip, float "light", string "impl")


clip   =
Input clip; must be YUV420P16 colospace.


float  light = 1000.0
Mastering light level (or MaxCLL) of the input PQ stream. If metadata is not available set light as needed for acceptable output.


string  impl = "255"
  • impl="sw" - Software mode (slow).
  • impl="255" - Use CUDA, device is chosen automatically.
  • impl="0" - Use CUDA on device 0 (use desired device number).


Examples

Here is a typical AviSynth+ script:

DGSource("hdr_sample.dgi")
DGHDRtoSDR(light=1000.0)


Changelog

Version         Date            Changes
v1.0            2018/07/02      - Latest release


Archived Downloads

Version Download Mirror
v1.0 DGPQtoHLG_1.0.rar DGPQtoHLG_1.0.rar


External Links




Back to External Filters

Personal tools