Commit 50208a04 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_ciescope: Fix "incompatible pointer type" warnings

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 0786b284
...@@ -1229,7 +1229,7 @@ static int draw_background(AVFilterContext *ctx) ...@@ -1229,7 +1229,7 @@ static int draw_background(AVFilterContext *ctx)
tongue_outline(pixels, s->f->linesize[0] / 2, w, h, 65535, s->cie); tongue_outline(pixels, s->f->linesize[0] / 2, w, h, 65535, s->cie);
fill_in_tongue(pixels, s->f->linesize[0] / 2, w, h, 65535, cs, s->i, s->cie, fill_in_tongue(pixels, s->f->linesize[0] / 2, w, h, 65535, cs, (const double (*)[3])s->i, s->cie,
s->correct_gamma, s->contrast); s->correct_gamma, s->contrast);
return 0; return 0;
...@@ -1244,7 +1244,7 @@ static void filter_rgb48(AVFilterContext *ctx, AVFrame *in, double *cx, double * ...@@ -1244,7 +1244,7 @@ static void filter_rgb48(AVFilterContext *ctx, AVFrame *in, double *cx, double *
double b = src[2] / 65535.; double b = src[2] / 65535.;
double cz; double cz;
rgb_to_xy(r, g, b, cx, cy, &cz, s->m); rgb_to_xy(r, g, b, cx, cy, &cz, (const double (*)[3])s->m);
} }
static void filter_rgba64(AVFilterContext *ctx, AVFrame *in, double *cx, double *cy, int x, int y) static void filter_rgba64(AVFilterContext *ctx, AVFrame *in, double *cx, double *cy, int x, int y)
...@@ -1256,7 +1256,7 @@ static void filter_rgba64(AVFilterContext *ctx, AVFrame *in, double *cx, double ...@@ -1256,7 +1256,7 @@ static void filter_rgba64(AVFilterContext *ctx, AVFrame *in, double *cx, double
double b = src[2] / 65535.; double b = src[2] / 65535.;
double cz; double cz;
rgb_to_xy(r, g, b, cx, cy, &cz, s->m); rgb_to_xy(r, g, b, cx, cy, &cz, (const double (*)[3])s->m);
} }
static void filter_rgb24(AVFilterContext *ctx, AVFrame *in, double *cx, double *cy, int x, int y) static void filter_rgb24(AVFilterContext *ctx, AVFrame *in, double *cx, double *cy, int x, int y)
...@@ -1268,7 +1268,7 @@ static void filter_rgb24(AVFilterContext *ctx, AVFrame *in, double *cx, double * ...@@ -1268,7 +1268,7 @@ static void filter_rgb24(AVFilterContext *ctx, AVFrame *in, double *cx, double *
double b = src[2] / 255.; double b = src[2] / 255.;
double cz; double cz;
rgb_to_xy(r, g, b, cx, cy, &cz, s->m); rgb_to_xy(r, g, b, cx, cy, &cz, (const double (*)[3])s->m);
} }
static void filter_rgba(AVFilterContext *ctx, AVFrame *in, double *cx, double *cy, int x, int y) static void filter_rgba(AVFilterContext *ctx, AVFrame *in, double *cx, double *cy, int x, int y)
...@@ -1280,7 +1280,7 @@ static void filter_rgba(AVFilterContext *ctx, AVFrame *in, double *cx, double *c ...@@ -1280,7 +1280,7 @@ static void filter_rgba(AVFilterContext *ctx, AVFrame *in, double *cx, double *c
double b = src[2] / 255.; double b = src[2] / 255.;
double cz; double cz;
rgb_to_xy(r, g, b, cx, cy, &cz, s->m); rgb_to_xy(r, g, b, cx, cy, &cz, (const double (*)[3])s->m);
} }
static void filter_xyz(AVFilterContext *ctx, AVFrame *in, double *cx, double *cy, int x, int y) static void filter_xyz(AVFilterContext *ctx, AVFrame *in, double *cx, double *cy, int x, int y)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment