Go to the documentation of this file.
10 #ifndef HAS_LIVES_RESAMPLE_H
11 #define HAS_LIVES_RESAMPLE_H
13 #define RESIZE_ALL_NEEDS_CONVERT 0
14 #define LETTERBOX_NEEDS_COMPOSITE 1
15 #define LETTERBOX_NEEDS_CONVERT 1
18 typedef struct __resaudw {
48 off_t
quant_abytes(
double seek,
int arate,
int achans,
int asampsize);
50 #define SKJUMP_THRESH_RATIO 1.025
51 #define SKJUMP_THRESH_SECS 0.25
73 int fps_denom,
int arate,
int asigned,
boolean swap_endian);
ticks_t q_gint64(ticks_t in, double fps)
boolean auto_resample_resize(int width, int height, double fps, int fps_num, int fps_denom, int arate, int asigned, boolean swap_endian)
void on_change_speed_ok_clicked(LiVESButton *, livespointer)
LiVESWidget * rb_unsigned
ticks_t q_gint64_floor(ticks_t in, double fps)
LiVESWidget * entry_arate
LiVESWidget * entry_asamps
LiVESWidget * fps_spinbutton
weed_plant_t * quantise_events(weed_plant_t *in_list, double new_fps, boolean allow_gap) WARN_UNUSED
quantise frame events for a single clip
LiVESWidget * rb_littleend
size_t quant_asamps(double seek, int arate)
convert seek time to an integer number of samples
LiVESWidget * aud_checkbutton
void on_change_speed_activate(LiVESMenuItem *, livespointer)
off_t quant_abytes(double seek, int arate, int achans, int asampsize)
int reorder_frames(int rwidth, int rheight)
double quant_aseek(double seek, int arate)
convert seek time (secs) to an (almost) integer number of samples
LiVESWidget * second_spinbutton
LiVESWidget * entry_achans
LiVESWidget * hour_spinbutton
boolean resample_clipboard(double new_fps)
call this to resample clipboard video
ticks_t q_dbl(double in, double fps)
int count_resampled_frames(int in_frames, double orig_fps, double resampled_fps)
LiVESWidget * unlim_radiobutton
_resaudw * create_resaudw(short type, render_details *, LiVESWidget *top_vbox)
resample audio window
void reorder_leave_back_set(boolean val)
int deorder_frames(int old_framecount, boolean leave_bak)
leave_bak is a special mode for the clipboard
LiVESWidget * minute_spinbutton