From 3c650efb81aaa3b395ba4606ee68a47ee4efb57b Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 3 Feb 2014 11:13:59 -0800 Subject: dsputil: Move draw_edges() to mpegvideoencdsp --- libavcodec/mpegvideoencdsp.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libavcodec/mpegvideoencdsp.h') diff --git a/libavcodec/mpegvideoencdsp.h b/libavcodec/mpegvideoencdsp.h index dcbeb3cbae..91a292a296 100644 --- a/libavcodec/mpegvideoencdsp.h +++ b/libavcodec/mpegvideoencdsp.h @@ -26,6 +26,9 @@ #define BASIS_SHIFT 16 #define RECON_SHIFT 6 +#define EDGE_TOP 1 +#define EDGE_BOTTOM 2 + typedef struct MpegvideoEncDSPContext { int (*try_8x8basis)(int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale); @@ -36,6 +39,9 @@ typedef struct MpegvideoEncDSPContext { void (*shrink[4])(uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height); + + void (*draw_edges)(uint8_t *buf, int wrap, int width, int height, + int w, int h, int sides); } MpegvideoEncDSPContext; void ff_mpegvideoencdsp_init(MpegvideoEncDSPContext *c, -- cgit v1.2.3