diff options
| author | Tim Redfern <tim@herge.(none)> | 2013-05-08 17:44:30 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@herge.(none)> | 2013-05-08 17:44:30 +0100 |
| commit | bf0e0a3384ded09e135322e2333b2773ea633d87 (patch) | |
| tree | d40e4a21f6677aa6e6b3091b6f68cc853f19c461 /rotord/rotor.cpp | |
| parent | ba982775255912035f4b84ae63e1f38bdbb611f4 (diff) | |
operator+= Image
Diffstat (limited to 'rotord/rotor.cpp')
| -rwxr-xr-x | rotord/rotor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rotord/rotor.cpp b/rotord/rotor.cpp index 33cd3f5..4ed8de4 100755 --- a/rotord/rotor.cpp +++ b/rotord/rotor.cpp @@ -17,6 +17,7 @@ Node_factory::Node_factory(){ add_type("invert",new Invert()); add_type("video_cycler",new Video_cycler()); add_type("luma_levels",new Luma_levels()); + add_type("echo_trails",new Echo_trails()); } bool Signal_input::connect(Signal_node* source) { @@ -77,7 +78,7 @@ int Audio_thumbnailer::process_frame(uint8_t *_data,int samples_in_frame){ for (int i=0;i<channels;i++) { unsigned int this_val=0; for (int j=0;j<bytes;j++) { -// this_val+=_data[(in_sample*stride)+(i*bytes)+j]<<(j*8); + this_val+=_data[(in_sample*stride)+(i*bytes)+j]<<(j*8); } //convert from integer data format - i.e s16p - to audio signal in -1..1 range //presume 16 bits for now... |
