Re: [FFmpeg-devel] [PATCH v4 01/11] avfilter/dnn: Refactor DNN parameter configuration system

2024-05-18 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of Zhao > Zhili > Sent: Wednesday, May 8, 2024 12:08 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Zhao Zhili > Subject: [FFmpeg-devel] [PATCH v4 01/11] avfilter/dnn: Refactor DNN > parameter configuration system > > From: Zhao Zhili > >

Re: [FFmpeg-devel] [PATCH v4 11/11] avfilter/vf_dnn_detect: Fix null pointer dereference

2024-05-21 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Tuesday, May 21, 2024 3:12 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v4 11/11] avfilter/vf_dnn_detect: Fix null > pointer dereference > > Zhao Zhili: > > From: Zhao Zhili >

Re: [FFmpeg-devel] [PATCH v4 10/11] avfilter/dnn: Remove a level of dereference

2024-05-30 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of Zhao > Zhili > Sent: Wednesday, May 8, 2024 12:08 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Zhao Zhili > Subject: [FFmpeg-devel] [PATCH v4 10/11] avfilter/dnn: Remove a level of > dereference > > From: Zhao Zhili > > For code such

Re: [FFmpeg-devel] [PATCH] libavfi/dnn: enable LibTorch xpu device option support

2024-06-08 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > wenbin.chen-at-intel@ffmpeg.org > Sent: Monday, June 3, 2024 1:10 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH] libavfi/dnn: enable LibTorch xpu device option > support > > From: Wenbin Chen > > Add xpu

Re: [FFmpeg-devel] [PATCH] configure: Disable DNN without backend

2024-06-11 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Monday, June 10, 2024 11:36 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Andreas Rheinhardt > Subject: [FFmpeg-devel] [PATCH] configure: Disable DNN without backend > > The DNN filters are useless without a

Re: [FFmpeg-devel] [PATCH] avfilter/dnn/dnn_backend_common: check thread create status before join thread

2021-11-24 Thread Guo, Yejun
-Original Message- From: ffmpeg-devel On Behalf Of Steven Liu Sent: 2021年11月19日 20:48 To: ffmpeg-devel@ffmpeg.org Cc: Steven Liu ; Yu Yang Subject: [FFmpeg-devel] [PATCH] avfilter/dnn/dnn_backend_common: check thread create status before join thread From: Steven Liu fix SIGSEGV prob

Re: [FFmpeg-devel] [PATCH] libavfilter/dnn/openvino: Reduce redundant memory allocation

2023-11-10 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > wenbin.chen-at-intel@ffmpeg.org > Sent: Thursday, November 9, 2023 4:13 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH] libavfilter/dnn/openvino: Reduce > redundant memory allocation > > From: Wenbin Chen

Re: [FFmpeg-devel] [PATCH 2/2] libavfilter/vf_dnn_detect: Add yolo support

2023-11-24 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > wenbin.chen-at-intel@ffmpeg.org > Sent: Tuesday, November 21, 2023 10:20 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 2/2] libavfilter/vf_dnn_detect: Add yolo > support > > From: Wenbin Chen > > Add yol

Re: [FFmpeg-devel] [PATCH 4/4] libavfilter/vf_dnn_detect: Set used pointer to NULL

2023-12-15 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > wenbin.chen-at-intel@ffmpeg.org > Sent: Thursday, December 14, 2023 10:49 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 4/4] libavfilter/vf_dnn_detect: Set used > pointer to NULL > > From: Wenbin Chen > > S

Re: [FFmpeg-devel] [PATCH v2 1/4] libavfiter/dnn_backend_openvino: Add multiple output support

2023-12-15 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > wenbin.chen-at-intel@ffmpeg.org > Sent: Tuesday, December 12, 2023 10:34 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v2 1/4] libavfiter/dnn_backend_openvino: > Add multiple output support > > From: Wenbi

[FFmpeg-devel] [PATCH 4/8] libavfilter/dnn: determine dnn output during execute_model instead of set_input_output

2019-04-01 Thread Guo, Yejun
props Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_native.c | 14 +- libavfilter/dnn_backend_native.h | 2 +- libavfilter/dnn_backend_tf.c | 55 libavfilter/dnn_backend_tf.h | 2 +- libavfilter/dnn_interface.h

[FFmpeg-devel] [PATCH 1/8] libavfilter/dnn_backend_tf.c: set layer_add_res for input layer

2019-04-01 Thread Guo, Yejun
otherwise, the following check will return error if layer_add_res is randomly initialized. Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_tf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/dnn_backend_tf.c b/libavfilter/dnn_backend_tf.c index 5bc7f06..9e0c127 100644

[FFmpeg-devel] [PATCH 6/8] libavfilter/dnn: support multiple outputs for tensorflow model

2019-04-01 Thread Guo, Yejun
interleaved. Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_native.c | 15 +--- libavfilter/dnn_backend_native.h | 2 +- libavfilter/dnn_backend_tf.c | 80 libavfilter/dnn_backend_tf.h | 2 +- libavfilter/dnn_interface.h | 6

[FFmpeg-devel] [PATCH 5/8] libavfilter/dnn: avoid memcpy for tensorflow dnn output

2019-04-01 Thread Guo, Yejun
use TF_Tensor's cpu address to avoid extra memcpy. Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_tf.c | 37 - libavfilter/vf_sr.c | 3 --- 2 files changed, 12 insertions(+), 28 deletions(-) diff --git a/libavfilter/dnn_backend_t

[FFmpeg-devel] [PATCH 3/8] libavfilter/dnn: remove limit for the name of DNN model input/output

2019-04-01 Thread Guo, Yejun
remove the requirment that the name of DNN model input/output should be "x"/"y", Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_native.c | 2 +- libavfilter/dnn_backend_tf.c | 10 +- libavfilter/dnn_interface.h | 2 +- libavfilter/vf_sr.c

[FFmpeg-devel] [PATCH 2/8] libavfilter/vf_sr: refine code to remove keyword 'else'

2019-04-01 Thread Guo, Yejun
remove 'else' since there is always 'return' in 'if' scope, so the code will be clean for later maintenance Signed-off-by: Guo, Yejun --- libavfilter/vf_sr.c | 143 ++-- 1 file changed, 71 insertions(+), 72 deletion

[FFmpeg-devel] [PATCH 8/8][RFC] libavfilter/vf_objectdetect: add a filter for object detection

2019-04-01 Thread Guo, Yejun
can get the filter result and set ROI info for encoder. Looks that, it is not easy to transfer data between filters, between filter and application, between filter and encoders, the current feasible method I found is to by sidedata. Signed-off-by: Guo, Yejun --- configure |

[FFmpeg-devel] [PATCH 7/8] libavfilter/dnn: add more data type support for dnn model input

2019-04-01 Thread Guo, Yejun
currently, only float is supported as model input, actually, there are other data types, this patch adds uint8. Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_native.c | 4 +++- libavfilter/dnn_backend_tf.c | 28 libavfilter/dnn_interface.h | 10

Re: [FFmpeg-devel] [PATCH v2 2/6] lavu/frame: Expand ROI documentation

2019-04-03 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Wednesday, March 13, 2019 8:18 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v2 2/6] lavu/frame: Expand ROI > documentation > > Clarify and add exam

Re: [FFmpeg-devel] [PATCH] libavfilter: Add derain filter init version--GSoC Qualification Task.

2019-04-09 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of xwm...@pku.edu.cn > Sent: Tuesday, April 09, 2019 3:15 PM > To: ffmpeg-devel@ffmpeg.org > Cc: l...@chinaffmpeg.org > Subject: [FFmpeg-devel] [PATCH] libavfilter: Add derain filter init versio

[FFmpeg-devel] [PATCH] configure: sort decoder/encoder/filter/... names in alphabet order in one page

2019-04-10 Thread Guo, Yejun
#x27;s a little confused. This patch calculates the proper page length, so all the names are printed in one page, and so strictly in alphabet order, column by column. Signed-off-by: Guo, Yejun --- configure | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/configure b/

Re: [FFmpeg-devel] [PATCH] configure: sort decoder/encoder/filter/... names in alphabet order in one page

2019-04-10 Thread Guo, Yejun
igure: sort > decoder/encoder/filter/... names in alphabet order in one page > > 2019-04-10 17:16 GMT+02:00, Guo, Yejun : > > takes decoder names an example, with the default page length, > > shell command 'pr' needs two pages for all the decoder names. > > Th

[FFmpeg-devel] [PATCH] configure: sort decoder/encoder/filter/... names in alphabet order, row by row

2019-04-11 Thread Guo, Yejun
print_in_columns to print the names with printf in alphabet order, row by row. Signed-off-by: Guo, Yejun --- configure | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/configure b/configure index f6123f5..2666b4d 100755 --- a/configure +++ b/configure @@ -

Re: [FFmpeg-devel] [PATCH] configure: sort decoder/encoder/filter/... names in alphabet order, row by row

2019-04-14 Thread Guo, Yejun
> -Original Message- > From: Guo, Yejun > Sent: Friday, April 12, 2019 9:24 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Guo, Yejun > Subject: [PATCH] configure: sort decoder/encoder/filter/... names in > alphabet order, row by row > > take decoder names an exa

[FFmpeg-devel] [PATCH V2 2/2] configure: replace 'pr' with printf since busybox does not support pr

2019-04-14 Thread Guo, Yejun
ff-by: Guo, Yejun --- configure | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 45a9126..e596912 100755 --- a/configure +++ b/configure @@ -503,7 +503,11 @@ log(){ log_file(){ log BEGIN $1 -pr -n -t $1 >> $logfile +i=1 +

[FFmpeg-devel] [PATCH V2 1/2] configure: sort decoder/encoder/filter/... names in alphabet order

2019-04-14 Thread Guo, Yejun
print_in_columns to print the names with printf in alphabet order, very similar with 'pr -l', except the case when the last column is not fully filled with names. Signed-off-by: Guo, Yejun --- configure | 34 +- 1 file changed, 25 insertions(+), 9 deletion

Re: [FFmpeg-devel] [PATCH 8/8][RFC] libavfilter/vf_objectdetect: add a filter for object detection

2019-04-15 Thread Guo, Yejun
the patch 1 to patch 7 of this patch set asks for review and push. patch 8 (this patch) asks for comments, thanks. > -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Guo, Yejun > Sent: Tuesday, April 02, 2019 10:30 PM > T

Re: [FFmpeg-devel] [PATCH 4/8] libavfilter/dnn: determine dnn output during execute_model instead of set_input_output

2019-04-16 Thread Guo, Yejun
> -Original Message- > From: Steven Liu [mailto:l...@chinaffmpeg.org] > Sent: Tuesday, April 16, 2019 8:04 PM > To: FFmpeg development discussions and patches > Cc: Steven Liu ; Guo, Yejun > Subject: Re: [FFmpeg-devel] [PATCH 4/8] libavfilter/dnn: determine d

[FFmpeg-devel] native mode in FFmpeg DNN module

2019-04-19 Thread Guo, Yejun
Hi, The DNN module currently supports two backends, tensorflow (dnn_backend_tf.c) and native(dnn_backend_native.c). The native mode has external dependency, imho it's not good and need a change. I think it is still a proper timing for the change, for the limited functionality and performance of

Re: [FFmpeg-devel] native mode in FFmpeg DNN module

2019-04-19 Thread Guo, Yejun
> Hi, > > Em sex, 19 de abr de 2019 às 05:41, Guo, Yejun > escreveu: > > > > Option 2) > > Write c code in FFmpeg to convert tensorflow file format (format 1) directly > into memory representation (format 3), and so we controls everything in > ffmpeg communit

Re: [FFmpeg-devel] [PATCH V2 1/2] configure: sort decoder/encoder/filter/... names in alphabet order

2019-04-22 Thread Guo, Yejun
> decoder/encoder/filter/... names in alphabet order > > Hi! > > On 2019-04-15 21:23 +0800, Guo, Yejun wrote: > > take decoder names an example, with the default page length, shell > command > > 'pr' needs two pages for all the decoder names. The names a

[FFmpeg-devel] [PATCH V3 2/2] configure: replace 'pr' with printf since busybox does not support pr

2019-04-22 Thread Guo, Yejun
. As for the change in the first part, it is good. Just to make the whole thing completed, i send out this patch to copy exactally the change in function log_file. contributor: Kylie McClain Signed-off-by: Guo, Yejun --- configure | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[FFmpeg-devel] [PATCH V3 1/2] configure: sort decoder/encoder/filter/... names in alphabet order

2019-04-22 Thread Guo, Yejun
parameters. It gives the flexibility the input parameters can be considered as an array and can be indexed. contributor: Alexander Strasser Signed-off-by: Guo, Yejun --- configure | 32 +++- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/configure b

Re: [FFmpeg-devel] [PATCH V3 1/2] configure: sort decoder/encoder/filter/... names in alphabet order

2019-04-23 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > avih > Sent: Tuesday, April 23, 2019 8:14 PM > To: FFmpeg development discussions and patches > Cc: Guo, Yejun > Subject: Re: [FFmpeg-devel] [PATCH V3 1/2] conf

[FFmpeg-devel] [PATCH V4 2/2] configure: replace 'pr' with printf since busybox does not support pr

2019-04-23 Thread Guo, Yejun
. As for the change in the first part, it is good. Just to make the whole thing completed, i send out this patch to copy exactally the change in function log_file. contributor: Kylie McClain Signed-off-by: Guo, Yejun --- configure | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[FFmpeg-devel] [PATCH V4 1/2] configure: sort decoder/encoder/filter/... names in alphabet order

2019-04-23 Thread Guo, Yejun
print_in_columns to print the names with printf in alphabet order, very similar with 'pr -l', except the case when the last column is not fully filled with names. contributor: Alexander Strasser contributor: avih Signed-off-by: Guo, Yejun --- configure | 21 +++-- 1 fil

Re: [FFmpeg-devel] [PATCH V4 1/2] configure: sort decoder/encoder/filter/... names in alphabet order

2019-04-24 Thread Guo, Yejun
> -Original Message- > From: Guo, Yejun > Sent: Wednesday, April 24, 2019 3:29 PM > To: Guo, Yejun > Subject: Re: [FFmpeg-devel] [PATCH V4 1/2] configure: sort > decoder/encoder/filter/... names in alphabet order > > > print_in_columns() { > > -    cols

Re: [FFmpeg-devel] [PATCH V4 1/2] configure: sort decoder/encoder/filter/... names in alphabet order

2019-04-24 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > avih > Sent: Wednesday, April 24, 2019 5:22 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V4 1/2] configure: sort > decoder/encoder/filter/... name

Re: [FFmpeg-devel] [PATCH V4 2/2] configure: replace 'pr' with printf since busybox does not support pr

2019-04-24 Thread Guo, Yejun
> -Original Message- > From: Guo, Yejun > Sent: Wednesday, April 24, 2019 7:02 PM > To: Guo, Yejun > Subject: Re: [FFmpeg-devel] [PATCH V4 2/2] configure: replace 'pr' with printf > since busybox does not support pr > > > log_file(){ >

Re: [FFmpeg-devel] [PATCH V4 2/2] configure: replace 'pr' with printf since busybox does not support pr

2019-04-24 Thread Guo, Yejun
> From: avih [mailto:avih...@yahoo.com] > Sent: Wednesday, April 24, 2019 8:16 PM > To: Guo, Yejun ; FFmpeg development discussions and > patches > Subject: Re: [FFmpeg-devel] [PATCH V4 2/2] configure: replace 'pr' with printf > since busybox does not support pr >

[FFmpeg-devel] [PATCH V5 1/2] configure: sort decoder/encoder/filter/... names in alphabet order

2019-04-24 Thread Guo, Yejun
print_in_columns to print the names with printf in alphabet order, very similar with 'pr -l', except the case when the last column is not fully filled with names. contributor: Alexander Strasser contributor: avih Signed-off-by: Guo, Yejun --- configure | 26 +++

[FFmpeg-devel] [PATCH V5 2/2] configure: replace 'pr' with printf since busybox does not support pr

2019-04-24 Thread Guo, Yejun
This patch is based on https://trac.ffmpeg.org/ticket/5680 provided by Kylie McClain at Wed, 29 Jun 2016 16:37:20 -0400, and have some changes. contributor: Kylie McClain contributor: avih Signed-off-by: Guo, Yejun --- configure | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions

Re: [FFmpeg-devel] [PATCH V5 1/2] configure: sort decoder/encoder/filter/... names in alphabet order

2019-04-24 Thread Guo, Yejun
> > From: avih [mailto:avih...@yahoo.com] > Sent: Wednesday, April 24, 2019 9:22 PM > To: FFmpeg development discussions and patches > Cc: Guo, Yejun > Subject: Re: [FFmpeg-devel] [PATCH V5 1/2] configure: sort > decoder/encoder/filter/... names in alphabet order >

[FFmpeg-devel] [PATCH V2 2/7] libavfilter/vf_sr: refine code to remove keyword 'else'

2019-04-24 Thread Guo, Yejun
remove 'else' since there is always 'return' in 'if' scope, so the code will be clean for later maintenance Signed-off-by: Guo, Yejun --- libavfilter/vf_sr.c | 143 ++-- 1 file changed, 71 insertions(+), 72 deletion

[FFmpeg-devel] [PATCH V2 4/7] libavfilter/dnn: determine dnn output during execute_model instead of set_input_output

2019-04-24 Thread Guo, Yejun
props Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_native.c | 14 +- libavfilter/dnn_backend_native.h | 2 +- libavfilter/dnn_backend_tf.c | 56 libavfilter/dnn_backend_tf.h | 2 +- libavfilter/dnn_interface.h

[FFmpeg-devel] [PATCH V2 3/7] libavfilter/dnn: remove limit for the name of DNN model input/output

2019-04-24 Thread Guo, Yejun
remove the requirment that the name of DNN model input/output should be "x"/"y", Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_native.c | 2 +- libavfilter/dnn_backend_tf.c | 10 +- libavfilter/dnn_interface.h | 2 +- libavfilter/vf_sr.c

[FFmpeg-devel] [PATCH V2 1/7] libavfilter/dnn_backend_tf.c: set layer_add_res for input layer

2019-04-24 Thread Guo, Yejun
otherwise, the following check will return error if layer_add_res is randomly initialized. Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_tf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/dnn_backend_tf.c b/libavfilter/dnn_backend_tf.c index 5bc7f06..9e0c127 100644

[FFmpeg-devel] [PATCH V2 7/7] libavfilter/dnn: add more data type support for dnn model input

2019-04-24 Thread Guo, Yejun
currently, only float is supported as model input, actually, there are other data types, this patch adds uint8. Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_native.c | 4 +++- libavfilter/dnn_backend_tf.c | 28 libavfilter/dnn_interface.h | 10

[FFmpeg-devel] [PATCH V2 5/7] libavfilter/dnn: avoid memcpy for tensorflow dnn output

2019-04-24 Thread Guo, Yejun
use TF_Tensor's cpu address to avoid extra memcpy. Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_tf.c | 36 libavfilter/vf_sr.c | 3 --- 2 files changed, 12 insertions(+), 27 deletions(-) diff --git a/libavfilter/dnn_backend_t

[FFmpeg-devel] [PATCH V2 6/7] libavfilter/dnn: support multiple outputs for tensorflow model

2019-04-24 Thread Guo, Yejun
interleaved. Signed-off-by: Guo, Yejun --- libavfilter/dnn_backend_native.c | 15 +--- libavfilter/dnn_backend_native.h | 2 +- libavfilter/dnn_backend_tf.c | 80 libavfilter/dnn_backend_tf.h | 2 +- libavfilter/dnn_interface.h | 6

Re: [FFmpeg-devel] native mode in FFmpeg DNN module

2019-04-25 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Guo, Yejun > Sent: Friday, April 19, 2019 11:22 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] native mode in FFmpeg DNN module > &g

Re: [FFmpeg-devel] native mode in FFmpeg DNN module

2019-04-26 Thread Guo, Yejun
> Em sex, 26 de abr de 2019 às 02:41, Guo, Yejun > escreveu: > > > > > > > > > -Original Message- > > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of > > > Guo, Yejun > > > Sent: Friday, April 19,

Re: [FFmpeg-devel] [PATCH V5 2/2] configure: replace 'pr' with printf since busybox does not support pr

2019-04-27 Thread Guo, Yejun
> From: avih [mailto:avih...@yahoo.com] > Sent: Wednesday, April 24, 2019 9:23 PM > To: FFmpeg development discussions and patches > Cc: Guo, Yejun > Subject: Re: [FFmpeg-devel] [PATCH V5 2/2] configure: replace 'pr' with printf > since busybox does not

Re: [FFmpeg-devel] [PATCH V5 1/2] configure: sort decoder/encoder/filter/... names in alphabet order

2019-04-28 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Alexander Strasser > Sent: Sunday, April 28, 2019 9:18 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V5 1/2] configure: sort > decoder/encoder/filt

Re: [FFmpeg-devel] [PATCH V5 1/2] configure: sort decoder/encoder/filter/... names in alphabet order

2019-04-28 Thread Guo, Yejun
> decoder/encoder/filter/... names in alphabet order > > On 2019-04-28 07:42 +, Guo, Yejun wrote: > > > -Original Message- > > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of > > > Alexander Strasser > > >

Re: [FFmpeg-devel] [PATCH] libavfilter: Add more operation supports in FFmpeg dnn native mode.

2019-04-28 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > xwm...@pku.edu.cn > Sent: Sunday, April 28, 2019 5:27 PM > To: ffmpeg development discussions and patches > Subject: [FFmpeg-devel] [PATCH] libavfilter: Add more operation supports in > FFmp

Re: [FFmpeg-devel] [PATCH] libavfilter: Add more operation supports in FFmpeg dnn native mode.

2019-04-29 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Pedro Arthur > Sent: Monday, April 29, 2019 11:26 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH] libavfilter: Add more operation supports > in > F

Re: [FFmpeg-devel] [PATCH V2 7/7] libavfilter/dnn: add more data type support for dnn model input

2019-04-29 Thread Guo, Yejun
> -Original Message- > From: Pedro Arthur [mailto:bygran...@gmail.com] > Sent: Tuesday, April 30, 2019 1:47 AM > To: FFmpeg development discussions and patches > Cc: Guo, Yejun > Subject: Re: [FFmpeg-devel] [PATCH V2 7/7] libavfilter/dnn: add more data type >

Re: [FFmpeg-devel] [PATCH] libavfilter: Add more operation supports in FFmpeg dnn native mode.

2019-05-04 Thread Guo, Yejun
> > > > @xwmeng, We now can support 3 padding options for conv layer. > > - valid: the same definition as TF model. (the size of feature map > > changed). > > - same: the same definition as TF model. (zero filled for outside pixels). > > - same_clamp_to_edge: just like 'same' option, but edge f

Re: [FFmpeg-devel] [PATCH V5 2/2] configure: replace 'pr' with printf since busybox does not support pr

2019-05-04 Thread Guo, Yejun
e 'pr' with printf > since busybox does not support pr > > Hi all! > > On 2019-04-28 00:38 +, Guo, Yejun wrote: > > > From: avih [mailto:avih...@yahoo.com] > > > Sent: Wednesday, April 24, 2019 9:23 PM > > > To: FFmpeg development discussions

Re: [FFmpeg-devel] [PATCH 1/2] configure: print_in_columns: Replace pr with awk

2019-05-04 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Alexander Strasser > Sent: Thursday, May 02, 2019 12:08 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 1/2] configure: print_in_columns: Replace pr > with awk > > Get rid

Re: [FFmpeg-devel] [PATCH V2 7/7] libavfilter/dnn: add more data type support for dnn model input

2019-05-05 Thread Guo, Yejun
> -Original Message- > From: Pedro Arthur [mailto:bygran...@gmail.com] > Sent: Tuesday, April 30, 2019 9:33 AM > To: Guo, Yejun > Cc: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V2 7/7] libavfilter/dnn: add more data type >

Re: [FFmpeg-devel] [PATCH V2 7/7] libavfilter/dnn: add more data type support for dnn model input

2019-05-05 Thread Guo, Yejun
add more data type > support for dnn model input > > Am So., 5. Mai 2019 um 10:45 Uhr schrieb Guo, Yejun : > > > I plan to first add unit tests in FATE for DNN module > > Does this module work without an external dependency? > > If not, you cannot add a fate test. Th

Re: [FFmpeg-devel] [PATCH V5 1/2] configure: sort decoder/encoder/filter/... names in alphabet order

2019-05-06 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Alexander Strasser > Sent: Tuesday, May 07, 2019 6:21 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V5 1/2] configure: sort > decoder/encoder/filte

Re: [FFmpeg-devel] [PATCH V2 7/7] libavfilter/dnn: add more data type support for dnn model input

2019-05-08 Thread Guo, Yejun
> -Original Message- > From: Pedro Arthur [mailto:bygran...@gmail.com] > Sent: Tuesday, April 30, 2019 1:47 AM > To: FFmpeg development discussions and patches > Cc: Guo, Yejun > Subject: Re: [FFmpeg-devel] [PATCH V2 7/7] libavfilter/dnn: add more data type >

Re: [FFmpeg-devel] [PATCH] libavfilter: Add multiple padding methods in FFmpeg dnn native mode.

2019-05-08 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > xwm...@pku.edu.cn > Sent: Wednesday, May 08, 2019 5:34 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH] libavfilter: Add multiple padding methods in > FFmpeg dnn native mode

Re: [FFmpeg-devel] [PATCH v2 2/6] lavu/frame: Expand ROI documentation

2019-05-08 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Guo, Yejun > Sent: Thursday, April 04, 2019 2:45 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v2 2/6] lavu/frame: Expand R

Re: [FFmpeg-devel] [PATCH v2] Add multiple padding method in dnn native

2019-05-14 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Steven Liu > Sent: Wednesday, May 15, 2019 10:38 AM > To: FFmpeg development discussions and patches > Cc: Xuewei Meng > Subject: Re: [FFmpeg-devel] [PATCH v2] Add multiple padding method i

Re: [FFmpeg-devel] [PATCH v2] Add multiple padding method in dnn native

2019-05-15 Thread Guo, Yejun
> > > From: Xuewei Meng [mailto:xwmen...@gmail.com] > Sent: Wednesday, May 15, 2019 4:41 PM > To: Guo, Yejun > Cc: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v2] Add multiple padding method in dnn > native > > > >

Re: [FFmpeg-devel] [PATCH v3] libavfilter/dnn_native: Add multiple padding methods in dnn native

2019-05-20 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Xuewei Meng > Sent: Saturday, May 18, 2019 3:19 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Xuewei Meng > Subject: [FFmpeg-devel] [PATCH v3] libavfilter/dnn_native: Add multiple > padding > meth

Re: [FFmpeg-devel] [PATCH] libavfilter/dnn_native: Add multiple activation functions in dnn native

2019-05-21 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Xuewei Meng > Sent: Tuesday, May 21, 2019 2:53 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH] libavfilter/dnn_native: Add multiple > activation > functions in dnn native

[FFmpeg-devel] change for ROI interface/document

2019-05-21 Thread Guo, Yejun
> -Original Message- > From: Guo, Yejun > Sent: Thursday, May 09, 2019 10:08 AM > To: FFmpeg development discussions and patches > Cc: Mark Thompson > Subject: RE: [FFmpeg-devel] [PATCH v2 2/6] lavu/frame: Expand ROI > documentation > > > > >

Re: [FFmpeg-devel] native mode in FFmpeg DNN module

2019-05-22 Thread Guo, Yejun
> > > > > > Option 2) > > > > > > Write c code in FFmpeg to convert tensorflow file format (format 1) > > directly > > > > > into memory representation (format 3), and so we controls everything > > > > > in > > > > > ffmpeg community. And the conversion can be extended to import more > > file >

Re: [FFmpeg-devel] native mode in FFmpeg DNN module

2019-05-25 Thread Guo, Yejun
in FFmpeg DNN module > > > > > 在 2019年5月24日,20:34,Pedro Arthur 写 > 道: > > > > Em qui, 23 de mai de 2019 às 00:06, Guo, Yejun > escreveu: > >> > >> > >> > >>>>>>>> Option 2) > >>>>>>>> Write c

[FFmpeg-devel] [PATCH 2/2] doc/filters: update how to generate native model for sr filter

2019-05-28 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- doc/filters.texi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 4fdcfe9..75d2a38 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -16538,9 +16538,10 @@ Efficient Sub-Pixel Convolutional

[FFmpeg-devel] [PATCH 1/2] libavfilter/dnn: add script to convert TensorFlow model (.pb) to native model (.model)

2019-05-28 Thread Guo, Yejun
file is organized with protocol buffers, it is not easy to do such work with tiny c/c++ code, see more discussion at http://ffmpeg.org/pipermail/ffmpeg-devel/2019-May/244496.html. So, choose the python script. Signed-off-by: Guo, Yejun --- libavfilter/dnn/python/convert.py | 52

Re: [FFmpeg-devel] [PATCH 2/2] doc/filters: update how to generate native model for sr filter

2019-05-28 Thread Guo, Yejun
e model for sr filter > > > > On 28-05-2019 01:31 PM, Guo, Yejun wrote: > > Signed-off-by: Guo, Yejun > > --- > > doc/filters.texi | 5 +++-- > > 1 file changed, 3 insertions(+), 2 deletions(-) > > > > diff --git a/doc/filters.texi b/doc/filters.texi >

Re: [FFmpeg-devel] [PATCH 1/2] libavfilter/dnn: add script to convert TensorFlow model (.pb) to native model (.model)

2019-05-28 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Liu Steven > Sent: Tuesday, May 28, 2019 6:00 PM > To: FFmpeg development discussions and patches > Cc: Liu Steven ; Guo, Yejun > Subject: Re: [FFmpeg-devel] [PATCH

[FFmpeg-devel] [PATCH] lavu/frame: fix typo for ROI (region of interest) documentation

2019-05-31 Thread Guo, Yejun
there is already a nice patch set to fix the ROI documentation, but it is pending, see https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2019-May/20.html so just fix this obvious typo that the document does not match the code. Signed-off-by: Guo, Yejun --- libavutil/frame.h | 2 +- 1 file

Re: [FFmpeg-devel] [PATCH V1 3/3] lavf/sr: Refine the coding style for init

2019-06-02 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Jun Zhao > Sent: Saturday, June 01, 2019 12:58 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Jun Zhao > Subject: [FFmpeg-devel] [PATCH V1 3/3] lavf/sr: Refine the coding style for > init > > From

Re: [FFmpeg-devel] [PATCH V5 1/2] configure: sort decoder/encoder/filter/... names in alphabet order

2019-06-02 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > avih > Sent: Monday, June 03, 2019 6:29 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V5 1/2] configure: sort > decoder/encoder/filter/... names in

Re: [FFmpeg-devel] [PATCH v3 1/5] lavu/frame: Improve ROI documentation

2019-06-03 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Tuesday, June 04, 2019 7:19 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v3 1/5] lavu/frame: Improve ROI > documentation > > Clarify and add exampl

Re: [FFmpeg-devel] [PATCH v3 2/5] libx264: Update ROI behaviour to match documentation

2019-06-03 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Tuesday, June 04, 2019 7:19 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v3 2/5] libx264: Update ROI behaviour to match > documentation > > Fix the

Re: [FFmpeg-devel] [PATCH v3 3/5] libx265: Update ROI behaviour to match documentation

2019-06-03 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Tuesday, June 04, 2019 7:19 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v3 3/5] libx265: Update ROI behaviour to match > documentation > > Equival

[FFmpeg-devel] [PATCH V2 2/2] doc/filters: update how to generate native model for sr filter

2019-06-04 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- doc/filters.texi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index 5db8e03..911cf69 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -16554,10 +16554,13 @@ Efficient Sub-Pixel Convolutional

[FFmpeg-devel] [PATCH V2 1/2] libavfilter/dnn: add script to convert TensorFlow model (.pb) to native model (.model)

2019-06-04 Thread Guo, Yejun
file is organized with protocol buffers, it is not easy to do such work with tiny c/c++ code, see more discussion at http://ffmpeg.org/pipermail/ffmpeg-devel/2019-May/244496.html. So, choose the python script. Signed-off-by: Guo, Yejun --- .gitignore| 1

Re: [FFmpeg-devel] [PATCH V2 1/2] libavfilter/dnn: add script to convert TensorFlow model (.pb) to native model (.model)

2019-06-09 Thread Guo, Yejun
> -Original Message- > From: Guo, Yejun > Sent: Tuesday, June 04, 2019 3:10 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Guo, Yejun > Subject: [PATCH V2 1/2] libavfilter/dnn: add script to convert TensorFlow > model > (.pb) to native model (.model) > > For e

Re: [FFmpeg-devel] [PATCH V2 1/2] libavfilter/dnn: add script to convert TensorFlow model (.pb) to native model (.model)

2019-06-11 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Guo, Yejun > Sent: Monday, June 10, 2019 11:10 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH V2 1/2] libavfilter/dnn: add script to > convert

Re: [FFmpeg-devel] [PATCH V2 1/2] libavfilter/dnn: add script to convert TensorFlow model (.pb) to native model (.model)

2019-06-12 Thread Guo, Yejun
cript to > convert TensorFlow model (.pb) to native model (.model) > > Hi, > > Em ter, 11 de jun de 2019 às 05:00, Guo, Yejun > escreveu: > > > > > > there are three options for the place to put these .py scripts. > > 1) at libavfilter/dnn/python/ >

[FFmpeg-devel] [PATCH V3 3/3] tools/python: move .py scripts from tools to tools/python

2019-06-12 Thread Guo, Yejun
so, all the .py scripts will be under tools/python/ Signed-off-by: Guo, Yejun --- tools/normalize.py| 33 - tools/python/normalize.py | 33 + tools/python/zmqshell.py | 26 ++ tools/zmqshell.py

[FFmpeg-devel] [PATCH V3 1/3] tools/python: add script to convert TensorFlow model (.pb) to native model (.model)

2019-06-12 Thread Guo, Yejun
file is organized with protocol buffers, it is not easy to do such work with tiny c/c++ code, see more discussion at http://ffmpeg.org/pipermail/ffmpeg-devel/2019-May/244496.html. So, choose the python script. Signed-off-by: Guo, Yejun --- .gitignore | 1 + tools

[FFmpeg-devel] [PATCH V3 2/3] doc/filters: update how to generate native model for sr filter

2019-06-12 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- doc/filters.texi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index ec1c7c7..fe6725a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -16588,10 +16588,13 @@ Efficient Sub-Pixel Convolutional

[FFmpeg-devel] [PATCH] libavfilter/dnn: move dnn files from libavfilter to libavfilter/dnn

2019-06-17 Thread Guo, Yejun
tf.h renamed:libavfilter/dnn_interface.c -> libavfilter/dnn/dnn_interface.c Signed-off-by: Guo, Yejun --- libavfilter/Makefile | 3 +- libavfilter/dnn/Makefile | 6 + libavfilter/dnn/dnn_backend_native.c | 389 ++ libavfilter/dnn/dnn_backend

Re: [FFmpeg-devel] [PATCH V3 1/3] tools/python: add script to convert TensorFlow model (.pb) to native model (.model)

2019-06-19 Thread Guo, Yejun
> -Original Message- > From: Guo, Yejun > Sent: Thursday, June 13, 2019 1:31 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Guo, Yejun > Subject: [PATCH V3 1/3] tools/python: add script to convert TensorFlow model > (.pb) to native model (.model) > > For example,

Re: [FFmpeg-devel] [PATCH V3 1/3] tools/python: add script to convert TensorFlow model (.pb) to native model (.model)

2019-06-24 Thread Guo, Yejun
h repo? thanks. > > Em qua, 19 de jun de 2019 às 21:29, Guo, Yejun > escreveu: > > > > > > > > > -Original Message- > > > From: Guo, Yejun > > > Sent: Thursday, June 13, 2019 1:31 PM > > > To: ffmpeg-devel@ffmpeg.org >

Re: [FFmpeg-devel] [PATCH v3 4/5] vaapi_encode: Add ROI support

2019-06-25 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Tuesday, June 04, 2019 7:19 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v3 4/5] vaapi_encode: Add ROI support > > +// For overlapping regi

Re: [FFmpeg-devel] [PATCH v3 3/5] libx265: Update ROI behaviour to match documentation

2019-06-25 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Guo, Yejun > Sent: Tuesday, June 04, 2019 2:46 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v3 3/5] libx265: Update ROI be

[FFmpeg-devel] [PATCH 1/2] dnn: add layer pad which is equivalent to tf.pad

2019-07-01 Thread Guo, Yejun
the reason to add this layer first is that vf_sr uses it in its tensorflow model, and the next plan is to update the python script to convert tf.pad into native model. Signed-off-by: Guo, Yejun --- libavfilter/dnn/Makefile | 1 + libavfilter/dnn

[FFmpeg-devel] [PATCH 2/2] fate: add unit test for dnn-layer-pad

2019-07-01 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- tests/Makefile | 5 +- tests/dnn/Makefile | 11 +++ tests/dnn/dnn-layer-pad-test.c | 201 + tests/fate/dnn.mak | 8 ++ 4 files changed, 224 insertions(+), 1 deletion(-) create mode

Re: [FFmpeg-devel] [PATCH 1/2] dnn: add layer pad which is equivalent to tf.pad

2019-07-01 Thread Guo, Yejun
> -Original Message- > From: Guo, Yejun > Sent: Monday, July 01, 2019 4:08 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Guo, Yejun > Subject: [PATCH 1/2] dnn: add layer pad which is equivalent to tf.pad > > the reason to add this layer first is that vf_sr uses it i

  1   2   3   4   5   6   7   8   9   >