Searched refs:COEFF (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/media/common/v4l2-tpg/ ! |
D | v4l2-tpg-core.c | 629 #define COEFF(v, r) ((int)(0.5 + (v) * (r) * 256.0)) in color_to_ycbcr() macro 632 { COEFF(0.299, 219), COEFF(0.587, 219), COEFF(0.114, 219) }, in color_to_ycbcr() 633 { COEFF(-0.1687, 224), COEFF(-0.3313, 224), COEFF(0.5, 224) }, in color_to_ycbcr() 634 { COEFF(0.5, 224), COEFF(-0.4187, 224), COEFF(-0.0813, 224) }, in color_to_ycbcr() 637 { COEFF(0.299, 255), COEFF(0.587, 255), COEFF(0.114, 255) }, in color_to_ycbcr() 638 { COEFF(-0.1687, 255), COEFF(-0.3313, 255), COEFF(0.5, 255) }, in color_to_ycbcr() 639 { COEFF(0.5, 255), COEFF(-0.4187, 255), COEFF(-0.0813, 255) }, in color_to_ycbcr() 642 { COEFF(0.2126, 219), COEFF(0.7152, 219), COEFF(0.0722, 219) }, in color_to_ycbcr() 643 { COEFF(-0.1146, 224), COEFF(-0.3854, 224), COEFF(0.5, 224) }, in color_to_ycbcr() 644 { COEFF(0.5, 224), COEFF(-0.4542, 224), COEFF(-0.0458, 224) }, in color_to_ycbcr() [all …]
|
/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv50/ ! |
D | base907c.c | 181 NVVAL(NV907C, SET_CSC_RED2RED, COEFF, asyw->csc.matrix[0]), in base907c_csc_set()
|