Commit 8d9a85e0 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Remove superfluous semicolon

They are not valid out of a function in ISO C
parent ac6c2868
This diff is collapsed.
......@@ -40,7 +40,7 @@
* see ipred_prepare.h for more detailed documentation.
*/
#define decl_angular_ipred_fn(name) \
void (name)(pixel *dst, ptrdiff_t stride, const pixel *topleft, int angle);
void (name)(pixel *dst, ptrdiff_t stride, const pixel *topleft, int angle)
typedef decl_angular_ipred_fn(*angular_ipred_fn);
/*
......
......@@ -96,48 +96,48 @@ inv_txfm_add_##type1##_##type2##_##w##x##h##_c(pixel *dst, \
inv_txfm_fn(dct, dct, w, h, shift1, shift2)
#define inv_txfm_fn32(w, h, shift1, shift2) \
inv_txfm_fn64(w, h, shift1, shift2); \
inv_txfm_fn64(w, h, shift1, shift2) \
inv_txfm_fn(identity, identity, w, h, shift1, shift2)
#define inv_txfm_fn16(w, h, shift1, shift2) \
inv_txfm_fn32(w, h, shift1, shift2); \
inv_txfm_fn(adst, dct, w, h, shift1, shift2); \
inv_txfm_fn(dct, adst, w, h, shift1, shift2); \
inv_txfm_fn(adst, adst, w, h, shift1, shift2); \
inv_txfm_fn(dct, flipadst, w, h, shift1, shift2); \
inv_txfm_fn(flipadst, dct, w, h, shift1, shift2); \
inv_txfm_fn(adst, flipadst, w, h, shift1, shift2); \
inv_txfm_fn(flipadst, adst, w, h, shift1, shift2); \
inv_txfm_fn(flipadst, flipadst, w, h, shift1, shift2); \
inv_txfm_fn(identity, dct, w, h, shift1, shift2); \
inv_txfm_fn(dct, identity, w, h, shift1, shift2); \
inv_txfm_fn32(w, h, shift1, shift2) \
inv_txfm_fn(adst, dct, w, h, shift1, shift2) \
inv_txfm_fn(dct, adst, w, h, shift1, shift2) \
inv_txfm_fn(adst, adst, w, h, shift1, shift2) \
inv_txfm_fn(dct, flipadst, w, h, shift1, shift2) \
inv_txfm_fn(flipadst, dct, w, h, shift1, shift2) \
inv_txfm_fn(adst, flipadst, w, h, shift1, shift2) \
inv_txfm_fn(flipadst, adst, w, h, shift1, shift2) \
inv_txfm_fn(flipadst, flipadst, w, h, shift1, shift2) \
inv_txfm_fn(identity, dct, w, h, shift1, shift2) \
inv_txfm_fn(dct, identity, w, h, shift1, shift2) \
#define inv_txfm_fn84(w, h, shift1, shift2) \
inv_txfm_fn16(w, h, shift1, shift2); \
inv_txfm_fn(identity, flipadst, w, h, shift1, shift2); \
inv_txfm_fn(flipadst, identity, w, h, shift1, shift2); \
inv_txfm_fn(identity, adst, w, h, shift1, shift2); \
inv_txfm_fn(adst, identity, w, h, shift1, shift2); \
inv_txfm_fn84( 4, 4, 0, 4);
inv_txfm_fn84( 4, 8, 0, 4);
inv_txfm_fn84( 4, 16, 1, 4);
inv_txfm_fn84( 8, 4, 0, 4);
inv_txfm_fn84( 8, 8, 1, 4);
inv_txfm_fn84( 8, 16, 1, 4);
inv_txfm_fn32( 8, 32, 2, 4);
inv_txfm_fn84(16, 4, 1, 4);
inv_txfm_fn84(16, 8, 1, 4);
inv_txfm_fn16(16, 16, 2, 4);
inv_txfm_fn32(16, 32, 1, 4);
inv_txfm_fn64(16, 64, 2, 4);
inv_txfm_fn32(32, 8, 2, 4);
inv_txfm_fn32(32, 16, 1, 4);
inv_txfm_fn32(32, 32, 2, 4);
inv_txfm_fn64(32, 64, 1, 4);
inv_txfm_fn64(64, 16, 2, 4);
inv_txfm_fn64(64, 32, 1, 4);
inv_txfm_fn64(64, 64, 2, 4);
inv_txfm_fn16(w, h, shift1, shift2) \
inv_txfm_fn(identity, flipadst, w, h, shift1, shift2) \
inv_txfm_fn(flipadst, identity, w, h, shift1, shift2) \
inv_txfm_fn(identity, adst, w, h, shift1, shift2) \
inv_txfm_fn(adst, identity, w, h, shift1, shift2) \
inv_txfm_fn84( 4, 4, 0, 4)
inv_txfm_fn84( 4, 8, 0, 4)
inv_txfm_fn84( 4, 16, 1, 4)
inv_txfm_fn84( 8, 4, 0, 4)
inv_txfm_fn84( 8, 8, 1, 4)
inv_txfm_fn84( 8, 16, 1, 4)
inv_txfm_fn32( 8, 32, 2, 4)
inv_txfm_fn84(16, 4, 1, 4)
inv_txfm_fn84(16, 8, 1, 4)
inv_txfm_fn16(16, 16, 2, 4)
inv_txfm_fn32(16, 32, 1, 4)
inv_txfm_fn64(16, 64, 2, 4)
inv_txfm_fn32(32, 8, 2, 4)
inv_txfm_fn32(32, 16, 1, 4)
inv_txfm_fn32(32, 32, 2, 4)
inv_txfm_fn64(32, 64, 1, 4)
inv_txfm_fn64(64, 16, 2, 4)
inv_txfm_fn64(64, 32, 1, 4)
inv_txfm_fn64(64, 64, 2, 4)
static void inv_txfm_add_wht_wht_4x4_c(pixel *dst, const ptrdiff_t stride,
coef *const coeff, const int eob)
......
......@@ -802,9 +802,9 @@ static void inv_flipadst##sz##_1d(const coef *const in, const ptrdiff_t in_s, \
inv_adst##sz##_1d(in, in_s, &out[(sz - 1) * out_s], -out_s); \
}
flip_inv_adst(4);
flip_inv_adst(8);
flip_inv_adst(16);
flip_inv_adst(4)
flip_inv_adst(8)
flip_inv_adst(16)
#undef flip_inv_adst
......
......@@ -36,7 +36,7 @@
#include "src/levels.h"
#define decl_loopfilter_fn(name) \
void (name)(pixel *dst, ptrdiff_t stride, int mb_lim, int lim, int hev_thr);
void (name)(pixel *dst, ptrdiff_t stride, int mb_lim, int lim, int hev_thr)
typedef decl_loopfilter_fn(*loopfilter_fn);
typedef struct Dav1dLoopFilterDSPContext {
......
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