X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fcolorspace.h;h=459a5df60d0fdb6b02901fa48f69840a0db6835e;hb=cfe220332a8ff821c5f4eb535b634502b5427ae3;hp=936681815a899dc28debb4100c6aff333f78600e;hpb=41cd5af3250ef976f0a48adeb6dbccc9b2683e58;p=ffmpeg diff --git a/libavfilter/colorspace.h b/libavfilter/colorspace.h index 936681815a8..459a5df60d0 100644 --- a/libavfilter/colorspace.h +++ b/libavfilter/colorspace.h @@ -44,6 +44,10 @@ void ff_fill_rgb2xyz_table(const struct PrimaryCoefficients *coeffs, const struct WhitepointCoefficients *wp, double rgb2xyz[3][3]); +const struct LumaCoefficients *ff_get_luma_coefficients(enum AVColorSpace csp); +void ff_fill_rgb2yuv_table(const struct LumaCoefficients *coeffs, + double rgb2yuv[3][3]); + double ff_determine_signal_peak(AVFrame *in); void ff_update_hdr_metadata(AVFrame *in, double peak);