X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fvideodsp.h;h=e397720773868358a9be681b8cc4b9228163c9df;hb=7ff1a4b10f2d7f9a4ae1c72e1259b4ed7d13e316;hp=dc893847b3852043e4da1db52bef4b05a05f9499;hpb=3138b158dd4bff334263b997664e9c1aeb02127b;p=ffmpeg diff --git a/libavcodec/videodsp.h b/libavcodec/videodsp.h index dc893847b38..e3977207738 100644 --- a/libavcodec/videodsp.h +++ b/libavcodec/videodsp.h @@ -29,6 +29,14 @@ #include #include +#define EMULATED_EDGE(depth) \ +void ff_emulated_edge_mc_ ## depth (uint8_t *buf, const uint8_t *src, ptrdiff_t linesize,\ + int block_w, int block_h,\ + int src_x, int src_y, int w, int h); + +EMULATED_EDGE(8) +EMULATED_EDGE(16) + typedef struct VideoDSPContext { /** * Copy a rectangular area of samples to a temporary buffer and replicate