xp_comm_proj/cine/imgcache.c
/* routine: CacheCapture
 * purpose: Turn on/off frame capture
 */
CacheCapture
purpose: Turn on/off frame capture
CacheCapture purpose : Turn on / off frame capture
int CacheCapture(OMobj_id obj_id, OMevent_mask event_mask, int seq_num)
{
  CacheInfo *cache;
  int capture;
  if( (cache = GetCacheInfo( obj_id )) == NULL )
    return( 0 );
  capture = 0;
  OMget_name_int_val( obj_id, OMstr_to_name("capture"), &capture );
  SetCacheCapture( capture, cache );
  return( 1 );
}
int CacheCapture ( OMobj_id obj_id , OMevent_mask event_mask , int seq_num ) { CacheInfo * cache ; int capture ; if ( ( cache = GetCacheInfo ( obj_id ) ) == NULL ) return ( 0 ) ; capture = 0 ; OMget_name_int_val ( obj_id , OMstr_to_name ( " " ) , & capture ) ; SetCacheCapture ( capture , cache ) ; return ( 1 ) ; }
routine: CacheCapture
 purpose: Turn on/off frame capture
routine : CacheCapture purpose : Turn on / off frame capture
/* Get pointer to control structure
   */ /* Get new value of capture input
   */