Searched refs:cmatrix (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/drivers/media/video/gspca/ |
D | sn9c20x.c | 1496 u8 cmatrix[21]; in set_cmatrix() local 1498 memset(cmatrix, 0, sizeof cmatrix); in set_cmatrix() 1499 cmatrix[2] = (sd->ctrls[CONTRAST].val * 0x25 / 0x100) + 0x26; in set_cmatrix() 1500 cmatrix[0] = 0x13 + (cmatrix[2] - 0x26) * 0x13 / 0x25; in set_cmatrix() 1501 cmatrix[4] = 0x07 + (cmatrix[2] - 0x26) * 0x07 / 0x25; in set_cmatrix() 1502 cmatrix[18] = sd->ctrls[BRIGHTNESS].val - 0x80; in set_cmatrix() 1506 cmatrix[6] = hue_coord; in set_cmatrix() 1507 cmatrix[7] = (hue_coord >> 8) & 0x0f; in set_cmatrix() 1510 cmatrix[8] = hue_coord; in set_cmatrix() 1511 cmatrix[9] = (hue_coord >> 8) & 0x0f; in set_cmatrix() [all …]
|
/linux-3.4.99/drivers/media/video/ |
D | ov7670.c | 596 int cmatrix[CMATRIX_LEN]; member 602 .cmatrix = { 128, -128, 0, -34, -94, 128 }, 608 .cmatrix = { 179, -179, 0, -61, -176, 228 }, 614 .cmatrix = { 179, -179, 0, -61, -176, 228 }, 620 .cmatrix = { 0, 0, 0, 0, 0, 0 }, 1052 matrix[i] = (info->fmt->cmatrix[i]*info->sat) >> 7; in ov7670_calc_cmatrix()
|