Searched refs:COEFF (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/media/common/v4l2-tpg/ |
D | v4l2-tpg-core.c | 575 #define COEFF(v, r) ((int)(0.5 + (v) * (r) * 256.0)) in color_to_ycbcr() macro 578 { COEFF(0.299, 219), COEFF(0.587, 219), COEFF(0.114, 219) }, in color_to_ycbcr() 579 { COEFF(-0.1687, 224), COEFF(-0.3313, 224), COEFF(0.5, 224) }, in color_to_ycbcr() 580 { COEFF(0.5, 224), COEFF(-0.4187, 224), COEFF(-0.0813, 224) }, in color_to_ycbcr() 583 { COEFF(0.299, 255), COEFF(0.587, 255), COEFF(0.114, 255) }, in color_to_ycbcr() 584 { COEFF(-0.1687, 255), COEFF(-0.3313, 255), COEFF(0.5, 255) }, in color_to_ycbcr() 585 { COEFF(0.5, 255), COEFF(-0.4187, 255), COEFF(-0.0813, 255) }, in color_to_ycbcr() 588 { COEFF(0.2126, 219), COEFF(0.7152, 219), COEFF(0.0722, 219) }, in color_to_ycbcr() 589 { COEFF(-0.1146, 224), COEFF(-0.3854, 224), COEFF(0.5, 224) }, in color_to_ycbcr() 590 { COEFF(0.5, 224), COEFF(-0.4542, 224), COEFF(-0.0458, 224) }, in color_to_ycbcr() [all …]
|