Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

cpu_accel.c File Reference

#include "config.h"
#include <inttypes.h>
#include "mpeg2.h"

Go to the source code of this file.


Functions

uint32_t mpeg2_detect_accel (void)

Function Documentation

uint32_t mpeg2_detect_accel void   
 

Definition at line 161 of file cpu_accel.c.

References MPEG2_ACCEL_MLIB, and uint32_t.

Referenced by mpeg2_accel().

00162 {
00163     uint32_t accel;
00164 
00165     accel = 0;
00166 #ifdef ACCEL_DETECT
00167 #ifdef LIBMPEG2_MLIB
00168     accel = MPEG2_ACCEL_MLIB;
00169 #endif
00170 #if defined (ARCH_X86) || defined (ARCH_PPC) || defined (ARCH_ALPHA)
00171     accel |= arch_accel ();
00172 #endif
00173 #endif
00174     return accel;
00175 }
 

Powered by Plone

This site conforms to the following standards: