LiVES  2.4.1-svn
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
main.c File Reference
#include "../libweed/weed.h"
#include "../libweed/weed-palettes.h"
#include "../libweed/weed-effects.h"
#include "../libweed/weed-utils.h"
#include "../libweed/weed-host.h"
#include "main.h"
#include "interface.h"
#include "support.h"
#include "callbacks.h"
#include "effects.h"
#include "rte_window.h"
#include "resample.h"
#include "audio.h"
#include "paramwindow.h"
#include "stream.h"
#include "startup.h"
#include "cvirtual.h"
#include "ce_thumbs.h"
#include <getopt.h>

Macros

#define NEED_DEF_WIDGET_OPTS
 
#define NEED_ENDIAN_TEST
 
#define BFC_LIMIT   1000
 

Functions

void break_me (void)
 
void * gtk_thread_wrapper (void *data)
 
void defer_sigint (int signum)
 
void catch_sigint (int signum)
 
void get_monitors (void)
 
void do_start_messages (void)
 
void set_palette_colours (void)
 
capabilityget_capabilities (void)
 
void print_notice ()
 
void print_opthelp (void)
 
void set_signal_handlers (SignalHandlerPointer sigfunc)
 
int real_main (int argc, char *argv[], pthread_t *gtk_thread, ulong id)
 
boolean startup_message_fatal (const char *msg)
 
boolean startup_message_nonfatal (const char *msg)
 
boolean startup_message_info (const char *msg)
 
boolean startup_message_nonfatal_dismissable (const char *msg, int warning_mask)
 
void set_main_title (const char *file, int untitled)
 
void sensitize (void)
 
void desensitize (void)
 
void procw_desensitize (void)
 
void set_ce_frame_from_pixbuf (LiVESImage *image, LiVESPixbuf *pixbuf, lives_painter_t *cairo)
 
void load_start_image (int frame)
 
void load_end_image (int frame)
 
int main (int argc, char *argv[])
 
void load_preview_image (boolean update_always)
 
boolean pull_frame_at_size (weed_plant_t *layer, const char *image_ext, weed_timecode_t tc, int width, int height, int target_palette)
 
boolean pull_frame (weed_plant_t *layer, const char *image_ext, weed_timecode_t tc)
 
void check_layer_ready (weed_plant_t *layer)
 
void pull_frame_threaded (weed_plant_t *layer, const char *img_ext, weed_timecode_t tc)
 
LiVESPixbuf * pull_lives_pixbuf_at_size (int clip, int frame, const char *image_ext, weed_timecode_t tc, int width, int height, LiVESInterpType interp)
 
LIVES_INLINE LiVESPixbuf * pull_lives_pixbuf (int clip, int frame, const char *image_ext, weed_timecode_t tc)
 
void init_track_decoders (void)
 
void free_track_decoders (void)
 
void load_frame_image (int frame)
 
LiVESError * lives_pixbuf_save (LiVESPixbuf *pixbuf, char *fname, lives_image_type_t imgtype, int quality, boolean do_chmod, LiVESError **gerrorptr)
 
void close_current_file (int file_to_switch_to)
 close current file, and try to switch to file_to_switch_to More...
 
void switch_to_file (int old_file, int new_file)
 
void switch_audio_clip (int new_file, boolean activate)
 
void do_quick_switch (int new_file)
 
void resize (double scale)
 

Variables

capabilitycapable
 some shared structures More...
 
_palettepalette
 
ssize_t sizint
 type sizes More...
 
ssize_t sizdbl
 
ssize_t sizshrt
 
mainwindowmainw
 
LiVESTargetEntry target_table []
 

Macro Definition Documentation

#define BFC_LIMIT   1000
#define NEED_DEF_WIDGET_OPTS
#define NEED_ENDIAN_TEST

Function Documentation

void break_me ( void  )
void catch_sigint ( int  signum)
void check_layer_ready ( weed_plant_t *  layer)
void close_current_file ( int  file_to_switch_to)

close current file, and try to switch to file_to_switch_to

void defer_sigint ( int  signum)
void desensitize ( void  )
void do_quick_switch ( int  new_file)
void do_start_messages ( void  )
void free_track_decoders ( void  )
capability* get_capabilities ( void  )
void get_monitors ( void  )
void* gtk_thread_wrapper ( void *  data)
void init_track_decoders ( void  )
LiVESError* lives_pixbuf_save ( LiVESPixbuf *  pixbuf,
char *  fname,
lives_image_type_t  imgtype,
int  quality,
boolean  do_chmod,
LiVESError **  gerrorptr 
)

Save a pixbuf to a file using the specified imgtype and the specified quality/compression value

void load_end_image ( int  frame)
void load_frame_image ( int  frame)
void load_preview_image ( boolean  update_always)
void load_start_image ( int  frame)
int main ( int  argc,
char *  argv[] 
)
void print_notice ( )
void print_opthelp ( void  )
void procw_desensitize ( void  )
boolean pull_frame ( weed_plant_t *  layer,
const char *  image_ext,
weed_timecode_t  tc 
)
boolean pull_frame_at_size ( weed_plant_t *  layer,
const char *  image_ext,
weed_timecode_t  tc,
int  width,
int  height,
int  target_palette 
)
void pull_frame_threaded ( weed_plant_t *  layer,
const char *  img_ext,
weed_timecode_t  tc 
)
LIVES_INLINE LiVESPixbuf* pull_lives_pixbuf ( int  clip,
int  frame,
const char *  image_ext,
weed_timecode_t  tc 
)
LiVESPixbuf* pull_lives_pixbuf_at_size ( int  clip,
int  frame,
const char *  image_ext,
weed_timecode_t  tc,
int  width,
int  height,
LiVESInterpType  interp 
)
int real_main ( int  argc,
char *  argv[],
pthread_t *  gtk_thread,
ulong  id 
)
void resize ( double  scale)
void sensitize ( void  )
void set_ce_frame_from_pixbuf ( LiVESImage *  image,
LiVESPixbuf *  pixbuf,
lives_painter_t *  cairo 
)
void set_main_title ( const char *  file,
int  untitled 
)
void set_palette_colours ( void  )
void set_signal_handlers ( SignalHandlerPointer  sigfunc)
boolean startup_message_fatal ( const char *  msg)
boolean startup_message_info ( const char *  msg)
boolean startup_message_nonfatal ( const char *  msg)
boolean startup_message_nonfatal_dismissable ( const char *  msg,
int  warning_mask 
)
void switch_audio_clip ( int  new_file,
boolean  activate 
)
void switch_to_file ( int  old_file,
int  new_file 
)

Variable Documentation

capability* capable

some shared structures

mainwindow* mainw
_palette* palette
ssize_t sizdbl
ssize_t sizint

type sizes

ssize_t sizshrt
LiVESTargetEntry target_table[]
Initial value:
= {
{ "STRING", GTK_TARGET_OTHER_APP, 0 },
{ "text/uri-list", GTK_TARGET_OTHER_APP, 0 },
}