~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina4/src/tv/tv_init.c

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**@(#)
  2 **/
  3 /**
  4 tv_init.c:
  5 Initialisation and re-initialsiation of tv to new view
  6 **/
  7 
  8 #include <stdio.h>
  9 #include <tina/sys.h>
 10 #include <tina/math.h>
 11 #include <tina/mathfuncs.h>
 12 #include <tina/tv.h>
 13 #include <tina/tvfuncs.h>
 14 
 15 void    tv_set_init(Tv * tv, void (*init) ( /* ??? */ ))
 16 {
 17     tv->init = init;
 18 }
 19 
 20 void    tv_init(Tv * tv)
 21 {
 22     Vec2    tv_backproj2();
 23 
 24     (*tv->init) (tv);
 25     tv_free_background(tv);
 26     tv->ul = tv_backproj2(tv, ipos(0, 0));
 27     tv->lr = tv_backproj2(tv, ipos(tv->width, tv->height));
 28     tv_repaint(tv);
 29 }
 30 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.