summaryrefslogtreecommitdiff
path: root/opencl
AgeCommit message (Collapse)AuthorFilesLines
2015-09-16opencl: replace CLAMP macros with OpenCL built-in clampØyvind Kolås4-17/+6
Spotted and sorted out by Laura Ekstrand in bug #754914
2015-07-07color-exchange: add opencl supportThomas Manni2-0/+90
2015-05-25buffer: Add an abyss argument to gegl_buffer_copy, this changes the API butØyvind Kolås3-37/+37
doesn't add the implementation defaulting to GEGL_ABYSS_NONE all the time (and passing it, in almost all places, some could proably use CLAMP)
2015-05-23edge-laplace: use float4 vectors for pixelsNanley Chery2-286/+120
Signed-off-by: Nanley Chery <nanleychery@gmail.com>
2015-05-23operations: move checkerboard kernel source to opencl folderNanley Chery2-0/+58
2015-02-12Change sRGB Y values to match sRGB built-in profilesElle Stone2-6/+6
2014-12-07operations: fix mono-mixer cl code and re-enableAlexia Death2-4/+4
2014-12-06operations: add preserve luminocity option to mono-mixer op and disable ↵Alexia Death2-4/+28
broken CL code
2014-10-09sobel: Bring OpenCL implementation closer to the C oneMukund Sivaraman2-18/+16
There is still the case of removing the sobel radius and access out of rect bounds.
2014-10-08sobel: Rename property keep_signal to keep_signMukund Sivaraman2-4/+4
2014-06-19Add noise-simplex.cl.hSven Claussner1-0/+90
Add noise-simplex.cl.h to be able to build from a tarball or without Python and to be consistent with the other OpenCL operations.
2014-06-19OpenCl: Make noise-simplex kernel OpenCL 1.1 compliantJan Vesely1-7/+7
Makes the op run on mesa/clover. No static keyword, f suffix for float constants Fixes one error and 7 warnings Signed-off-by: Jan Vesely <jan vesely rutgers edu>
2014-05-16noise-simplex: actually add the filesØyvind Kolås1-0/+88
2014-04-20red-eye-removal: Use f suffix for float constantsJan Vesely2-8/+8
2014-04-20noise-cell: Use f suffix for float constants.Jan Vesely2-6/+6
Unsuffixed literal has type double (taken from c99 specs). Fixes clang warnings: warning: double precision constant requires cl_khr_fp64, casting to single precision
2014-04-20noise-cell: remove static keywordsJan Vesely2-8/+8
static keyword is not supported by OpenCL 1.1. See Ch. 6.8 Restrictions, letter g)
2014-04-15operations: add a cell noise operationDimitris Papavasiliou2-0/+390
Added a cell noise operation implementing the texture function described in Steven Worley. 1996. A cellular texture basis function. In Proceedings of the 23rd annual conference on Computer graphics and interactive techniques (SIGGRAPH '96).
2014-04-15Bug 727005: "C" and "cl" gegl:pixelize produce different resultsMassimo Valentini2-30/+48
* Use input bounding box, not only its width/height, to compute block color for partial blocks. * Always round down integer divisions
2014-02-24Add opencl implementation of operation texturize-canvas.Yongjia Zhang2-0/+62
2014-02-15Clean up formatting in box-blur.clDaniel Sabo2-104/+122
2014-02-15Make box-blur.cl match the committed box-blur.cl.hDaniel Sabo1-50/+50
2014-01-30This is a better way to accomplish the box-blur cl operation by using ocl'sYongjia Zhang2-0/+136
local memory from the opencv source code. It use the local shared memory to reduce global memory access, which significantly reduces the kernel's processing time by 70 percent compared to the original one. Because of the barriers and local worksize limitation, processing with a radius larger than 110 becomes slower than original algorithm, so I keep the original kernels in order to deal with box-blur with radius larger than 110. All the tests are based on Intel Beginet and Intel IvyBridge CPU and GPU. v2:add kernel attribute to restrict the local size to (256,1,1). Signed-off-by: Yongjia Zhang<yongjia.zhang@intel.com>
2013-12-11workshop: add the FIR case to the work-in-progress gaussian-blurTéo Mazars2-0/+148
Things missing are: - OpenCL handles only 4-components babl formats, - The IIR case doesn't make the extent grow
2013-12-09opencl: colors-8bit-lut typosMassimo Valentini2-9/+9
in GIMP gaussian-blurring (FIR) an image "R'G'B'A u8" used to produce a grayscale image when OpenCL was enabled
2013-11-15random: remove global constants definitions in random.clTéo Mazars2-10/+8
2013-11-15operations: add a way to impact each component individually for stretch-contrastTéo Mazars2-62/+64
for GIMP's compatibility sake
2013-11-14random: improve gegl-random implementationTéo Mazars4-142/+146
- introduce a GeglRandom structure instead of accessing the LUT each time - make a larger cycle for the seed - avoid segfault when a negative seed is given - use g(u)int64 instead of long to avoid plaform-dependant behavior - make opencl and operations follow that api change - build the GeglRandom structure in the gegl-chant machinery when using gegl_chant_seed - make sure the pointer gegl_random_data is 32bits aligned when used with CL_MEM_USE_HOST_PTR
2013-11-11operations: remove gegl:dotTéo Mazars2-145/+0
since it's now included in gegl:pixelize
2013-11-11operations: merge pixelize and dotTéo Mazars2-68/+218
... since they are similar - fix Bug 710059 - add a "diamond" shape - don't try to allocate too much memory - handle edges properly - the opencl version follows the change
2013-11-02opencl: Fix kernel compile warningsDaniel Sabo4-2/+52
2013-11-02colors.cl: Add some conversionsDaniel Sabo2-0/+86
2013-11-02colors.cl: Add some conversionsDaniel Sabo2-0/+88
2013-11-02colors.cl: Fix clipping in RGBA float -> RaGaBaA floatDaniel Sabo2-4/+4
2013-11-02opencl: Rebuild kernel stringsDaniel Sabo1-2/+2
Update missed in 7144d47bed8e35f303a0842b5c064166cd80f716.
2013-11-02OpenCL doesn't have static functions.Victor Oliveira1-2/+2
2013-11-01opencl: Replace u8 -> float gamma conversions with a small LUTDaniel Sabo4-256/+766
No performance testing done yet, but fixes some accuracy issues.
2013-11-01Fix some warnings in colors.clDaniel Sabo2-10/+10
2013-10-31opencl: fix a bunch of opencl compilation error with poclTéo Mazars6-12/+12
2013-10-31opencl: use -FLT_MAX instead of FLT_MIN as minimal valueTéo Mazars2-4/+4
2013-10-31Operations: Add OpenCL support to stretch-contrastCarlos Zubieta2-0/+274
2013-10-31Operations: Add OpenCL support to dotCarlos Zubieta2-0/+145
2013-10-31Added OpenCL support to posterizeCarlos Zubieta2-0/+58
2013-10-31Fix segfault caused for lack of input format in box-min and box-maxCarlos Zubieta3-3/+3
2013-10-31Added OpenCL support to red-eyed-removalCarlos Zubieta2-0/+86
2013-10-31Added OpenCL support to alien-mapCarlos Zubieta2-0/+72
2013-10-31Added OpenCL support to noise-hurlCarlos Zubieta2-0/+114
2013-10-31Changed data types in cl-random producing differences with gegl-randomCarlos Zubieta2-169/+25
2013-10-31Fixing random.cl path error and making it available for all the kernelsCarlos Zubieta2-2/+188
2013-10-31gegl-cl-random re-structuration, so it follows the gegl directory structureCarlos Zubieta1-0/+184
2013-10-31Using FLT_MAX and FLT_MIN insted of 1.0 and -1.0 in box-min and box-maxCarlos Zubieta4-8/+8