LiVES 1.4.9
Functions

src/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, gdouble fps)
LIVES_INLINE weed_timecode_t q_gint64_floor (weed_timecode_t in, gdouble fps)
LIVES_INLINE weed_timecode_t q_dbl (gdouble in, gdouble fps)
LIVES_INLINE gint count_resampled_frames (gint in_frames, gdouble orig_fps, gdouble resampled_fps)
gboolean auto_resample_resize (gint width, gint height, gdouble fps, gint fps_num, gint fps_denom, gint arate, gint asigned, gboolean swap_endian)
WARN_UNUSED weed_plant_t * quantise_events (weed_plant_t *in_list, gdouble qfps, gboolean allow_gap)
 quantise frame events for a single clip
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)
_resaudwcreate_resaudw (gshort type, render_details *rdet, GtkWidget *top_vbox)
void create_new_pb_speed (gshort type)
 window change speed from Tools menu
void on_change_speed_activate (GtkMenuItem *menuitem, gpointer user_data)
void on_change_speed_ok_clicked (GtkButton *button, gpointer user_data)
gint reorder_frames (int rwidth, int rheight)
gint deorder_frames (gint old_frames, gboolean leave_bak)
 leave_bak is a special mode for the clipboard
gboolean resample_clipboard (gdouble new_fps)
 call this to resample clipboard video

Function Documentation

gboolean auto_resample_resize ( gint  width,
gint  height,
gdouble  fps,
gint  fps_num,
gint  fps_denom,
gint  arate,
gint  asigned,
gboolean  swap_endian 
)
LIVES_INLINE gint count_resampled_frames ( gint  in_frames,
gdouble  orig_fps,
gdouble  resampled_fps 
)
void create_new_pb_speed ( gshort  type)

window change speed from Tools menu

_resaudw* create_resaudw ( gshort  type,
render_details rdet,
GtkWidget *  top_vbox 
)

resample audio window

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

gint deorder_frames ( gint  old_frames,
gboolean  leave_bak 
)

leave_bak is a special mode for the clipboard

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 ( gdouble  in,
gdouble  fps 
)
LIVES_INLINE weed_timecode_t q_gint64 ( weed_timecode_t  in,
gdouble  fps 
)
LIVES_INLINE weed_timecode_t q_gint64_floor ( weed_timecode_t  in,
gdouble  fps 
)
WARN_UNUSED weed_plant_t* quantise_events ( weed_plant_t *  in_list,
gdouble  qfps,
gboolean  allow_gap 
)

quantise frame events for a single clip

gint reorder_frames ( int  rwidth,
int  rheight 
)
gboolean resample_clipboard ( gdouble  new_fps)

call this to resample clipboard video

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines