mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-21 23:30:00 +01:00
Libvje / 'unused-variable' warning
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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)));
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user