Re: [FFmpeg-devel] [PATCH] lavfi: add helper macro for OpenCL error handling.

2018-06-18 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Monday, June 18, 2018 2:17 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] lavfi: add helper macro for OpenCL error > handl

Re: [FFmpeg-devel] [PATCH] lavfi: add helper macro for OpenCL error handling.

2018-06-17 Thread Mark Thompson
On 15/06/18 03:36, Dan Yaschenko wrote: > On 12 June 2018 at 10:20, Ruiling Song wrote: > >> Signed-off-by: Ruiling Song >> --- >> I am not sure whether do you think this would be useful? >> the main purpose is to make OpenCL error check code simpler. >> If we think this is good, I can go to rep

Re: [FFmpeg-devel] [PATCH] lavfi: add helper macro for OpenCL error handling.

2018-06-14 Thread Dan Yaschenko
On 12 June 2018 at 10:20, Ruiling Song wrote: > Signed-off-by: Ruiling Song > --- > I am not sure whether do you think this would be useful? > the main purpose is to make OpenCL error check code simpler. > If we think this is good, I can go to replace current > OpenCL filters to use this macro.

[FFmpeg-devel] [PATCH] lavfi: add helper macro for OpenCL error handling.

2018-06-12 Thread Ruiling Song
Signed-off-by: Ruiling Song --- I am not sure whether do you think this would be useful? the main purpose is to make OpenCL error check code simpler. If we think this is good, I can go to replace current OpenCL filters to use this macro. for example: if (cle != CL_SUCCESS) { a