primitives: add openCL support
authorDavid Fort <contact@hardening-consulting.com>
Mon, 29 Jan 2018 15:20:59 +0000 (16:20 +0100)
committerakallabeth <akallabeth@users.noreply.github.com>
Fri, 22 Nov 2019 12:21:39 +0000 (13:21 +0100)
commit5f0943f0fe1c09592b293c085934575c4274a7ef
tree337ab6f4adc12f995182afec06558ad0ae24c7ec
parent7b743b3199d0bb0b06cddc95a1f2759d783864d4
primitives: add openCL support

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)
12 files changed:
CMakeLists.txt
cmake/FindOpenCL.cmake [new file with mode: 0644]
config.h.in
include/freerdp/primitives.h
libfreerdp/CMakeLists.txt
libfreerdp/codec/yuv.c
libfreerdp/primitives/prim_YUV.c
libfreerdp/primitives/prim_YUV_opencl.c [new file with mode: 0644]
libfreerdp/primitives/prim_YUV_ssse3.c
libfreerdp/primitives/prim_internal.h
libfreerdp/primitives/primitives.c
libfreerdp/primitives/primitives.cl [new file with mode: 0644]