Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
e5130a85
Commit
e5130a85
authored
Jan 10, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move SSE2 chromas to sse2/
parent
a763b988
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
39 additions
and
26 deletions
+39
-26
configure.ac
configure.ac
+4
-4
modules/Makefile.am
modules/Makefile.am
+4
-0
modules/sse2/.gitignore
modules/sse2/.gitignore
+1
-0
modules/sse2/Modules.am
modules/sse2/Modules.am
+30
-0
modules/video_chroma/Modules.am
modules/video_chroma/Modules.am
+0
-17
modules/video_chroma/i420_rgb.c
modules/video_chroma/i420_rgb.c
+0
-2
modules/video_chroma/i420_yuy2.c
modules/video_chroma/i420_yuy2.c
+0
-1
modules/video_chroma/i422_yuy2.c
modules/video_chroma/i422_yuy2.c
+0
-2
No files found.
configure.ac
View file @
e5130a85
...
@@ -1406,6 +1406,7 @@ AC_ARG_ENABLE(sse,
...
@@ -1406,6 +1406,7 @@ AC_ARG_ENABLE(sse,
;;
;;
esac
esac
])
])
have_sse2="no"
AS_IF([test "${enable_sse}" != "no"], [
AS_IF([test "${enable_sse}" != "no"], [
ARCH="${ARCH} sse sse2"
ARCH="${ARCH} sse sse2"
...
@@ -1430,7 +1431,6 @@ AS_IF([test "${enable_sse}" != "no"], [
...
@@ -1430,7 +1431,6 @@ AS_IF([test "${enable_sse}" != "no"], [
AC_DEFINE(HAVE_SSE2_INTRINSICS, 1,
AC_DEFINE(HAVE_SSE2_INTRINSICS, 1,
[Define to 1 if SSE2 intrinsics are available.])
[Define to 1 if SSE2 intrinsics are available.])
SSE2_CFLAGS="-msse2"
SSE2_CFLAGS="-msse2"
VLC_ADD_CFLAGS([i420_rgb_sse2 i420_yuy2_sse2 i422_yuy2_sse2],[-msse2])
])
])
AC_CACHE_CHECK([if $CC groks SSE inline assembly],
AC_CACHE_CHECK([if $CC groks SSE inline assembly],
...
@@ -1451,9 +1451,7 @@ AS_IF([test "${enable_sse}" != "no"], [
...
@@ -1451,9 +1451,7 @@ AS_IF([test "${enable_sse}" != "no"], [
AS_IF([test "${ac_cv_sse2_inline}" != "no" -a "${SYS}" != "solaris"], [
AS_IF([test "${ac_cv_sse2_inline}" != "no" -a "${SYS}" != "solaris"], [
AC_DEFINE(CAN_COMPILE_SSE2, 1,
AC_DEFINE(CAN_COMPILE_SSE2, 1,
[Define to 1 if SSE2 inline assembly is available.])
[Define to 1 if SSE2 inline assembly is available.])
VLC_ADD_PLUGIN([i420_rgb_sse2])
have_sse2="yes"
VLC_ADD_PLUGIN([i420_yuy2_sse2])
VLC_ADD_PLUGIN([i422_yuy2_sse2])
])
])
# SSE3
# SSE3
...
@@ -1506,6 +1504,7 @@ AS_IF([test "${enable_sse}" != "no"], [
...
@@ -1506,6 +1504,7 @@ AS_IF([test "${enable_sse}" != "no"], [
[Define to 1 if SSE4A inline assembly is available.]) ])
[Define to 1 if SSE4A inline assembly is available.]) ])
])
])
AC_SUBST(SSE2_CFLAGS)
AC_SUBST(SSE2_CFLAGS)
AM_CONDITIONAL([HAVE_SSE2], [test "$have_sse2" = "yes"])
have_3dnow="no"
have_3dnow="no"
AC_CACHE_CHECK([if $CC groks 3D Now! inline assembly],
AC_CACHE_CHECK([if $CC groks 3D Now! inline assembly],
...
@@ -5191,6 +5190,7 @@ AC_CONFIG_FILES([
...
@@ -5191,6 +5190,7 @@ AC_CONFIG_FILES([
modules/mmx/Makefile
modules/mmx/Makefile
modules/mmxext/Makefile
modules/mmxext/Makefile
modules/3dnow/Makefile
modules/3dnow/Makefile
modules/sse2/Makefile
modules/altivec/Makefile
modules/altivec/Makefile
])
])
...
...
modules/Makefile.am
View file @
e5130a85
...
@@ -23,6 +23,7 @@ EXTRA_SUBDIRS = \
...
@@ -23,6 +23,7 @@ EXTRA_SUBDIRS = \
stream_out
\
stream_out
\
mmx
\
mmx
\
mmxext
\
mmxext
\
sse2
\
3dnow
\
3dnow
\
altivec
\
altivec
\
$(NULL)
$(NULL)
...
@@ -38,6 +39,9 @@ endif
...
@@ -38,6 +39,9 @@ endif
if
HAVE_MMXEXT
if
HAVE_MMXEXT
SUBDIRS
+=
mmxext
SUBDIRS
+=
mmxext
endif
endif
if
HAVE_SSE2
SUBDIRS
+=
sse2
endif
if
HAVE_3DNOW
if
HAVE_3DNOW
SUBDIRS
+=
3dnow
SUBDIRS
+=
3dnow
endif
endif
...
...
modules/sse2/.gitignore
0 → 100644
View file @
e5130a85
Makefile.am
modules/sse2/Modules.am
0 → 100644
View file @
e5130a85
AM_CFLAGS += $(SSE2_CFLAGS)
libi420_rgb_sse2_plugin_la_SOURCES = \
../video_chroma/i420_rgb.c \
../video_chroma/i420_rgb.h \
../video_chroma/i420_rgb16.c \
../mmx/i420_rgb_mmx.h
libi420_rgb_sse2_plugin_la_CFLAGS = $(AM_CFLAGS)
libi420_rgb_sse2_plugin_la_LIBADD = $(AM_LIBADD)
libi420_rgb_sse2_plugin_la_DEPENDENCIES =
libi420_yuy2_sse2_plugin_la_SOURCES = \
../video_chroma/i420_yuy2.c \
../video_chroma/i420_yuy2.h
libi420_yuy2_sse2_plugin_la_CFLAGS = $(AM_CFLAGS)
libi420_yuy2_sse2_plugin_la_LIBADD = $(AM_LIBADD)
libi420_yuy2_sse2_plugin_la_DEPENDENCIES =
libi422_yuy2_sse2_plugin_la_SOURCES = \
../video_chroma/i422_yuy2.c \
../video_chroma/i422_yuy2.h
libi422_yuy2_sse2_plugin_la_CFLAGS = $(AM_CFLAGS)
libi422_yuy2_sse2_plugin_la_LIBADD = $(AM_LIBADD)
libi422_yuy2_sse2_plugin_la_DEPENDENCIES =
libvlc_LTLIBRARIES += \
libi420_rgb_sse2_plugin.la \
libi420_yuy2_sse2_plugin.la \
libi422_yuy2_sse2_plugin.la \
$(NULL)
modules/video_chroma/Modules.am
View file @
e5130a85
...
@@ -6,23 +6,11 @@ SOURCES_i420_rgb = \
...
@@ -6,23 +6,11 @@ SOURCES_i420_rgb = \
i420_rgb_c.h \
i420_rgb_c.h \
$(NULL)
$(NULL)
SOURCES_i420_rgb_sse2 = \
i420_rgb.c \
i420_rgb.h \
i420_rgb16.c \
i420_rgb_mmx.h \
$(NULL)
SOURCES_i420_yuy2 = \
SOURCES_i420_yuy2 = \
i420_yuy2.c \
i420_yuy2.c \
i420_yuy2.h \
i420_yuy2.h \
$(NULL)
$(NULL)
SOURCES_i420_yuy2_sse2 = \
i420_yuy2.c \
i420_yuy2.h \
$(NULL)
SOURCES_i420_yuy2_altivec = \
SOURCES_i420_yuy2_altivec = \
i420_yuy2.c \
i420_yuy2.c \
i420_yuy2.h \
i420_yuy2.h \
...
@@ -33,11 +21,6 @@ SOURCES_i422_yuy2 = \
...
@@ -33,11 +21,6 @@ SOURCES_i422_yuy2 = \
i422_yuy2.h \
i422_yuy2.h \
$(NULL)
$(NULL)
SOURCES_i422_yuy2_sse2 = \
i422_yuy2.c \
i422_yuy2.h \
$(NULL)
SOURCES_i422_i420 = \
SOURCES_i422_i420 = \
i422_i420.c \
i422_i420.c \
$(NULL)
$(NULL)
...
...
modules/video_chroma/i420_rgb.c
View file @
e5130a85
...
@@ -35,7 +35,6 @@
...
@@ -35,7 +35,6 @@
#include <vlc_common.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_plugin.h>
#include <vlc_filter.h>
#include <vlc_filter.h>
#include <vlc_cpu.h>
#include "i420_rgb.h"
#include "i420_rgb.h"
#if defined (MODULE_NAME_IS_i420_rgb)
#if defined (MODULE_NAME_IS_i420_rgb)
...
@@ -92,7 +91,6 @@ vlc_module_begin ()
...
@@ -92,7 +91,6 @@ vlc_module_begin ()
set_description
(
N_
(
"SSE2 I420,IYUV,YV12 to "
set_description
(
N_
(
"SSE2 I420,IYUV,YV12 to "
"RV15,RV16,RV24,RV32 conversions"
)
)
"RV15,RV16,RV24,RV32 conversions"
)
)
set_capability
(
"video filter2"
,
120
)
set_capability
(
"video filter2"
,
120
)
add_requirement
(
SSE2
)
#endif
#endif
set_callbacks
(
Activate
,
Deactivate
)
set_callbacks
(
Activate
,
Deactivate
)
vlc_module_end
()
vlc_module_end
()
...
...
modules/video_chroma/i420_yuy2.c
View file @
e5130a85
...
@@ -94,7 +94,6 @@ vlc_module_begin ()
...
@@ -94,7 +94,6 @@ vlc_module_begin ()
#elif defined (MODULE_NAME_IS_i420_yuy2_sse2)
#elif defined (MODULE_NAME_IS_i420_yuy2_sse2)
set_description
(
N_
(
"SSE2 conversions from "
SRC_FOURCC
" to "
DEST_FOURCC
)
)
set_description
(
N_
(
"SSE2 conversions from "
SRC_FOURCC
" to "
DEST_FOURCC
)
)
set_capability
(
"video filter2"
,
250
)
set_capability
(
"video filter2"
,
250
)
add_requirement
(
SSE2
)
#elif defined (MODULE_NAME_IS_i420_yuy2_altivec)
#elif defined (MODULE_NAME_IS_i420_yuy2_altivec)
set_description
(
set_description
(
_
(
"AltiVec conversions from "
SRC_FOURCC
" to "
DEST_FOURCC
)
);
_
(
"AltiVec conversions from "
SRC_FOURCC
" to "
DEST_FOURCC
)
);
...
...
modules/video_chroma/i422_yuy2.c
View file @
e5130a85
...
@@ -33,7 +33,6 @@
...
@@ -33,7 +33,6 @@
#include <vlc_common.h>
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_plugin.h>
#include <vlc_filter.h>
#include <vlc_filter.h>
#include <vlc_cpu.h>
#include "i422_yuy2.h"
#include "i422_yuy2.h"
...
@@ -77,7 +76,6 @@ vlc_module_begin ()
...
@@ -77,7 +76,6 @@ vlc_module_begin ()
#elif defined (MODULE_NAME_IS_i422_yuy2_sse2)
#elif defined (MODULE_NAME_IS_i422_yuy2_sse2)
set_description
(
N_
(
"SSE2 conversions from "
SRC_FOURCC
" to "
DEST_FOURCC
)
)
set_description
(
N_
(
"SSE2 conversions from "
SRC_FOURCC
" to "
DEST_FOURCC
)
)
set_capability
(
"video filter2"
,
120
)
set_capability
(
"video filter2"
,
120
)
add_requirement
(
SSE2
)
#endif
#endif
set_callbacks
(
Activate
,
NULL
)
set_callbacks
(
Activate
,
NULL
)
vlc_module_end
()
vlc_module_end
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment