• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/media/video/

Lines Matching refs:matrix

150  * This matrix defines how the colors are generated, must be
348 { 0x4f, 0x80 }, /* "matrix coefficient 1" */
349 { 0x50, 0x80 }, /* "matrix coefficient 2" */
351 { 0x52, 0x22 }, /* "matrix coefficient 4" */
352 { 0x53, 0x5e }, /* "matrix coefficient 5" */
353 { 0x54, 0x80 }, /* "matrix coefficient 6" */
364 { 0x4f, 0xb3 }, /* "matrix coefficient 1" */
365 { 0x50, 0xb3 }, /* "matrix coefficient 2" */
367 { 0x52, 0x3d }, /* "matrix coefficient 4" */
368 { 0x53, 0xa7 }, /* "matrix coefficient 5" */
369 { 0x54, 0xe4 }, /* "matrix coefficient 6" */
380 { 0x4f, 0xb3 }, /* "matrix coefficient 1" */
381 { 0x50, 0xb3 }, /* "matrix coefficient 2" */
383 { 0x52, 0x3d }, /* "matrix coefficient 4" */
384 { 0x53, 0xa7 }, /* "matrix coefficient 5" */
385 { 0x54, 0xe4 }, /* "matrix coefficient 6" */
491 * Store information about the video data format. The color matrix
493 * The magic matrix nubmers come from OmniVision.
829 int matrix[CMATRIX_LEN])
844 if (matrix[i] < 0) {
846 if (matrix[i] < -255)
849 raw = (-1 * matrix[i]) & 0xff;
852 if (matrix[i] > 255)
855 raw = matrix[i] & 0xff;
865 * Hue also requires messing with the color matrix. It also requires
913 int matrix[CMATRIX_LEN])
920 matrix[i] = (info->fmt->cmatrix[i]*info->sat) >> 7;
927 memcpy(tmpmatrix, matrix, CMATRIX_LEN*sizeof(int));
931 matrix[0] = (matrix[3]*sinth + matrix[0]*costh)/1000;
932 matrix[1] = (matrix[4]*sinth + matrix[1]*costh)/1000;
933 matrix[2] = (matrix[5]*sinth + matrix[2]*costh)/1000;
934 matrix[3] = (matrix[3]*costh - matrix[0]*sinth)/1000;
935 matrix[4] = (matrix[4]*costh - matrix[1]*sinth)/1000;
936 matrix[5] = (matrix[5]*costh - matrix[2]*sinth)/1000;
945 int matrix[CMATRIX_LEN];
949 ov7670_calc_cmatrix(info, matrix);
950 ret = ov7670_store_cmatrix(client, matrix);
965 int matrix[CMATRIX_LEN];
971 ov7670_calc_cmatrix(info, matrix);
972 ret = ov7670_store_cmatrix(client, matrix);