diff options
author | wm4 <wm4@nowhere> | 2012-12-22 21:46:22 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-13 20:04:11 +0100 |
commit | 0c5311f17cb9078f0ddde7c41cad61d00aea4a94 (patch) | |
tree | e8254feab42d21e0c6932ce68a34228529247f66 /video/mp_image.h | |
parent | 15c7f7a33968edebe305e2845b32eb2383457d46 (diff) | |
download | mpv-0c5311f17cb9078f0ddde7c41cad61d00aea4a94.tar.bz2 mpv-0c5311f17cb9078f0ddde7c41cad61d00aea4a94.tar.xz |
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.
Diffstat (limited to 'video/mp_image.h')
-rw-r--r-- | video/mp_image.h | 5 |
1 files changed, 0 insertions, 5 deletions
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); |