LiVES  2.0.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
main.c File Reference
#include <glib.h>
#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 <getopt.h>
#include <sys/stat.h>

Macros

#define NEED_DEF_WIDGET_OPTS
#define BFC_LIMIT   1000

Functions

void defer_sigint (int signum)
void catch_sigint (int signum)
void get_monitors (void)
void do_start_messages (void)
void set_palette_colours (void)
capability * get_capabilities (void)
void print_notice ()
void print_opthelp (void)
void set_signal_handlers (SignalHandlerPointer sigfunc)
int main (int argc, char *argv[])
boolean startup_message_fatal (const gchar *msg)
boolean startup_message_nonfatal (const gchar *msg)
boolean startup_message_info (const gchar *msg)
boolean startup_message_nonfatal_dismissable (const gchar *msg, gint warning_mask)
void set_main_title (const gchar *file, gint untitled)
void sensitize (void)
void desensitize (void)
void procw_desensitize (void)
void set_ce_frame_from_pixbuf (GtkImage *image, GdkPixbuf *pixbuf, lives_painter_t *cairo)
void load_start_image (gint frame)
void load_end_image (gint frame)
void load_preview_image (boolean update_always)
boolean pull_frame_at_size (weed_plant_t *layer, const gchar *image_ext, weed_timecode_t tc, int width, int height, int target_palette)
boolean pull_frame (weed_plant_t *layer, const gchar *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)
LIVES_INLINE LiVESPixbuf * pull_lives_pixbuf (int clip, int frame, const char *image_ext, weed_timecode_t tc)
void load_frame_image (gint frame)
GError * lives_pixbuf_save (GdkPixbuf *pixbuf, gchar *fname, lives_image_type_t imgtype, int quality, boolean do_chmod, GError **gerrorptr)
void close_current_file (gint file_to_switch_to)
 close current file, and try to switch to file_to_switch_to
void switch_to_file (gint old_file, gint new_file)
void switch_audio_clip (gint new_file, boolean activate)
void do_quick_switch (gint new_file)
void resize (gdouble scale)

Variables

capability * capable
 some shared structures
_palette * palette
size_t sizint
 type sizes
size_t sizdbl
size_t sizshrt
mainwindow * mainw
GtkTargetEntry target_table []

Macro Definition Documentation

#define BFC_LIMIT   1000
#define NEED_DEF_WIDGET_OPTS

Function Documentation

void catch_sigint ( int  signum)
void close_current_file ( gint  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 ( gint  new_file)
void do_start_messages ( void  )
capability* get_capabilities ( void  )
void get_monitors ( void  )
GError* lives_pixbuf_save ( GdkPixbuf *  pixbuf,
gchar *  fname,
lives_image_type_t  imgtype,
int  quality,
boolean  do_chmod,
GError **  gerrorptr 
)

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

void load_end_image ( gint  frame)
void load_frame_image ( gint  frame)
void load_preview_image ( boolean  update_always)
void load_start_image ( gint  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 gchar *  image_ext,
weed_timecode_t  tc 
)
boolean pull_frame_at_size ( weed_plant_t *  layer,
const gchar *  image_ext,
weed_timecode_t  tc,
int  width,
int  height,
int  target_palette 
)
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 
)
void resize ( gdouble  scale)
void sensitize ( void  )
void set_ce_frame_from_pixbuf ( GtkImage *  image,
GdkPixbuf *  pixbuf,
lives_painter_t *  cairo 
)
void set_main_title ( const gchar *  file,
gint  untitled 
)
void set_palette_colours ( void  )
void set_signal_handlers ( SignalHandlerPointer  sigfunc)
boolean startup_message_fatal ( const gchar *  msg)
boolean startup_message_info ( const gchar *  msg)
boolean startup_message_nonfatal ( const gchar *  msg)
boolean startup_message_nonfatal_dismissable ( const gchar *  msg,
gint  warning_mask 
)
void switch_audio_clip ( gint  new_file,
boolean  activate 
)
void switch_to_file ( gint  old_file,
gint  new_file 
)

Variable Documentation

capability* capable

some shared structures

mainwindow* mainw
_palette* palette
size_t sizdbl
size_t sizint

type sizes

size_t sizshrt
GtkTargetEntry target_table[]
Initial value:
{
{ "STRING", GTK_TARGET_OTHER_APP, 0 },
{ "text/uri-list", GTK_TARGET_OTHER_APP, 0 },
}