projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reload plugin btn in prefs, speed gang fader tweaks
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
flowobj
/
flowobj.C
diff --git
a/cinelerra-5.1/plugins/flowobj/flowobj.C
b/cinelerra-5.1/plugins/flowobj/flowobj.C
index 9ebeb4f9d22d19edce6e4ff83f4ef19a04d8b9d8..6b50098143090b6c703892ade68185ee8f8565b7 100644
(file)
--- a/
cinelerra-5.1/plugins/flowobj/flowobj.C
+++ b/
cinelerra-5.1/plugins/flowobj/flowobj.C
@@
-103,7
+103,7
@@
void FlowObj::save_data(KeyFrame *keyframe)
FileXML output;
// cause data to be stored directly in text
FileXML output;
// cause data to be stored directly in text
- output.set_shared_output(keyframe->
get_data(), MESSAGESIZE
);
+ output.set_shared_output(keyframe->
xbuf
);
output.tag.set_title("FLOWOBJ");
output.tag.set_property("DRAW_VECTORS", config.draw_vectors);
output.tag.set_property("DO_STABILIZATION", config.do_stabilization);
output.tag.set_title("FLOWOBJ");
output.tag.set_property("DRAW_VECTORS", config.draw_vectors);
output.tag.set_property("DO_STABILIZATION", config.do_stabilization);
@@
-121,7
+121,7
@@
void FlowObj::save_data(KeyFrame *keyframe)
void FlowObj::read_data(KeyFrame *keyframe)
{
FileXML input;
void FlowObj::read_data(KeyFrame *keyframe)
{
FileXML input;
- input.set_shared_input(keyframe->
get_data(), strlen(keyframe->get_data())
);
+ input.set_shared_input(keyframe->
xbuf
);
int result = 0;
while( !(result = input.read_tag()) ) {
int result = 0;
while( !(result = input.read_tag()) ) {
@@
-272,7
+272,7
@@
int FlowObj::process_buffer(VFrame *frame, int64_t start_position, double frame_
goodFeaturesToTrack(next_mat,
*next_corners, corner_count, 0.01, // quality_level
min_distance, noArray(), block_size,
goodFeaturesToTrack(next_mat,
*next_corners, corner_count, 0.01, // quality_level
min_distance, noArray(), block_size,
-
0,
// use_harris
+
false,
// use_harris
0.04); // k
if( !next_mat.empty() && next_corners->size() > 3 ) {
0.04); // k
if( !next_mat.empty() && next_corners->size() > 3 ) {