summaryrefslogtreecommitdiffstats
path: root/libhb/hbffmpeg.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-03-15 15:27:01 -0600
committerJohn Stebbins <[email protected]>2019-04-08 07:44:09 -0600
commit3712b297c3487780d31151362b85c49ca27ff8ad (patch)
tree71f449d83c224bc2ff5cad824560c2730759540e /libhb/hbffmpeg.h
parent248c880fc86ee07d23d62135e002940f16364eb6 (diff)
libhb: propagate color matrix info through the pipeline
Propagates pix_fmt, range, primaries, transfer, and matrix everywhere. Everything that passes or creates video frames tags the frames with their color matrix info. All filters know the expected color matrix info of input frames.
Diffstat (limited to 'libhb/hbffmpeg.h')
-rw-r--r--libhb/hbffmpeg.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libhb/hbffmpeg.h b/libhb/hbffmpeg.h
index 648089c37..119347153 100644
--- a/libhb/hbffmpeg.h
+++ b/libhb/hbffmpeg.h
@@ -33,7 +33,13 @@ const char* const* hb_av_preset_get_names(int encoder);
uint64_t hb_ff_mixdown_xlat(int hb_mixdown, int *downmix_mode);
void hb_ff_set_sample_fmt(AVCodecContext *, AVCodec *, enum AVSampleFormat);
-int hb_ff_get_colorspace(int color_matrix);
+int hb_sws_get_colorspace(int color_matrix);
+int hb_colr_pri_hb_to_ff(int colr_prim);
+int hb_colr_tra_hb_to_ff(int colr_tra);
+int hb_colr_mat_hb_to_ff(int colr_mat);
+int hb_colr_pri_ff_to_hb(int colr_prim);
+int hb_colr_tra_ff_to_hb(int colr_tra);
+int hb_colr_mat_ff_to_hb(int colr_mat);
struct SwsContext*
hb_sws_get_context(int srcW, int srcH, enum AVPixelFormat srcFormat,