* idctclassic.c : Classic IDCT module
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: idctclassic.c,v 1.17 2001/11/28 15:08:05 massiot Exp $
+ * $Id: idctclassic.c,v 1.24 2002/05/18 17:47:46 sam Exp $
*
* Authors: Gaƫl Hendryckx <jimmy@via.ecp.fr>
*
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
-#define MODULE_NAME idctclassic
-#include "modules_inner.h"
-
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include "defs.h"
-
#include <stdlib.h>
#include <string.h>
-#include "config.h"
-#include "common.h"
-#include "intf_msg.h"
-#include "threads.h"
-#include "mtime.h"
-#include "tests.h"
+#include <videolan/vlc.h>
#include "idct.h"
#include "block_c.h"
-#include "modules.h"
-#include "modules_export.h"
-
/*****************************************************************************
* Local and extern prototypes.
*****************************************************************************/
* Build configuration tree.
*****************************************************************************/
MODULE_CONFIG_START
-ADD_WINDOW( "Configuration for classic IDCT module" )
- ADD_COMMENT( "Ha, ha -- nothing to configure yet" )
MODULE_CONFIG_STOP
MODULE_INIT_START
- p_module->i_capabilities = MODULE_CAPABILITY_NULL
- | MODULE_CAPABILITY_IDCT;
- p_module->psz_longname = "classic IDCT module";
+ SET_DESCRIPTION( _("classic IDCT module") )
+ ADD_CAPABILITY( IDCT, 100 )
+ ADD_SHORTCUT( "classic" )
+ ADD_SHORTCUT( "idctclassic" )
MODULE_INIT_STOP
MODULE_ACTIVATE_START
/* Following functions are local */
-/*****************************************************************************
- * idct_Probe: returns a preference score
- *****************************************************************************/
-static int idct_Probe( probedata_t *p_data )
-{
- if( TestMethod( IDCT_METHOD_VAR, "idctclassic" )
- || TestMethod( IDCT_METHOD_VAR, "classic" ) )
- {
- return( 999 );
- }
-
- /* This plugin always works */
- return( 100 );
-}
-
/*****************************************************************************
* NormScan : Unused in this IDCT
*****************************************************************************/
/*****************************************************************************
* IDCT : IDCT function for normal matrices
*****************************************************************************/
-static __inline__ void IDCT( dctelem_t * p_block )
+static inline void IDCT( dctelem_t * p_block )
{
s32 tmp0, tmp1, tmp2, tmp3;
s32 tmp10, tmp11, tmp12, tmp13;
}
}
+static inline void RestoreCPUState( )
+{
+ ;
+}
+
#include "idct_sparse.h"
#include "idct_decl.h"