Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/usb/
Dvicam.c791 inline void writepixel(char *rgb, int Y, int Cr, int Cb) in writepixel() argument
796 rgb[1] = pin( ( ( Y - ( 392 * Cb ) - ( 813 * Cr ) ) + 500 ) / 1000 ); in writepixel()
797 rgb[0] = pin( ( ( Y + ( 2017 * Cb ) ) + 500 ) / 900 ); in writepixel()
811 int Cr, Cb; in vicam_decode_color() local
841Cb = sign * ((src[prevY] - src[prevX + prevY]) + (src[prevY] - src[nextX + prevY]) + (src[nextY] -… in vicam_decode_color()
847 Cb); in vicam_decode_color()
874 Cb = sign * ((src[0] - src[prevX]) + (src[0] - src[nextX])) >> 1; in vicam_decode_color()
878 src[0] - (sign * (Cb >> 1)), in vicam_decode_color()
880 Cb); in vicam_decode_color()