[vlc-commits] copy: remove cached cpu flags

Rémi Denis-Courmont git at videolan.org
Mon Mar 19 12:15:18 CET 2018


vlc/vlc-3.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 11 15:42:38 2018 +0200| [663d8ca0063051f0357de74da484ff363328d110] | committer: Thomas Guillem

copy: remove cached cpu flags

This causes a lot of extra ifdef'ery and parameters passing.
Calling vlc_CPU() is cheap anyway; it just returns a constant.
(Also nowadays at least SSE2 is enabled by default.)

(cherry picked from commit 16b2f3e377c2b07437ccbd70b4c9d12768ae27cc)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=663d8ca0063051f0357de74da484ff363328d110
---

 modules/video_chroma/copy.c | 122 ++++++++++++--------------------------------
 1 file changed, 34 insertions(+), 88 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commitdiff;h=663d8ca0063051f0357de74da484ff363328d110


More information about the vlc-commits mailing list