From 5f2a8474aee2a0353a07a6a74a0312f5e5f5ef23 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 20 Mar 2015 00:21:23 +0100 Subject: 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. --- video/filter/vf.c | 2 -- video/filter/vf_expand.c | 2 -- video/filter/vf_stereo3d.c | 2 -- video/filter/vf_sub.c | 1 - 4 files changed, 7 deletions(-) (limited to 'video/filter') 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" -- cgit v1.2.3