#include <motion.h>
Public Types | |
| enum | { TRACK, STABILIZE, TRACK_PIXEL, STABILIZE_PIXEL, NOTHING, RECALCULATE, SAVE, LOAD, NO_CALCULATE, TRACK_SINGLE, TRACK_PREVIOUS, PREVIOUS_SAME_BLOCK } |
Public Member Functions | |
| MotionConfig () | |
| int | equivalent (MotionConfig &that) |
| void | copy_from (MotionConfig &that) |
| void | interpolate (MotionConfig &prev, MotionConfig &next, int64_t prev_frame, int64_t next_frame, int64_t current_frame) |
| void | boundaries () |
Data Fields | |
| int | block_count |
| int | global_range_w |
| int | global_range_h |
| int | rotation_range |
| int | magnitude |
| int | return_speed |
| int | draw_vectors |
| int | global_block_w |
| int | global_block_h |
| int | rotation_block_w |
| int | rotation_block_h |
| int | global_positions |
| int | rotate_positions |
| double | block_x |
| double | block_y |
| int | horizontal_only |
| int | vertical_only |
| int | global |
| int | rotate |
| int | addtrackedframeoffset |
| int | mode1 |
| int | mode2 |
| int | mode3 |
| int64_t | track_frame |
| int | bottom_is_master |
Definition at line 50 of file motion.h.
| anonymous enum |
| MotionConfig::MotionConfig | ( | ) |
Definition at line 49 of file motion.C.
References addtrackedframeoffset, block_count, block_x, block_y, bottom_is_master, draw_vectors, global, global_block_h, global_block_w, global_positions, global_range_h, global_range_w, horizontal_only, magnitude, MIN_BLOCK, mode1, mode2, mode3, NO_CALCULATE, return_speed, rotate, rotate_positions, rotation_block_h, rotation_block_w, rotation_range, STABILIZE, track_frame, TRACK_SINGLE, and vertical_only.
| int MotionConfig::equivalent | ( | MotionConfig & | that | ) |
Definition at line 90 of file motion.C.
References addtrackedframeoffset, block_count, block_x, block_y, bottom_is_master, draw_vectors, EQUIV, global, global_block_h, global_block_w, global_positions, global_range_h, global_range_w, horizontal_only, magnitude, mode1, mode3, return_speed, rotate, rotate_positions, rotation_block_h, rotation_block_w, rotation_range, track_frame, and vertical_only.
| void MotionConfig::copy_from | ( | MotionConfig & | that | ) |
Definition at line 118 of file motion.C.
References addtrackedframeoffset, block_count, block_x, block_y, bottom_is_master, draw_vectors, global, global_block_h, global_block_w, global_positions, global_range_h, global_range_w, horizontal_only, magnitude, mode1, mode2, mode3, return_speed, rotate, rotate_positions, rotation_block_h, rotation_block_w, rotation_range, track_frame, and vertical_only.
| void MotionConfig::interpolate | ( | MotionConfig & | prev, | |
| MotionConfig & | next, | |||
| int64_t | prev_frame, | |||
| int64_t | next_frame, | |||
| int64_t | current_frame | |||
| ) |
Definition at line 147 of file motion.C.
References addtrackedframeoffset, block_count, block_x, block_y, bottom_is_master, draw_vectors, global, global_block_h, global_block_w, global_positions, global_range_h, global_range_w, horizontal_only, magnitude, mode1, mode2, mode3, return_speed, rotate, rotate_positions, rotation_block_h, rotation_block_w, rotation_range, track_frame, and vertical_only.
| void MotionConfig::boundaries | ( | ) |
Definition at line 78 of file motion.C.
References block_count, CLAMP, global_block_h, global_block_w, global_range_h, global_range_w, MAX_BLOCK, MAX_BLOCKS, MAX_RADIUS, MAX_ROTATION, MIN_BLOCK, MIN_BLOCKS, MIN_RADIUS, MIN_ROTATION, rotation_block_h, rotation_block_w, and rotation_range.
Definition at line 64 of file motion.h.
Referenced by boundaries(), copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 65 of file motion.h.
Referenced by boundaries(), copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 66 of file motion.h.
Referenced by boundaries(), copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 67 of file motion.h.
Referenced by boundaries(), copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 68 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 69 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 70 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 72 of file motion.h.
Referenced by boundaries(), copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 73 of file motion.h.
Referenced by boundaries(), copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 74 of file motion.h.
Referenced by boundaries(), copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 75 of file motion.h.
Referenced by boundaries(), copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 77 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 78 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
| double MotionConfig::block_x |
Definition at line 80 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
| double MotionConfig::block_y |
Definition at line 81 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 83 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 84 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 85 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 86 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 87 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 89 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 91 of file motion.h.
Referenced by copy_from(), interpolate(), and MotionConfig().
Definition at line 93 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
| int64_t MotionConfig::track_frame |
Definition at line 113 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
Definition at line 115 of file motion.h.
Referenced by copy_from(), equivalent(), interpolate(), and MotionConfig().
1.5.5