[FFmpeg-devel] [PATCH] libavfilter:add opencl warpper and opencl code for deshake

Wei Gao highgod0401 at gmail.com
Sat Feb 16 04:24:55 CET 2013


I check the OpenCL Specification Version: 1.2, kernel functions and
variables should have the "kernel" or "global" prefix. and the attachment
is the fixed patch.

Thanks.

2013/2/7 highgod0401 <highgod0401 at gmail.com>

> **
>  not many functions start with __ in ffmpeg code.
> is this ok?
>
> I have remove the __global and __kernel
>
> ------------------------------
> highgod0401
>
>  *From:* compn <tempn at twmi.rr.com>
> *Date:* 2013-02-07 11:31
> *To:* ffmpeg-devel <ffmpeg-devel at ffmpeg.org>
> *Subject:* Re: [FFmpeg-devel] [PATCH] libavfilter:add opencl warpper and
> opencl code for deshake
>  On Wed, 6 Feb 2013 20:00:03 +0800, highgod0401 wrote:
> >From 0d5e7ae7127f0037270d2cba7ee13efff8c72635 Mon Sep 17 00:00:00 2001
> >From: highgod0401 <highgod0401 at gmail.com>
> >Date: Wed, 6 Feb 2013 19:50:01 +0800
> >Subject: [PATCH] add opencl warpper and opencl code for deshake
>
> >+__kernel void avfilter_transform(__global unsigned char *src,
> >+                                 __global  unsigned char *dst,
> >+                                 __global  float         *matrix,
> >+                                 __global  float         *matrix2,
> >+                                           int           interpolate,
> >+                                           int           fillmethod,
> >+                                           int           src_stride_lu,
>
> not many functions start with __ in ffmpeg code.
> is this ok?
>
> -compn
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-opencl-warpper-and-opencl-code-for-deshake.patch
Type: application/octet-stream
Size: 64806 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130216/a9a1bdcc/attachment.obj>


More information about the ffmpeg-devel mailing list