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

Linux Cross Reference
Tina4/src/tools/sequence/seq_stack.c

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

  1 /*
  2   seq_stack.c
  3 
  4   Temporal tool interaction with imcalc stack
  5 
  6   author: a.lacey
  7   date: 12-2-93; version 1.0
  8         4.12.95  version 2.0
  9 */
 10 
 11 
 12 #include <stdio.h>
 13 #include <tina/sys.h>
 14 #include <tina/sysfuncs.h>
 15 #include <tina/math.h>
 16 #include <tina/mathfuncs.h>
 17 #include <tina/vision.h>
 18 #include <tina/visionfuncs.h>
 19 #include <tina/tv.h>
 20 #include <tina/image.h>
 21 #include <tina/seqdefs.h>
 22 #include <tina/seqoral.h>
 23 #include <tina/seqpro.h>
 24 
 25 
 26 
 27 void push_data(Imrect *im)
 28 {
 29   Imrect *imy;
 30 
 31   imy = im_copy(im);
 32   stack_push(imy, IMRECT, im_free);
 33   imcalc_draw(imcalc_tv_get());
 34   imcalc_draw(imcal2_tv_get());
 35   image_choice_reset();
 36   return;
 37 }
 38 
 39 
 40 Imrect *pop_data(Imrect *im, int type)
 41 {
 42         
 43   if ((stack_check_types(IMRECT, NULL)) == false)
 44     {
 45       error("wrong type on stack ", warning);
 46       return (NULL);
 47     }
 48         
 49   im = (Imrect *)stack_pop(&type);
 50   imcalc_draw(imcalc_tv_get());
 51   imcalc_draw(imcal2_tv_get());
 52 
 53         
 54   return (im);
 55 }
 56 

~ [ 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.