diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2018-11-06 13:52:23 +0300 |
---|---|---|
committer | Jean-Baptiste Kempf <jb@videolan.org> | 2018-11-06 17:21:19 +0300 |
commit | 01386d4c486f2892eec6cd7552d20bfec376b2ee (patch) | |
tree | 2c4c4478292cbe58796f5d64dd53d81ae90b99b3 /src/mc.h | |
parent | 17426a6a442643a4339d825f5ba8ee5034004c3a (diff) |
Move emu_edge() from recon_tmpl.c to Dav1dMCDSPContext in mc_tmpl.c
Diffstat (limited to 'src/mc.h')
-rw-r--r-- | src/mc.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -86,6 +86,12 @@ void (name)(pixel *dst, ptrdiff_t dst_stride, \ const uint8_t *mask, ptrdiff_t mstride) typedef decl_blend_fn(*blend_fn); +#define decl_emu_edge_fn(name) \ +void (name)(pixel *dst, ptrdiff_t dst_stride, \ + const pixel *src, ptrdiff_t src_stride, \ + int bw, int bh, int iw, int ih, int x, int y) +typedef decl_emu_edge_fn(*emu_edge_fn); + typedef struct Dav1dMCDSPContext { mc_fn mc[N_2D_FILTERS]; mct_fn mct[N_2D_FILTERS]; @@ -96,6 +102,7 @@ typedef struct Dav1dMCDSPContext { blend_fn blend; warp8x8_fn warp8x8; warp8x8t_fn warp8x8t; + emu_edge_fn emu_edge; } Dav1dMCDSPContext; void dav1d_mc_dsp_init_8bpc(Dav1dMCDSPContext *c); |