Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c682 int lin_y, yc; in color_to_ycbcr() local
702 lin_y = (COEFF(0.2627, 255) * rec709_to_linear(r) + in color_to_ycbcr()
705 yc = linear_to_rec709(lin_y); in color_to_ycbcr()
797 int lin_r, lin_g, lin_b, lin_y; in ycbcr_to_color() local
833 lin_y = rec709_to_linear((y * 255) / (full ? 255 : 219)); in ycbcr_to_color()
835 lin_g = COEFF(1.0 / 0.6780, 255) * lin_y - in ycbcr_to_color()