Commit 52a62f90 authored by jamal's avatar jamal Committed by Michael Niedermayer

dwt: Fix several warnings about incompatible pointer type

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b3841db1
...@@ -142,23 +142,23 @@ void ff_spatial_idwt_init_mmx(DWTContext *d, enum dwt_type type) ...@@ -142,23 +142,23 @@ void ff_spatial_idwt_init_mmx(DWTContext *d, enum dwt_type type)
switch (type) { switch (type) {
case DWT_DIRAC_DD9_7: case DWT_DIRAC_DD9_7:
d->vertical_compose_l0 = vertical_compose53iL0_mmx; d->vertical_compose_l0 = (void*)vertical_compose53iL0_mmx;
d->vertical_compose_h0 = vertical_compose_dd97iH0_mmx; d->vertical_compose_h0 = (void*)vertical_compose_dd97iH0_mmx;
break; break;
case DWT_DIRAC_LEGALL5_3: case DWT_DIRAC_LEGALL5_3:
d->vertical_compose_l0 = vertical_compose53iL0_mmx; d->vertical_compose_l0 = (void*)vertical_compose53iL0_mmx;
d->vertical_compose_h0 = vertical_compose_dirac53iH0_mmx; d->vertical_compose_h0 = (void*)vertical_compose_dirac53iH0_mmx;
break; break;
case DWT_DIRAC_DD13_7: case DWT_DIRAC_DD13_7:
d->vertical_compose_l0 = vertical_compose_dd137iL0_mmx; d->vertical_compose_l0 = (void*)vertical_compose_dd137iL0_mmx;
d->vertical_compose_h0 = vertical_compose_dd97iH0_mmx; d->vertical_compose_h0 = (void*)vertical_compose_dd97iH0_mmx;
break; break;
case DWT_DIRAC_HAAR0: case DWT_DIRAC_HAAR0:
d->vertical_compose = vertical_compose_haar_mmx; d->vertical_compose = (void*)vertical_compose_haar_mmx;
d->horizontal_compose = horizontal_compose_haar0i_mmx; d->horizontal_compose = horizontal_compose_haar0i_mmx;
break; break;
case DWT_DIRAC_HAAR1: case DWT_DIRAC_HAAR1:
d->vertical_compose = vertical_compose_haar_mmx; d->vertical_compose = (void*)vertical_compose_haar_mmx;
d->horizontal_compose = horizontal_compose_haar1i_mmx; d->horizontal_compose = horizontal_compose_haar1i_mmx;
break; break;
} }
...@@ -169,23 +169,23 @@ void ff_spatial_idwt_init_mmx(DWTContext *d, enum dwt_type type) ...@@ -169,23 +169,23 @@ void ff_spatial_idwt_init_mmx(DWTContext *d, enum dwt_type type)
switch (type) { switch (type) {
case DWT_DIRAC_DD9_7: case DWT_DIRAC_DD9_7:
d->vertical_compose_l0 = vertical_compose53iL0_sse2; d->vertical_compose_l0 = (void*)vertical_compose53iL0_sse2;
d->vertical_compose_h0 = vertical_compose_dd97iH0_sse2; d->vertical_compose_h0 = (void*)vertical_compose_dd97iH0_sse2;
break; break;
case DWT_DIRAC_LEGALL5_3: case DWT_DIRAC_LEGALL5_3:
d->vertical_compose_l0 = vertical_compose53iL0_sse2; d->vertical_compose_l0 = (void*)vertical_compose53iL0_sse2;
d->vertical_compose_h0 = vertical_compose_dirac53iH0_sse2; d->vertical_compose_h0 = (void*)vertical_compose_dirac53iH0_sse2;
break; break;
case DWT_DIRAC_DD13_7: case DWT_DIRAC_DD13_7:
d->vertical_compose_l0 = vertical_compose_dd137iL0_sse2; d->vertical_compose_l0 = (void*)vertical_compose_dd137iL0_sse2;
d->vertical_compose_h0 = vertical_compose_dd97iH0_sse2; d->vertical_compose_h0 = (void*)vertical_compose_dd97iH0_sse2;
break; break;
case DWT_DIRAC_HAAR0: case DWT_DIRAC_HAAR0:
d->vertical_compose = vertical_compose_haar_sse2; d->vertical_compose = (void*)vertical_compose_haar_sse2;
d->horizontal_compose = horizontal_compose_haar0i_sse2; d->horizontal_compose = horizontal_compose_haar0i_sse2;
break; break;
case DWT_DIRAC_HAAR1: case DWT_DIRAC_HAAR1:
d->vertical_compose = vertical_compose_haar_sse2; d->vertical_compose = (void*)vertical_compose_haar_sse2;
d->horizontal_compose = horizontal_compose_haar1i_sse2; d->horizontal_compose = horizontal_compose_haar1i_sse2;
break; break;
} }
......
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