X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fcolorspace.h;h=459a5df60d0fdb6b02901fa48f69840a0db6835e;hb=4be1714b12b6c311a99a64888ea5f279c3ed9885;hp=936681815a899dc28debb4100c6aff333f78600e;hpb=0ff76ca86e0ea4dcf2b392c45f5fac8e5576bb0d;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);