Home
last modified time | relevance | path

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

/linux/drivers/media/usb/gspca/
H A Dsn9c20x.c1298 u8 cmatrix[21]; in set_cmatrix() local
1300 memset(cmatrix, 0, sizeof(cmatrix)); in set_cmatrix()
1301 cmatrix[2] = (contrast * 0x25 / 0x100) + 0x26; in set_cmatrix()
1302 cmatrix[0] = 0x13 + (cmatrix[2] - 0x26) * 0x13 / 0x25; in set_cmatrix()
1303 cmatrix[4] = 0x07 + (cmatrix[2] - 0x26) * 0x07 / 0x25; in set_cmatrix()
1304 cmatrix[18] = brightness - 0x80; in set_cmatrix()
1307 cmatrix[6] = hue_coord; in set_cmatrix()
1308 cmatrix[7] = (hue_coord >> 8) & 0x0f; in set_cmatrix()
1311 cmatrix[8] = hue_coord; in set_cmatrix()
1312 cmatrix[9] = (hue_coord >> 8) & 0x0f; in set_cmatrix()
[all …]
/linux/drivers/media/i2c/
H A Dov7670.c664 int cmatrix[CMATRIX_LEN]; member
670 .cmatrix = { 128, -128, 0, -34, -94, 128 },
676 .cmatrix = { 179, -179, 0, -61, -176, 228 },
682 .cmatrix = { 179, -179, 0, -61, -176, 228 },
688 .cmatrix = { 0, 0, 0, 0, 0, 0 },
1370 matrix[i] = (info->fmt->cmatrix[i] * sat) >> 7; in ov7670_calc_cmatrix()