diff options
author | wm4 <wm4@nowhere> | 2012-12-19 12:04:57 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-13 20:04:11 +0100 |
commit | 15c7f7a33968edebe305e2845b32eb2383457d46 (patch) | |
tree | d9ac4532c4b2ceb2e7a08f16399dcbfda3eefa7f /video/mp_image.h | |
parent | aa6ba6372c627bc602647d225bdfb076f93bd291 (diff) | |
download | mpv-15c7f7a33968edebe305e2845b32eb2383457d46.tar.bz2 mpv-15c7f7a33968edebe305e2845b32eb2383457d46.tar.xz |
video: cleanup: move and rename vf_mpi_clear and vf_clone_attributes
These functions weren't specific to video filters and were misplaced
in vf.c. Move them to mp_image.c.
Fix the big endian test in vf_mpi_clear/mp_image_clear, which has been
messed up in 74df1d.
Diffstat (limited to 'video/mp_image.h')
-rw-r--r-- | video/mp_image.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/mp_image.h b/video/mp_image.h index cfc839c1cc..05502c49b4 100644 --- a/video/mp_image.h +++ b/video/mp_image.h @@ -97,6 +97,7 @@ typedef struct mp_image { #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); void mp_image_copy_attributes(struct mp_image *dmpi, struct mp_image *mpi); struct mp_image *mp_image_new_copy(struct mp_image *img); |