LiVES  2.4.1-svn
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
saveplay.c File Reference
#include "../libweed/weed.h"
#include "../libweed/weed-host.h"
#include "../libweed/weed-palettes.h"
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "main.h"
#include "callbacks.h"
#include "support.h"
#include "resample.h"
#include "effects.h"
#include "audio.h"
#include "htmsocket.h"
#include "cvirtual.h"
#include "interface.h"

Macros

#define LIVES_LONGER_TIMEOUT   (30 * U_SEC)
 
#define AUDIO_FRAMES_TO_READ   100
 
#define LIVES_MEDIUM_TIMEOUT   (10 * U_SEC)
 
#define SECOND_STOP_TIME   0.1
 
#define STOP_GIVE_UP_TIME   1.0
 
#define LIVES_RESTORE_TIMEOUT   (30 * U_SEC)
 
#define LIVES_RESTORE_TIMEOUT   (30 * U_SEC)
 

Functions

boolean save_clip_values (int which)
 
boolean read_file_details (const char *file_name, boolean is_audio)
 
const char * get_deinterlace_string (void)
 
ulong deduce_file (const char *file_name, double start, int end)
 
ulong open_file (const char *file_name)
 
ulong open_file_sel (const char *file_name, double start, int frames)
 
boolean get_handle_from_info_file (int index)
 
void save_frame (LiVESMenuItem *menuitem, livespointer user_data)
 
void save_file (int clip, int start, int end, const char *filename)
 
void play_file (void)
 
boolean get_temp_handle (int index, boolean create)
 
void create_cfile (void)
 
boolean get_new_handle (int index, const char *name)
 
boolean add_file_info (const char *check_handle, boolean aud_only)
 
boolean save_file_comments (int fileno)
 
void wait_for_stop (const char *stop_command)
 
boolean save_frame_inner (int clip, int frame, const char *file_name, int width, int height, boolean from_osc)
 
void backup_file (int clip, int start, int end, const char *file_name)
 
boolean write_headers (lives_clip_t *file)
 
boolean read_headers (const char *file_name)
 
void open_set_file (const char *set_name, int clipnum)
 
ulong restore_file (const char *file_name)
 
int save_event_frames (void)
 
boolean open_scrap_file (void)
 
boolean open_ascrap_file (void)
 
boolean load_from_scrap_file (weed_plant_t *layer, int frame)
 
int save_to_scrap_file (weed_plant_t *layer)
 
void close_scrap_file (void)
 
void close_ascrap_file (void)
 
void recover_layout_map (int numclips)
 
boolean reload_clip (int fileno)
 
void add_to_recovery_file (const char *handle)
 
void rewrite_recovery_file (void)
 
boolean check_for_recovery_files (boolean auto_recover)
 

Macro Definition Documentation

#define AUDIO_FRAMES_TO_READ   100
#define LIVES_LONGER_TIMEOUT   (30 * U_SEC)
#define LIVES_MEDIUM_TIMEOUT   (10 * U_SEC)
#define LIVES_RESTORE_TIMEOUT   (30 * U_SEC)
#define LIVES_RESTORE_TIMEOUT   (30 * U_SEC)
#define SECOND_STOP_TIME   0.1
#define STOP_GIVE_UP_TIME   1.0

Function Documentation

boolean add_file_info ( const char *  check_handle,
boolean  aud_only 
)
void add_to_recovery_file ( const char *  handle)
void backup_file ( int  clip,
int  start,
int  end,
const char *  file_name 
)
boolean check_for_recovery_files ( boolean  auto_recover)
void close_ascrap_file ( void  )
void close_scrap_file ( void  )
void create_cfile ( void  )
ulong deduce_file ( const char *  file_name,
double  start,
int  end 
)
const char* get_deinterlace_string ( void  )
boolean get_handle_from_info_file ( int  index)
boolean get_new_handle ( int  index,
const char *  name 
)
boolean get_temp_handle ( int  index,
boolean  create 
)
boolean load_from_scrap_file ( weed_plant_t *  layer,
int  frame 
)
boolean open_ascrap_file ( void  )
ulong open_file ( const char *  file_name)
ulong open_file_sel ( const char *  file_name,
double  start,
int  frames 
)
boolean open_scrap_file ( void  )
void open_set_file ( const char *  set_name,
int  clipnum 
)
void play_file ( void  )
boolean read_file_details ( const char *  file_name,
boolean  is_audio 
)
boolean read_headers ( const char *  file_name)
void recover_layout_map ( int  numclips)
boolean reload_clip ( int  fileno)
ulong restore_file ( const char *  file_name)
void rewrite_recovery_file ( void  )
boolean save_clip_values ( int  which)
int save_event_frames ( void  )
void save_file ( int  clip,
int  start,
int  end,
const char *  filename 
)
boolean save_file_comments ( int  fileno)
void save_frame ( LiVESMenuItem *  menuitem,
livespointer  user_data 
)
boolean save_frame_inner ( int  clip,
int  frame,
const char *  file_name,
int  width,
int  height,
boolean  from_osc 
)
int save_to_scrap_file ( weed_plant_t *  layer)
void wait_for_stop ( const char *  stop_command)
boolean write_headers ( lives_clip_t file)