From 0c5311f17cb9078f0ddde7c41cad61d00aea4a94 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 22 Dec 2012 21:46:22 +0100 Subject: video: cleanup: replace old mp_image function names mp_image_alloc() also changes argument order compared to alloc_mpi(). The format now comes first, then width/height. --- video/mp_image.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'video/mp_image.h') diff --git a/video/mp_image.h b/video/mp_image.h index 05502c49b4..1d00115545 100644 --- a/video/mp_image.h +++ b/video/mp_image.h @@ -91,11 +91,6 @@ typedef struct mp_image { void* priv; } mp_image_t; -#define alloc_mpi(w, h, fmt) mp_image_alloc(fmt, w, h) -#define free_mp_image talloc_free -#define new_mp_image mp_image_new_empty -#define copy_mpi mp_image_copy - struct mp_image *mp_image_alloc(unsigned int fmt, int w, int h); void mp_image_clear(struct mp_image *mpi, int x0, int y0, int w, int h); void mp_image_copy(struct mp_image *dmpi, struct mp_image *mpi); -- cgit v1.2.3