Lines Matching refs:vpic
384 const int hue_corr = (uvd->vpic.hue - 0x8000) >> 10; /* -32..+31 */
395 color_corr = (uvd->vpic.colour - 0x8000) >> 8; /* -128..+127 = -ccm..+(ccm-1)*/
664 color_corr = (uvd->vpic.colour) >> 8; /* 0..+255 */
818 const int hue_corr = (uvd->vpic.hue - 0x8000) >> 10; /* -32..+31 */
825 color_corr = (uvd->vpic.colour - 0x8000) >> 8; /* -128..+127 = -ccm..+(ccm-1)*/
1359 unsigned char a_contrast = uvd->vpic.contrast >> 12;
1537 __func__, uvd->vpic.brightness);
1543 bv[0] = bv[1] = bv[2] = uvd->vpic.brightness >> 10;
1555 i = uvd->vpic.brightness >> 12; /* 0 .. 15 */
1567 0x0C + (uvd->vpic.brightness / (0xFFFF / (0x3F - 0x0C + 1)));
1583 unsigned short i = 0x04 + (uvd->vpic.brightness / (0xFFFF / (0xb4 - 0x04 + 1)));
1601 unsigned short hue = uvd->vpic.hue >> 9; /* 0 .. 7F */
1632 hue = 20 + (uvd->vpic.hue >> 9);
2116 ibmcam_model2_Packet1(uvd, mod2_hue, uvd->vpic.hue >> 9); /* 0 .. 7F */;
3582 memset(&uvd->vpic, 0, sizeof(uvd->vpic));
3585 uvd->vpic.colour = init_color << 8;
3586 uvd->vpic.hue = init_hue << 8;
3587 uvd->vpic.brightness = init_brightness << 8;
3588 uvd->vpic.contrast = init_contrast << 8;
3589 uvd->vpic.whiteness = 105 << 8; /* This one isn't used */
3590 uvd->vpic.depth = 24;
3591 uvd->vpic.palette = VIDEO_PALETTE_RGB24;