projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add configure without-thirdparty, without-libzmpeg, without-commercial
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
transportque.h
diff --git
a/cinelerra-5.1/cinelerra/transportque.h
b/cinelerra-5.1/cinelerra/transportque.h
index 5093b0eace75c4c629601d297098b7a1a2e9b53e..1f5f9c63a700417df6e3fd213db7dd5feb6ba716 100644
(file)
--- a/
cinelerra-5.1/cinelerra/transportque.h
+++ b/
cinelerra-5.1/cinelerra/transportque.h
@@
-35,13
+35,18
@@
public:
~TransportCommand();
void reset();
~TransportCommand();
void reset();
+ static int single_frame(int command);
+ int single_frame();
// Get the direction based on the command
// Get the direction based on the command
+ static int get_direction(int command);
int get_direction();
int get_direction();
+ static float get_speed(int command);
float get_speed();
void copy_from(TransportCommand *command);
TransportCommand& operator=(TransportCommand &command);
// Get the range to play back from the EDL
float get_speed();
void copy_from(TransportCommand *command);
TransportCommand& operator=(TransportCommand &command);
// Get the range to play back from the EDL
- void set_playback_range(EDL *edl = 0, int use_inout = 0);
+ void set_playback_range(EDL *edl=0, int use_inout=0,
+ int toggle_audio=0, int loop_play=0, int use_displacement=0);
// Adjust playback range with in/out points for rendering
void playback_range_adjust_inout();
// Adjust playback range with in/out points for rendering
void playback_range_adjust_inout();
@@
-51,7
+56,6
@@
public:
void playback_range_project();
void playback_range_1frame();
void playback_range_project();
void playback_range_1frame();
- int single_frame();
EDL* get_edl();
void delete_edl();
void new_edl();
EDL* get_edl();
void delete_edl();
void new_edl();
@@
-65,11
+69,16
@@
public:
int infinite;
// Position used when starting playback
double playbackstart;
int infinite;
// Position used when starting playback
double playbackstart;
+// start position at this=0/next=1 frame
+ int displacement;
// Send output to device
int realtime;
// Use persistant starting point
int resume;
// Send output to device
int realtime;
// Use persistant starting point
int resume;
-
+// reverse audio duty
+ int audio_toggle;
+// playback loop
+ int play_loop;
private:
// Copied to render engines
EDL *edl;
private:
// Copied to render engines
EDL *edl;
@@
-83,12
+92,10
@@
public:
int send_command(int command,
// The change type is ORed to accumulate changes.
int send_command(int command,
// The change type is ORed to accumulate changes.
- int change_type,
- EDL *new_edl,
- int realtime,
+ int change_type, EDL *new_edl, int realtime,
// Persistent starting point
// Persistent starting point
- int resume = 0,
- int
use_inou
t = 0);
+ int resume = 0,
int use_inout = 0, int toggle_audio = 0,
+ int
loop_play = 0, int use_displacemen
t = 0);
void update_change_type(int change_type);
TransportCommand command;
void update_change_type(int change_type);
TransportCommand command;