add_directory: remove callback parameter
[vlc/asuraparaju-public.git] / modules / mmx / memcpy.c
blob53ae7ae41354bef2edac1070c77d2977131e0202
1 /*****************************************************************************
2 * memcpy.c : classic memcpy module
3 *****************************************************************************
4 * Copyright (C) 2001 the VideoLAN team
5 * $Id$
7 * Authors: Samuel Hocevar <sam@zoy.org>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22 *****************************************************************************/
24 #ifdef HAVE_CONFIG_H
25 # include "config.h"
26 #endif
28 #include <vlc_common.h>
29 #include <vlc_plugin.h>
30 #include <vlc_cpu.h>
32 #define HAVE_MMX
33 #include "../mmx/fastmemcpy.h"
35 static int Activate( vlc_object_t *p_this )
37 VLC_UNUSED(p_this);
38 vlc_fastmem_register( fast_memcpy, NULL );
40 return VLC_SUCCESS;
43 vlc_module_begin ()
44 set_category( CAT_ADVANCED )
45 set_subcategory( SUBCAT_ADVANCED_MISC )
46 set_description( N_("MMX memcpy") )
47 add_shortcut( "mmx", "memcpymmx" )
48 set_capability( "memcpy", 100 )
49 set_callbacks( Activate, NULL )
50 vlc_module_end ()