diff options
author | John Stebbins <[email protected]> | 2019-03-15 17:35:12 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-04-08 07:44:09 -0600 |
commit | 219b2540dc3ae2bb80f634b7df25f228f3a679ed (patch) | |
tree | bd06a7b6945343399c08c35f1539538eb1c2f5e1 /libhb/common.h | |
parent | be581837296bc947df6ffe83dbabde137e92e039 (diff) |
libhb: change preset key to VideoColorMatrixCodeOverride
Reserve VideoColorMatrixCode for doing color conversion.
VideoColorMatrixCodeOverride sets color flags without transforming video
frame colors.
Diffstat (limited to 'libhb/common.h')
-rw-r--r-- | libhb/common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h index bdbf5c539..92a991e91 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -565,6 +565,10 @@ struct hb_job_s int color_transfer; int color_matrix; int color_range; + + int color_prim_override; + int color_transfer_override; + int color_matrix_override; // see https://developer.apple.com/library/content/technotes/tn2162/_index.html // https://developer.apple.com/library/content/documentation/QuickTime/QTFF/QTFFChap3/qtff3.html#//apple_ref/doc/uid/TP40000939-CH205-125526 // libav pixfmt.h @@ -1432,6 +1436,10 @@ const char * hb_x264_encopt_name( const char * name ); const char * hb_x265_encopt_name( const char * name ); #endif +int hb_output_color_prim(hb_job_t * job); +int hb_output_color_transfer(hb_job_t * job); +int hb_output_color_matrix(hb_job_t * job); + #define HB_NEG_FLOAT_REG "(([-])?(([0-9]+([.,][0-9]+)?)|([.,][0-9]+))" #define HB_FLOAT_REG "(([0-9]+([.,][0-9]+)?)|([.,][0-9]+))" #define HB_NEG_INT_REG "(([-]?[0-9]+)" |