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