5f0943f0fe
This patch adds the basic infrastructure to have openCL acceleration. For now only YUV2RGB is implemented but other operations could be implemented. The primitives have been massively reworked so that we have an autodetect mode that will pick the best implementation automatically by performing a benchmark. Sponsored-by: Rangee Gmbh(http://www.rangee.com)
175 lines
4.8 KiB
C
175 lines
4.8 KiB
C
#ifndef FREERDP_CONFIG_H
|
|
#define FREERDP_CONFIG_H
|
|
|
|
/* Include files */
|
|
#cmakedefine HAVE_FCNTL_H
|
|
#if defined(__APPLE__) && !defined(__IOS__)
|
|
#cmakedefine01 HAVE_UNISTD_H
|
|
#else
|
|
#cmakedefine HAVE_UNISTD_H
|
|
#endif
|
|
#cmakedefine HAVE_INTTYPES_H
|
|
#cmakedefine HAVE_SYS_MODEM_H
|
|
#cmakedefine HAVE_SYS_FILIO_H
|
|
#cmakedefine HAVE_SYS_SELECT_H
|
|
#cmakedefine HAVE_SYS_SOCKIO_H
|
|
#cmakedefine HAVE_SYS_STRTIO_H
|
|
#cmakedefine HAVE_SYS_EVENTFD_H
|
|
#cmakedefine HAVE_SYS_TIMERFD_H
|
|
#cmakedefine HAVE_TM_GMTOFF
|
|
#cmakedefine HAVE_AIO_H
|
|
#cmakedefine HAVE_POLL_H
|
|
#cmakedefine HAVE_SYSLOG_H
|
|
#cmakedefine HAVE_JOURNALD_H
|
|
#cmakedefine HAVE_PTHREAD_MUTEX_TIMEDLOCK
|
|
#cmakedefine HAVE_VALGRIND_MEMCHECK_H
|
|
#cmakedefine HAVE_EXECINFO_H
|
|
|
|
/* Features */
|
|
#cmakedefine HAVE_ALIGNED_REQUIRED
|
|
#cmakedefine SWRESAMPLE_FOUND
|
|
#cmakedefine AVRESAMPLE_FOUND
|
|
|
|
/* Options */
|
|
#cmakedefine WITH_PROFILER
|
|
#cmakedefine WITH_GPROF
|
|
#cmakedefine WITH_SSE2
|
|
#cmakedefine WITH_NEON
|
|
#cmakedefine WITH_IPP
|
|
#cmakedefine WITH_CUPS
|
|
#cmakedefine WITH_NATIVE_SSPI
|
|
#cmakedefine WITH_JPEG
|
|
#cmakedefine WITH_WIN8
|
|
#cmakedefine WITH_ICU
|
|
#cmakedefine WITH_RDPSND_DSOUND
|
|
#cmakedefine WITH_EVENTFD_READ_WRITE
|
|
#cmakedefine HAVE_MATH_C99_LONG_DOUBLE
|
|
|
|
#cmakedefine WITH_GSTREAMER_1_0
|
|
#cmakedefine WITH_GSTREAMER_0_10
|
|
#cmakedefine WITH_WINMM
|
|
#cmakedefine WITH_MACAUDIO
|
|
#cmakedefine WITH_OSS
|
|
#cmakedefine WITH_ALSA
|
|
#cmakedefine WITH_PULSE
|
|
#cmakedefine WITH_IOSAUDIO
|
|
#cmakedefine WITH_OPENSLES
|
|
#cmakedefine WITH_GSM
|
|
#cmakedefine WITH_LAME
|
|
#cmakedefine WITH_FAAD2
|
|
#cmakedefine WITH_FAAC
|
|
#cmakedefine WITH_SOXR
|
|
#cmakedefine WITH_GFX_H264
|
|
#cmakedefine WITH_OPENH264
|
|
#cmakedefine WITH_OPENH264_LOADING
|
|
#cmakedefine WITH_FFMPEG
|
|
#cmakedefine WITH_DSP_EXPERIMENTAL
|
|
#cmakedefine WITH_DSP_FFMPEG
|
|
#cmakedefine WITH_X264
|
|
#cmakedefine WITH_OPENCL
|
|
#cmakedefine WITH_MEDIA_FOUNDATION
|
|
|
|
#cmakedefine WITH_VAAPI
|
|
|
|
/* Plugins */
|
|
#cmakedefine BUILTIN_CHANNELS
|
|
#cmakedefine WITH_RDPDR
|
|
|
|
/* Channels */
|
|
#cmakedefine CHANNEL_AUDIN
|
|
#cmakedefine CHANNEL_AUDIN_CLIENT
|
|
#cmakedefine CHANNEL_AUDIN_SERVER
|
|
#cmakedefine CHANNEL_CLIPRDR
|
|
#cmakedefine CHANNEL_CLIPRDR_CLIENT
|
|
#cmakedefine CHANNEL_CLIPRDR_SERVER
|
|
#cmakedefine CHANNEL_DISP
|
|
#cmakedefine CHANNEL_DISP_CLIENT
|
|
#cmakedefine CHANNEL_DISP_SERVER
|
|
#cmakedefine CHANNEL_DRDYNVC
|
|
#cmakedefine CHANNEL_DRDYNVC_CLIENT
|
|
#cmakedefine CHANNEL_DRDYNVC_SERVER
|
|
#cmakedefine CHANNEL_DRIVE
|
|
#cmakedefine CHANNEL_DRIVE_CLIENT
|
|
#cmakedefine CHANNEL_DRIVE_SERVER
|
|
#cmakedefine CHANNEL_ECHO
|
|
#cmakedefine CHANNEL_ECHO_CLIENT
|
|
#cmakedefine CHANNEL_ECHO_SERVER
|
|
#cmakedefine CHANNEL_ENCOMSP
|
|
#cmakedefine CHANNEL_ENCOMSP_CLIENT
|
|
#cmakedefine CHANNEL_ENCOMSP_SERVER
|
|
#cmakedefine CHANNEL_PARALLEL
|
|
#cmakedefine CHANNEL_PARALLEL_CLIENT
|
|
#cmakedefine CHANNEL_PARALLEL_SERVER
|
|
#cmakedefine CHANNEL_PRINTER
|
|
#cmakedefine CHANNEL_PRINTER_CLIENT
|
|
#cmakedefine CHANNEL_PRINTER_SERVER
|
|
#cmakedefine CHANNEL_RAIL
|
|
#cmakedefine CHANNEL_RAIL_CLIENT
|
|
#cmakedefine CHANNEL_RAIL_SERVER
|
|
#cmakedefine CHANNEL_RDPDR
|
|
#cmakedefine CHANNEL_RDPDR_CLIENT
|
|
#cmakedefine CHANNEL_RDPDR_SERVER
|
|
#cmakedefine CHANNEL_RDPEI
|
|
#cmakedefine CHANNEL_RDPEI_CLIENT
|
|
#cmakedefine CHANNEL_RDPEI_SERVER
|
|
#cmakedefine CHANNEL_RDPGFX
|
|
#cmakedefine CHANNEL_RDPGFX_CLIENT
|
|
#cmakedefine CHANNEL_RDPGFX_SERVER
|
|
#cmakedefine CHANNEL_RDPSND
|
|
#cmakedefine CHANNEL_RDPSND_CLIENT
|
|
#cmakedefine CHANNEL_RDPSND_SERVER
|
|
#cmakedefine CHANNEL_REMDESK
|
|
#cmakedefine CHANNEL_REMDESK_CLIENT
|
|
#cmakedefine CHANNEL_REMDESK_SERVER
|
|
#cmakedefine CHANNEL_SERIAL
|
|
#cmakedefine CHANNEL_SERIAL_CLIENT
|
|
#cmakedefine CHANNEL_SERIAL_SERVER
|
|
#cmakedefine CHANNEL_SMARTCARD
|
|
#cmakedefine CHANNEL_SMARTCARD_CLIENT
|
|
#cmakedefine CHANNEL_SMARTCARD_SERVER
|
|
#cmakedefine CHANNEL_SSHAGENT
|
|
#cmakedefine CHANNEL_SSHAGENT_CLIENT
|
|
#cmakedefine CHANNEL_SSHAGENT_SERVER
|
|
#cmakedefine CHANNEL_TSMF
|
|
#cmakedefine CHANNEL_TSMF_CLIENT
|
|
#cmakedefine CHANNEL_TSMF_SERVER
|
|
#cmakedefine CHANNEL_URBDRC
|
|
#cmakedefine CHANNEL_URBDRC_CLIENT
|
|
#cmakedefine CHANNEL_URBDRC_SERVER
|
|
|
|
/* Debug */
|
|
#cmakedefine WITH_DEBUG_CERTIFICATE
|
|
#cmakedefine WITH_DEBUG_CAPABILITIES
|
|
#cmakedefine WITH_DEBUG_CHANNELS
|
|
#cmakedefine WITH_DEBUG_CLIPRDR
|
|
#cmakedefine WITH_DEBUG_RDPGFX
|
|
#cmakedefine WITH_DEBUG_DVC
|
|
#cmakedefine WITH_DEBUG_TSMF
|
|
#cmakedefine WITH_DEBUG_KBD
|
|
#cmakedefine WITH_DEBUG_LICENSE
|
|
#cmakedefine WITH_DEBUG_NEGO
|
|
#cmakedefine WITH_DEBUG_NLA
|
|
#cmakedefine WITH_DEBUG_NTLM
|
|
#cmakedefine WITH_DEBUG_TSG
|
|
#cmakedefine WITH_DEBUG_RAIL
|
|
#cmakedefine WITH_DEBUG_RDP
|
|
#cmakedefine WITH_DEBUG_REDIR
|
|
#cmakedefine WITH_DEBUG_RDPDR
|
|
#cmakedefine WITH_DEBUG_RFX
|
|
#cmakedefine WITH_DEBUG_SCARD
|
|
#cmakedefine WITH_DEBUG_SND
|
|
#cmakedefine WITH_DEBUG_SVC
|
|
#cmakedefine WITH_DEBUG_RDPEI
|
|
#cmakedefine WITH_DEBUG_TIMEZONE
|
|
#cmakedefine WITH_DEBUG_THREADS
|
|
#cmakedefine WITH_DEBUG_MUTEX
|
|
#cmakedefine WITH_DEBUG_TRANSPORT
|
|
#cmakedefine WITH_DEBUG_WND
|
|
#cmakedefine WITH_DEBUG_X11
|
|
#cmakedefine WITH_DEBUG_X11_CLIPRDR
|
|
#cmakedefine WITH_DEBUG_X11_LOCAL_MOVESIZE
|
|
#cmakedefine WITH_DEBUG_XV
|
|
#cmakedefine WITH_DEBUG_RINGBUFFER
|
|
|
|
#endif /* FREERDP_CONFIG_H */
|