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
90e94ab5
Commit
90e94ab5
authored
Jan 10, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move libc memcpy module to dummy
parent
d6d69ae1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
19 deletions
+16
-19
modules/misc/dummy/dummy.c
modules/misc/dummy/dummy.c
+13
-0
modules/misc/memcpy/Modules.am
modules/misc/memcpy/Modules.am
+0
-6
modules/misc/memcpy/memcpy.c
modules/misc/memcpy/memcpy.c
+3
-13
No files found.
modules/misc/dummy/dummy.c
View file @
90e94ab5
...
...
@@ -34,6 +34,8 @@
#include "dummy.h"
static
int
OpenDummy
(
vlc_object_t
*
);
/*****************************************************************************
* Module descriptor
*****************************************************************************/
...
...
@@ -113,5 +115,16 @@ vlc_module_begin ()
set_description
(
N_
(
"Dummy font renderer function"
)
)
set_capability
(
"text renderer"
,
1
)
set_callbacks
(
OpenRenderer
,
NULL
)
add_submodule
()
set_description
(
N_
(
"libc memcpy"
)
)
set_capability
(
"memcpy"
,
50
)
set_callbacks
(
OpenDummy
,
NULL
)
add_shortcut
(
"c"
)
add_shortcut
(
"libc"
)
vlc_module_end
()
static
int
OpenDummy
(
vlc_object_t
*
obj
)
{
(
void
)
obj
;
return
VLC_SUCCESS
;
}
modules/misc/memcpy/Modules.am
View file @
90e94ab5
SOURCES_memcpy = \
memcpy.c \
$(NULL)
SOURCES_memcpymmx = \
memcpy.c \
fastmemcpy.h \
...
...
@@ -20,5 +16,3 @@ SOURCES_memcpy3dn = \
SOURCES_memcpyaltivec = \
memcpyaltivec.c \
$(NULL)
libvlc_LTLIBRARIES += libmemcpy_plugin.la
modules/misc/memcpy/memcpy.c
View file @
90e94ab5
...
...
@@ -49,17 +49,13 @@
#elif defined( MODULE_NAME_IS_memcpymmxext )
# define PRIORITY 200
# define HAVE_MMX2
#else
# define PRIORITY 50
#endif
/*****************************************************************************
* Extern prototype
*****************************************************************************/
#ifndef MODULE_NAME_IS_memcpy
# define fast_memcpy fast_memcpy
# include "fastmemcpy.h"
#endif
#define fast_memcpy fast_memcpy
#include "fastmemcpy.h"
/*****************************************************************************
* Module initializer
...
...
@@ -67,9 +63,7 @@
static
int
Activate
(
vlc_object_t
*
p_this
)
{
VLC_UNUSED
(
p_this
);
#ifndef MODULE_NAME_IS_memcpy
vlc_fastmem_register
(
fast_memcpy
,
NULL
);
#endif
return
VLC_SUCCESS
;
}
...
...
@@ -80,11 +74,7 @@ static int Activate ( vlc_object_t *p_this )
vlc_module_begin
()
set_category
(
CAT_ADVANCED
)
set_subcategory
(
SUBCAT_ADVANCED_MISC
)
#ifdef MODULE_NAME_IS_memcpy
set_description
(
N_
(
"libc memcpy"
)
)
add_shortcut
(
"c"
)
add_shortcut
(
"libc"
)
#elif defined( MODULE_NAME_IS_memcpy3dn )
#if defined( MODULE_NAME_IS_memcpy3dn )
set_description
(
N_
(
"3D Now! memcpy"
)
)
add_requirement
(
3
DNOW
)
add_shortcut
(
"3dn"
)
...
...
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