LiVES  2.0.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
resample.c File Reference
#include "../libweed/weed.h"
#include "../libweed/weed-host.h"
#include "main.h"
#include "resample.h"
#include "support.h"
#include "callbacks.h"
#include "effects.h"
#include "audio.h"
#include "cvirtual.h"

Functions

LIVES_INLINE weed_timecode_t q_gint64 (weed_timecode_t in, double fps)
LIVES_INLINE weed_timecode_t q_gint64_floor (weed_timecode_t in, double fps)
LIVES_INLINE weed_timecode_t q_dbl (double in, double fps)
LIVES_INLINE int count_resampled_frames (int in_frames, double orig_fps, double resampled_fps)
boolean auto_resample_resize (int width, int height, double fps, int fps_num, int fps_denom, int arate, int asigned, boolean swap_endian)
WARN_UNUSED weed_plant_t * quantise_events (weed_plant_t *in_list, double qfps, boolean allow_gap)
void on_resample_audio_activate (GtkMenuItem *menuitem, gpointer user_data)
void on_resaudio_ok_clicked (GtkButton *button, GtkEntry *entry)
void on_resaudw_asamps_changed (GtkWidget *irrelevant, gpointer rubbish)
void on_resample_video_activate (GtkMenuItem *menuitem, gpointer user_data)
void on_resample_vid_ok (GtkButton *button, GtkEntry *entry)
_resaudw * create_resaudw (gshort type, render_details *rdet, GtkWidget *top_vbox)
void create_new_pb_speed (short type)
void on_change_speed_activate (GtkMenuItem *menuitem, gpointer user_data)
void on_change_speed_ok_clicked (GtkButton *button, gpointer user_data)
int reorder_frames (int rwidth, int rheight)
int deorder_frames (int old_frames, boolean leave_bak)
boolean resample_clipboard (double new_fps)

Function Documentation

boolean auto_resample_resize ( int  width,
int  height,
double  fps,
int  fps_num,
int  fps_denom,
int  arate,
int  asigned,
boolean  swap_endian 
)
LIVES_INLINE int count_resampled_frames ( int  in_frames,
double  orig_fps,
double  resampled_fps 
)
void create_new_pb_speed ( short  type)
_resaudw* create_resaudw ( gshort  type,
render_details *  rdet,
GtkWidget *  top_vbox 
)

resample audio window

type 1 : show current and new, type 2 : show new

int deorder_frames ( int  old_frames,
boolean  leave_bak 
)
void on_change_speed_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)
void on_change_speed_ok_clicked ( GtkButton *  button,
gpointer  user_data 
)
void on_resample_audio_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)
void on_resample_vid_ok ( GtkButton *  button,
GtkEntry *  entry 
)
void on_resample_video_activate ( GtkMenuItem *  menuitem,
gpointer  user_data 
)
void on_resaudio_ok_clicked ( GtkButton *  button,
GtkEntry *  entry 
)
void on_resaudw_asamps_changed ( GtkWidget *  irrelevant,
gpointer  rubbish 
)
LIVES_INLINE weed_timecode_t q_dbl ( double  in,
double  fps 
)
LIVES_INLINE weed_timecode_t q_gint64 ( weed_timecode_t  in,
double  fps 
)
LIVES_INLINE weed_timecode_t q_gint64_floor ( weed_timecode_t  in,
double  fps 
)
WARN_UNUSED weed_plant_t* quantise_events ( weed_plant_t *  in_list,
double  qfps,
boolean  allow_gap 
)
int reorder_frames ( int  rwidth,
int  rheight 
)
boolean resample_clipboard ( double  new_fps)