diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-08-31 16:28:04 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-11-05 18:57:36 +0100 |
commit | 1174afcccc47101beed57068f4933c481e967efc (patch) | |
tree | 616622855079dedc23be65f0d82f67bc58445c47 /video/csputils.h | |
parent | 07efb63931bb3522d298d2387ffbd17253ce20b3 (diff) | |
download | mpv-1174afcccc47101beed57068f4933c481e967efc.tar.bz2 mpv-1174afcccc47101beed57068f4933c481e967efc.tar.xz |
csputils: add pl_hdr_metadata to mp_colorspace and deprecate sig_peak
Note this commit does not change all uses of sig-peak, this is for
future refactoring.
Diffstat (limited to 'video/csputils.h')
-rw-r--r-- | video/csputils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/csputils.h b/video/csputils.h index ab5d9792e0..5b2fe6d63e 100644 --- a/video/csputils.h +++ b/video/csputils.h @@ -147,7 +147,8 @@ struct mp_colorspace { enum mp_csp_prim primaries; enum mp_csp_trc gamma; enum mp_csp_light light; - float sig_peak; // highest relative value in signal. 0 = unknown/auto + float sig_peak; // highest relative value in signal. 0 = unknown/auto (deprecated) + struct pl_hdr_metadata hdr; }; // For many colorspace conversions, in particular those involving HDR, an |