diff options
author | Damiano Galassi <[email protected]> | 2017-11-06 08:52:50 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2017-11-06 08:52:50 +0100 |
commit | 5eb3abb1d962e0dddb05638497f43f6e7ef02e18 (patch) | |
tree | 92439bc4c81d5312628dffa1d2e8ed1b9248bc0b | |
parent | 9f9afecc7be3b5ac4770df54b7677e19f208cb41 (diff) |
libhb: add HLG to our list of known transfer characteristics.
-rw-r--r-- | libhb/common.h | 1 | ||||
-rw-r--r-- | libhb/decavcodec.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h index d25bcbdb3..20517fc1b 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -563,6 +563,7 @@ struct hb_job_s #define HB_COLR_TRA_BT2020_10 14 #define HB_COLR_TRA_BT2020_12 15 #define HB_COLR_TRA_SMPTEST2084 16 +#define HB_COLR_TRA_ARIB_STD_B67 18 //known as "Hybrid log-gamma" // 0, 3-6, 8-15, 17-65535: reserved/not implemented #define HB_COLR_MAT_BT709 1 #define HB_COLR_MAT_UNDEF 2 diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index 74d07d21b..460410731 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -1836,6 +1836,8 @@ static int get_color_transfer(int color_trc) return HB_COLR_TRA_SMPTE240M; case AVCOL_TRC_SMPTEST2084: return HB_COLR_TRA_SMPTEST2084; + case AVCOL_TRC_ARIB_STD_B67: + return HB_COLR_TRA_ARIB_STD_B67; case AVCOL_TRC_BT2020_10: return HB_COLR_TRA_BT2020_10; case AVCOL_TRC_BT2020_12: |