diff --git a/veejay-current/veejay-server/libvje/effects/alphaselect.c b/veejay-current/veejay-server/libvje/effects/alphaselect.c index edc2cb9a..06f3e25b 100644 --- a/veejay-current/veejay-server/libvje/effects/alphaselect.c +++ b/veejay-current/veejay-server/libvje/effects/alphaselect.c @@ -78,7 +78,7 @@ void alphaselect_apply( VJFrame *frame, int i_angle, int r, int g, int b, int sw uint8_t *fg_cb, *fg_cr; int accept_angle_tg; int cb, cr; - float kg1, tmp, aa = 255.0f, bb = 255.0f, _y = 0; + float kg1, tmp, aa = 255.0f, bb = 255.0f; float angle = (float) i_angle / 100.0f; unsigned int pos; uint8_t val; @@ -90,7 +90,6 @@ void alphaselect_apply( VJFrame *frame, int i_angle, int r, int g, int b, int sw int iy=0,iu=128,iv=128; _rgb2yuv(r,g,b,iy,iu,iv); - _y = (float) iy; aa = (float) iu; bb = (float) iv; diff --git a/veejay-current/veejay-server/libvje/effects/bwselect.c b/veejay-current/veejay-server/libvje/effects/bwselect.c index 193543d8..7567169e 100644 --- a/veejay-current/veejay-server/libvje/effects/bwselect.c +++ b/veejay-current/veejay-server/libvje/effects/bwselect.c @@ -80,7 +80,6 @@ void bwselect_apply(VJFrame *frame, int min_threshold, int max_threshold, int ga { int r,c; const unsigned int width = frame->width; - const unsigned int height = frame->height; const unsigned int len = frame->len; uint8_t *Y = frame->data[0]; uint8_t *Cb = frame->data[1]; diff --git a/veejay-current/veejay-server/libvje/effects/distort.c b/veejay-current/veejay-server/libvje/effects/distort.c index f615b899..5634fa86 100644 --- a/veejay-current/veejay-server/libvje/effects/distort.c +++ b/veejay-current/veejay-server/libvje/effects/distort.c @@ -141,7 +141,7 @@ void distortion_free() void distortion_apply(VJFrame *frame, int inc_val1, int inc_val2, int inc_val3, int inc_val4, int inc_val5, int inc_val6 ) { - int x, y, i, j,yi; + int x, i, j; int tpos1 = 0, tpos2 = 0, tpos3 = 0, tpos4 = 0; const int z = 511; uint8_t *Y = frame->data[0]; diff --git a/veejay-current/veejay-server/libvje/effects/greyselect.c b/veejay-current/veejay-server/libvje/effects/greyselect.c index 9c3bca20..e7b439b2 100644 --- a/veejay-current/veejay-server/libvje/effects/greyselect.c +++ b/veejay-current/veejay-server/libvje/effects/greyselect.c @@ -67,7 +67,7 @@ void greyselect_apply( VJFrame *frame, int i_angle, int r, int g, int b, int swa uint8_t *fg_cb, *fg_cr; int accept_angle_tg; int cb, cr; - float kg1, tmp, aa = 255.0f, bb = 255.0f, _y = 0; + float kg1, tmp, aa = 255.0f, bb = 255.0f; float angle = (float) i_angle / 100.0f; unsigned int pos; uint8_t val; @@ -75,7 +75,6 @@ void greyselect_apply( VJFrame *frame, int i_angle, int r, int g, int b, int swa uint8_t *Cr = frame->data[2]; int iy=0,iu=128,iv=128; _rgb2yuv(r,g,b,iy,iu,iv); - _y = (float) iy; aa = (float) iu; bb = (float) iv; diff --git a/veejay-current/veejay-server/libvje/effects/isolate.c b/veejay-current/veejay-server/libvje/effects/isolate.c index 12d92b2d..e5012e67 100644 --- a/veejay-current/veejay-server/libvje/effects/isolate.c +++ b/veejay-current/veejay-server/libvje/effects/isolate.c @@ -67,7 +67,7 @@ void isolate_apply( VJFrame *frame, int i_angle, int r, int g, int b, int opacit uint8_t *fg_cb, *fg_cr; int accept_angle_tg; int cb, cr; - float kg1, tmp, aa = 255, bb = 255, _y = 0; + float kg1, tmp, aa = 255, bb = 255; float angle = (float) i_angle / 100.0f; unsigned int pos; uint8_t val; @@ -76,7 +76,6 @@ void isolate_apply( VJFrame *frame, int i_angle, int r, int g, int b, int opacit uint8_t *Cr = frame->data[2]; int iy=0,iu=0,iv=0; _rgb2yuv(r,g,b,iy,iu,iv); - _y = (float) iy; aa = (float) iu; bb = (float) iv; tmp = sqrt(((aa * aa) + (bb * bb))); diff --git a/veejay-current/veejay-server/libvje/transitions/transcarot.c b/veejay-current/veejay-server/libvje/transitions/transcarot.c index 6725d7c4..3fddac2c 100644 --- a/veejay-current/veejay-server/libvje/transitions/transcarot.c +++ b/veejay-current/veejay-server/libvje/transitions/transcarot.c @@ -147,7 +147,6 @@ static void transcarot2_apply( VJFrame *frame, VJFrame *frame2, int point_size, int i; unsigned int op0, op1; const unsigned int width = frame->width; - const unsigned int height = frame->height; unsigned int len = frame->len; unsigned int uv_width = frame->uv_width; int uv_dy, uv_dye, uv_row_start, uv_row_length;