Home
last modified time | relevance | path

Searched refs:y_fac (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c796 int y_fac = full ? COEFF(1.0, 255) : COEFF(1.0, 219); in ycbcr_to_color() local
822 *b = y_fac * y + (full ? bt2020c_full[0] : bt2020c[0]) * cb; in ycbcr_to_color()
824 *b = y_fac * y + (full ? bt2020c_full[1] : bt2020c[1]) * cb; in ycbcr_to_color()
827 *r = y_fac * y + (full ? bt2020c_full[2] : bt2020c[2]) * cr; in ycbcr_to_color()
829 *r = y_fac * y + (full ? bt2020c_full[3] : bt2020c[3]) * cr; in ycbcr_to_color()