Re: [FFmpeg-devel] [GSOC] [PATCH] ESPCN super-resolution

2018-07-17 Thread Lou Logan
On Tue, Jul 17, 2018, at 11:29 AM, Pedro Arthur wrote:
>
> It seems gmail just delivered your second patch email from 06/28 today
> (delivered after 1670067 seconds), that's why already pushed the first
> one and fixed the warnings.

It was stuck in the ffmpeg-devel moderation queue due to its size (limit is 
1000 kilobytes), and I was away since 06/28, so there was a backlog of messages 
to approve. I did not take the time to properly triage all of the non-spam 
messages like I usually do and simply just approved the valid messages.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] [GSOC] [PATCH] ESPCN super-resolution

2018-07-17 Thread Pedro Arthur
2018-07-17 16:21 GMT-03:00 Pedro Arthur :
> Hi,
>
> 2018-06-28 7:20 GMT-03:00 Sergey Lavrushkin :
>>
>> Here is the patch with fixed warnings.
>
> I already pushed the previous patch and fixed the compiler warnings.
> If there is any change besides the warnings could you send a new patch
> against latest git HEAD?
> Thanks!
It seems gmail just delivered your second patch email from 06/28 today
(delivered after 1670067 seconds), that's why already pushed the first
one and fixed the warnings.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] [GSOC] [PATCH] ESPCN super-resolution

2018-07-17 Thread Pedro Arthur
Hi,

2018-06-28 7:20 GMT-03:00 Sergey Lavrushkin :
>
> Here is the patch with fixed warnings.

I already pushed the previous patch and fixed the compiler warnings.
If there is any change besides the warnings could you send a new patch
against latest git HEAD?
Thanks!
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] [GSOC] [PATCH] ESPCN super-resolution

2018-07-02 Thread Pedro Arthur
Warnings fixed and patch pushed.

Thanks.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] [GSOC] [PATCH] ESPCN super-resolution

2018-06-27 Thread Michael Niedermayer
On Tue, Jun 26, 2018 at 06:48:47PM +0300, Sergey Lavrushkin wrote:
> Hello,
> 
> This patch adds ESPCN super-resolution model to the srcnn filter,
> renamed to sr filter. Scaling is now performed inside the sr filter,
> so it does not require call to scale before it. But for SRCNN model
> scaling factor should be specified.

>  b/configure|8 
>  b/libavfilter/Makefile |2 
>  b/libavfilter/allfilters.c |2 
>  b/libavfilter/dnn_backend_native.c |  283 
>  b/libavfilter/dnn_backend_tf.c |   74 
>  b/libavfilter/dnn_espcn.h  |12637 
> +
>  b/libavfilter/dnn_interface.h  |4 
>  b/libavfilter/dnn_srcnn.h  |   14 
>  b/libavfilter/vf_sr.c  |  354 +
>  libavfilter/vf_srcnn.c |  250 
>  10 files changed, 13249 insertions(+), 379 deletions(-)
> eb384c9682c7b731d215cac042f5c75b48943319  adds_espcn_model.patch
> From 9146726c52aa5c3a8c34b25a122a39910b5f4b0b Mon Sep 17 00:00:00 2001
> From: Sergey Lavrushkin 
> Date: Thu, 14 Jun 2018 00:37:12 +0300
> Subject: [PATCH] Adds ESPCN super resolution filter merged with SRCNN filter.

this produces some build warnings:
CC  libavfilter/vf_sr.o
libavfilter/vf_sr.c: In function ‘filter_frame’:
libavfilter/vf_sr.c:272:19: warning: passing argument 2 of ‘sws_scale’ from 
incompatible pointer type [enabled by default]
   0, sr_context->sws_slice_h, out->data, out->linesize);
   ^
In file included from libavfilter/vf_sr.c:33:0:
./libswscale/swscale.h:217:5: note: expected ‘const uint8_t * const*’ but 
argument is of type ‘uint8_t **’
 int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
 ^
libavfilter/vf_sr.c:281:23: warning: passing argument 2 of ‘sws_scale’ from 
incompatible pointer type [enabled by default]
   0, sr_context->sws_slice_h, out->data + 1, out->linesize 
+ 1);
   ^
In file included from libavfilter/vf_sr.c:33:0:
./libswscale/swscale.h:217:5: note: expected ‘const uint8_t * const*’ but 
argument is of type ‘uint8_t **’
 int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
 ^
libavfilter/vf_sr.c:283:23: warning: passing argument 2 of ‘sws_scale’ from 
incompatible pointer type [enabled by default]
   0, sr_context->sws_slice_h, out->data + 2, out->linesize 
+ 2);
   ^
In file included from libavfilter/vf_sr.c:33:0:
./libswscale/swscale.h:217:5: note: expected ‘const uint8_t * const*’ but 
argument is of type ‘uint8_t **’
 int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
 ^
[...]
-- 
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato


signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel