Home
last modified time | relevance | path

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

/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c792 int y_fac = full ? COEFF(1.0, 255) : COEFF(1.0, 219); in ycbcr_to_color() local
818 *b = y_fac * y + (full ? bt2020c_full[0] : bt2020c[0]) * cb; in ycbcr_to_color()
820 *b = y_fac * y + (full ? bt2020c_full[1] : bt2020c[1]) * cb; in ycbcr_to_color()
823 *r = y_fac * y + (full ? bt2020c_full[2] : bt2020c[2]) * cr; in ycbcr_to_color()
825 *r = y_fac * y + (full ? bt2020c_full[3] : bt2020c[3]) * cr; in ycbcr_to_color()