diff options
author | wm4 <wm4@nowhere> | 2015-03-20 00:21:23 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-20 00:21:23 +0100 |
commit | 5f2a8474aee2a0353a07a6a74a0312f5e5f5ef23 (patch) | |
tree | efbca333ddc28a1006b1507667e7b58008bd9eab /video/filter | |
parent | 145922a0700b50ffb38f20957c28020562f8d428 (diff) | |
download | mpv-5f2a8474aee2a0353a07a6a74a0312f5e5f5ef23.tar.bz2 mpv-5f2a8474aee2a0353a07a6a74a0312f5e5f5ef23.tar.xz |
video: uninline memcpy_pic functions
There's literally no reason why these functions have to be inline (they
might be performance critical, but then the function call overhead isn't
going to matter at all).
Uninline them and move them to mp_image.c. Drop the header file and fix
all uses of it.
Diffstat (limited to 'video/filter')
-rw-r--r-- | video/filter/vf.c | 2 | ||||
-rw-r--r-- | video/filter/vf_expand.c | 2 | ||||
-rw-r--r-- | video/filter/vf_stereo3d.c | 2 | ||||
-rw-r--r-- | video/filter/vf_sub.c | 1 |
4 files changed, 0 insertions, 7 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c index b308a32e18..a5573cd2a6 100644 --- a/video/filter/vf.c +++ b/video/filter/vf.c @@ -39,8 +39,6 @@ #include "video/mp_image_pool.h" #include "vf.h" -#include "video/memcpy_pic.h" - extern const vf_info_t vf_info_crop; extern const vf_info_t vf_info_expand; extern const vf_info_t vf_info_scale; diff --git a/video/filter/vf_expand.c b/video/filter/vf_expand.c index 4b8e89c88c..db01bd4324 100644 --- a/video/filter/vf_expand.c +++ b/video/filter/vf_expand.c @@ -31,8 +31,6 @@ #include "video/mp_image.h" #include "vf.h" -#include "video/memcpy_pic.h" - #include "options/m_option.h" static struct vf_priv_s { diff --git a/video/filter/vf_stereo3d.c b/video/filter/vf_stereo3d.c index e370f07c24..21a171aeda 100644 --- a/video/filter/vf_stereo3d.c +++ b/video/filter/vf_stereo3d.c @@ -35,8 +35,6 @@ #include "vf.h" #include "options/m_option.h" -#include "video/memcpy_pic.h" - #include "vf_lavfi.h" //==types==// diff --git a/video/filter/vf_sub.c b/video/filter/vf_sub.c index b30448cf9c..9891dd0174 100644 --- a/video/filter/vf_sub.c +++ b/video/filter/vf_sub.c @@ -38,7 +38,6 @@ #include "sub/dec_sub.h" #include "video/sws_utils.h" -#include "video/memcpy_pic.h" #include "options/m_option.h" |