Searched refs:cmatrix (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/media/usb/gspca/ |
D | sn9c20x.c | 1292 u8 cmatrix[21]; in set_cmatrix() local 1294 memset(cmatrix, 0, sizeof(cmatrix)); in set_cmatrix() 1295 cmatrix[2] = (contrast * 0x25 / 0x100) + 0x26; in set_cmatrix() 1296 cmatrix[0] = 0x13 + (cmatrix[2] - 0x26) * 0x13 / 0x25; in set_cmatrix() 1297 cmatrix[4] = 0x07 + (cmatrix[2] - 0x26) * 0x07 / 0x25; in set_cmatrix() 1298 cmatrix[18] = brightness - 0x80; in set_cmatrix() 1301 cmatrix[6] = hue_coord; in set_cmatrix() 1302 cmatrix[7] = (hue_coord >> 8) & 0x0f; in set_cmatrix() 1305 cmatrix[8] = hue_coord; in set_cmatrix() 1306 cmatrix[9] = (hue_coord >> 8) & 0x0f; in set_cmatrix() [all …]
|
/Linux-v4.19/drivers/media/i2c/ |
D | ov7670.c | 667 int cmatrix[CMATRIX_LEN]; member 673 .cmatrix = { 128, -128, 0, -34, -94, 128 }, 679 .cmatrix = { 179, -179, 0, -61, -176, 228 }, 685 .cmatrix = { 179, -179, 0, -61, -176, 228 }, 691 .cmatrix = { 0, 0, 0, 0, 0, 0 }, 1329 matrix[i] = (info->fmt->cmatrix[i] * sat) >> 7; in ov7670_calc_cmatrix()
|