D | v4lgrab.c | 40 #define READ_VIDEO_PIXEL(buf, format, depth, r, g, b) \ argument 50 (r) = (g) = (b) = (*buf++ << 8);\ 54 (r) = (g) = (b) = \ 67 (b) = (tmp<<11)&0xF800; \ 75 (b) = ((buf[1] << 2 ) & 0xF8)<<8; \ 81 (b) = buf[2] << 8; \ 108 int bpp = 24, r, g, b; in main() local 193 READ_VIDEO_PIXEL(src, vpic.palette, src_depth, r, g, b); in main() 196 fputc(b>>8, stdout); in main()
|