Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

/home/slang/XVision2/src/Devices/Videre.icc

00001 template <class T>
00002 void vid_correct_color(XVImageRGB<T> &dest, u_char *source)
00003 {
00004   u_char *i_ter=source;
00005   XVImageWIterator<T>      o_iter(dest);
00006 
00007     for(;!o_iter.end();++o_iter)
00008     {
00009       (*o_iter).setR(*i_ter++);
00010       (*o_iter).setG(*i_ter++);
00011       (*o_iter).setB(*i_ter++);
00012       i_ter++;
00013     }
00014 
00015 }

Generated at Thu Mar 29 22:37:28 2001 for XVision by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000