From 15c7f7a33968edebe305e2845b32eb2383457d46 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 19 Dec 2012 12:04:57 +0100 Subject: 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. --- video/filter/vf.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'video/filter/vf.h') diff --git a/video/filter/vf.h b/video/filter/vf.h index 187af302ad..358b8135f5 100644 --- a/video/filter/vf.h +++ b/video/filter/vf.h @@ -102,8 +102,6 @@ typedef struct vf_seteq { #define VFCTRL_SET_YUV_COLORSPACE 22 // arg is struct mp_csp_details* #define VFCTRL_GET_YUV_COLORSPACE 23 // arg is struct mp_csp_details* -// functions: -void vf_mpi_clear(mp_image_t *mpi, int x0, int y0, int w, int h); struct mp_image *vf_alloc_out_image(struct vf_instance *vf); void vf_make_out_image_writeable(struct vf_instance *vf, struct mp_image *img); @@ -124,7 +122,6 @@ vf_instance_t *vf_add_before_vo(vf_instance_t **vf, char *name, char **args); unsigned int vf_match_csp(vf_instance_t **vfp, const unsigned int *list, unsigned int preferred); -void vf_clone_mpi_attributes(mp_image_t *dst, mp_image_t *src); // default wrappers: int vf_next_config(struct vf_instance *vf, -- cgit v1.2.3