projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version update
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
moveobj
/
moveobj.C
diff --git
a/cinelerra-5.1/plugins/moveobj/moveobj.C
b/cinelerra-5.1/plugins/moveobj/moveobj.C
index e64575552c1974989b34608d61f4eee62e3902e3..77a80a3bbd59f8cbeb6ae77de38f115e75a0f6b9 100644
(file)
--- a/
cinelerra-5.1/plugins/moveobj/moveobj.C
+++ b/
cinelerra-5.1/plugins/moveobj/moveobj.C
@@
-334,7
+334,7
@@
int MoveObj::process_buffer(VFrame *frame, int64_t start_position, double frame_
// interpolate with identity matrix
accum_matrix = w0*identity + w1*accum_matrix;
// interpolate with identity matrix
accum_matrix = w0*identity + w1*accum_matrix;
- AffineMatrix matrix;
+ AffineMatrix
&matrix = affine->
matrix;
for( int i=0,k=0; i<3; ++i )
for( int j=0; j<3; ++j )
matrix.values[i][j] = amat[k++];
for( int i=0,k=0; i<3; ++i )
for( int j=0; j<3; ++j )
matrix.values[i][j] = amat[k++];
@@
-342,7
+342,6
@@
int MoveObj::process_buffer(VFrame *frame, int64_t start_position, double frame_
//printf("MoveObj::process_buffer %d %jd matrix=\n", __LINE__, start_position);
//matrix.dump();
//printf("MoveObj::process_buffer %d %jd matrix=\n", __LINE__, start_position);
//matrix.dump();
- affine->set_matrix(&matrix);
// iframe is always temp, if we get here
output->clear_frame();
affine->process(output, iframe, 0, AffineEngine::TRANSFORM,
// iframe is always temp, if we get here
output->clear_frame();
affine->process(output, iframe, 0, AffineEngine::TRANSFORM,