X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fplugins%2Finterpolate%2Faggregated.h;h=42eb6c4c51aab54e61efcbe79191256e3b25c70a;hb=e5013d46af178d2557a656a777d747e23cc3ae7f;hp=385abe1ac82e6313c2b2e76c0f76e73b185e8f21;hpb=2d99bb8ce591f05a31464b517d85dc2bc35b2abe;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/plugins/interpolate/aggregated.h b/cinelerra-5.0/plugins/interpolate/aggregated.h index 385abe1a..42eb6c4c 100644 --- a/cinelerra-5.0/plugins/interpolate/aggregated.h +++ b/cinelerra-5.0/plugins/interpolate/aggregated.h @@ -146,6 +146,8 @@ static const char *interpolate_shader = int x_offset = get_output()->get_params()->get("INTERPOLATEPIXELS_X", (int)0); \ int y_offset = get_output()->get_params()->get("INTERPOLATEPIXELS_Y", (int)0); \ float color_matrix[9]; \ + for( int i=0; i<9; ++i ) color_matrix[i] = 0; \ + for( int i=0; i<3; ++i ) color_matrix[i*3 + i] = 1; \ char string[BCTEXTLEN]; \ string[0] = 0; \ get_output()->get_params()->get("DCRAW_MATRIX", string); \