> -Original Message-
> From: ffmpeg-devel On Behalf Of
> gaojiang...@live.com
> Sent: 2021年3月4日 15:39
> To: ffmpeg-devel@ffmpeg.org
> Cc: Jiangjie Gao
> Subject: [FFmpeg-devel] [PATCH v1] avformat/rtsp: fix
> https://trac.ffmpeg.org/ticket/7517
>
> From: Jiangjie Gao
>
> Signed-off-b
> -Original Message-
> From: ffmpeg-devel On Behalf Of Nicolas
> George
> Sent: 2021年3月1日 22:51
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH V3 3/3] libavfilter: add filter dnn_detect
> for object detection
>
> Guo,
> -Original Message-
> From: ffmpeg-devel On Behalf Of Nicolas
> George
> Sent: 2021年3月1日 23:07
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH V4 2/4] libavfilter/buffersink.c: unref
> private_ref when frame leaves libavf
> -Original Message-
> From: ffmpeg-devel On Behalf Of Nicolas
> George
> Sent: 2021年3月1日 22:24
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH V4 2/4] libavfilter/buffersink.c: unref
> private_ref when frame leaves libavf
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Andreas Rheinhardt
> Sent: 2021年3月1日 21:50
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH V3 3/3] libavfilter: add filter dnn_detect
> for object detection
>
> Guo, Yejun:
> &g
> -Original Message-
> From: ffmpeg-devel On Behalf Of Nicolas
> George
> Sent: 2021年3月1日 21:57
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH V3 3/3] libavfilter: add filter dnn_detect
> for object detection
>
> Andreas Rheinhardt (12021-03-01):
> -Original Message-
> From: Nicolas George
> Sent: 2021年3月1日 21:36
> To: FFmpeg development discussions and patches
> Cc: Guo, Yejun
> Subject: Re: [FFmpeg-devel] [PATCH V4 2/4] libavfilter/buffersink.c: unref
> private_ref when frame leaves libavfilter
>
&
onfidence 100% and 69.17%.
Signed-off-by: Guo, Yejun
---
will update vf_drawbox/text to visualize the bounding boxes,
and will also add tensorflow support next.
configure | 1 +
doc/filters.texi | 40 +++
libavfilter/Makefile
Signed-off-by: Guo, Yejun
---
libavfilter/dnn_filter_common.c | 7 +++
libavfilter/dnn_filter_common.h | 1 +
libavfilter/dnn_interface.h | 6 --
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/libavfilter/dnn_filter_common.c b/libavfilter/dnn_filter_common.c
index
private_ref is for internal use by a single libav* library.
It has to be NULL when ownership of the frame leaves the respective library,
buffersink is the last step when the frame leaves libavfilter, so add unref
here.
Signed-off-by: Guo, Yejun
---
libavfilter/buffersink.c | 1 +
1 file
They will be used for filters such as detect and classify.
Signed-off-by: Guo, Yejun
---
libavfilter/bbox.h | 53 ++
1 file changed, 53 insertions(+)
diff --git a/libavfilter/bbox.h b/libavfilter/bbox.h
index 116158d59e..ead14417cc 100644
--- a
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Andreas Rheinhardt
> Sent: 2021年3月1日 20:24
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH V3 3/3] libavfilter: add filter dnn_detect
> for object detection
>
> Guo, Yejun:
> &g
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Andreas Rheinhardt
> Sent: 2021年3月1日 20:13
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH V3 3/3] libavfilter: add filter dnn_detect
> for object detection
>
> Guo, Yejun:
> &g
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Andreas Rheinhardt
> Sent: 2021年3月1日 16:31
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH V3 3/3] libavfilter: add filter dnn_detect
> for object detection
>
> Guo, Yejun:
> &g
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Andreas Rheinhardt
> Sent: 2021年3月1日 12:50
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH V3 3/3] libavfilter: add filter dnn_detect
> for object detection
>
> Guo, Yejun:
&g
> -Original Message-
> From: ffmpeg-devel On Behalf Of Nicolas
> George
> Sent: 2021年2月28日 19:45
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH V3 1/5] libavdevice/v4l2.c: fix build
> warning for [-Wformat-truncation=]
>
&
> -Original Message-
> From: ffmpeg-devel On Behalf Of Guo,
> Yejun
> Sent: 2021年2月25日 10:02
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH V3 3/3] libavfilter: add filter dnn_detect
> for object detection
>
>
>
> > -----Origin
s]
>
>
>
> > On 27 Feb 2021, at 09:14, Guo, Yejun wrote:
> >
> >
> >
> >> -Original Message-
> >> From: ffmpeg-devel On Behalf Of
> >> Paul B Mahol
> >> Sent: 2021年2月26日 19:37
> >> To: FFmpeg developmen
> -Original Message-
> From: ffmpeg-devel On Behalf Of Paul B
> Mahol
> Sent: 2021年2月26日 19:37
> To: FFmpeg development discussions and patches
> Cc: Guo, Yejun
> Subject: Re: [FFmpeg-devel] [PATCH V3 3/5] libavformat/protocols.c: fix build
> warning for
> -Original Message-
> From: Nicolas George
> Sent: 2021年2月26日 17:28
> To: FFmpeg development discussions and patches
> Cc: Guo, Yejun
> Subject: Re: [FFmpeg-devel] [PATCH V3 1/5] libavdevice/v4l2.c: fix build
> warning for [-Wformat-truncation=]
>
&
;
>
> > On 25 Feb 2021, at 18:52, Chad Fraleigh wrote:
> >
> > On 2/24/2021 10:38 PM, Guo, Yejun wrote:
> >> libavdevice/v4l2.c | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >> diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.
src/libavutil/opt.c: In function ‘av_opt_child_class_iterate’:
src/libavutil/opt.c:1738:15: warning: assignment discards ‘const’ qualifier
from pointer target type [-Wdiscarded-qualifiers]
*iter = parent->child_class_next(*iter);
^
Signed-off-by: Guo, Ye
e, sizeof(header_filename),
"%s/FragmentInfo(%s=%"PRIu64")", os->dirname, os->stream_type_tag, start_ts);
^~~~~~~~~~~
Signed-off-by: Guo, Yejun
---
libavformat/smoothstreamingenc.c | 19 +++
1 file changed, 15 insertions(+), 4 deletions(-)
diff
src/libavformat/protocols.c: In function ‘avio_enum_protocols’:
src/libavformat/protocols.c:116:7: warning: assignment discards ‘const’
qualifier from pointer target type [-Wdiscarded-qualifiers]
p = p ? p + 1 : url_protocols;
^
Signed-off-by: Guo, Yejun
---
libavformat/protocols.c
, c->dirname, os->initfile);
^~~~~~~~~~
Signed-off-by: Guo, Yejun
---
libavformat/dashenc.c | 19 +--
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
ind
%s", entry->d_name);
^~~~~~~~
Signed-off-by: Guo, Yejun
---
libavdevice/v4l2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 365bacd771..cb426cf2d5 100644
--- a/libavdevice/v4l2.
gt; [-Wformat-truncation=]
>
>
> > On 25 Feb 2021, at 07:38, Guo, Yejun wrote:
> > --- a/libavformat/smoothstreamingenc.c
> > +++ b/libavformat/smoothstreamingenc.c
> > @@ -501,7 +501,7 @@ static int ism_flush(AVFormatContext *s, int
> > final)
> >
> >
e, sizeof(header_filename),
"%s/FragmentInfo(%s=%"PRIu64")", os->dirname, os->stream_type_tag, start_ts);
^~~~~~~~~~~
Signed-off-by: Guo, Yejun
---
libavformat/smoothstreamingenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/smooth
src/libavformat/protocols.c: In function ‘avio_enum_protocols’:
src/libavformat/protocols.c:116:7: warning: assignment discards ‘const’
qualifier from pointer target type [-Wdiscarded-qualifiers]
p = p ? p + 1 : url_protocols;
^
Signed-off-by: Guo, Yejun
---
libavformat/protocols.c
src/libavutil/opt.c: In function ‘av_opt_child_class_iterate’:
src/libavutil/opt.c:1738:15: warning: assignment discards ‘const’ qualifier
from pointer target type [-Wdiscarded-qualifiers]
*iter = parent->child_class_next(*iter);
^
Signed-off-by: Guo, Ye
, c->dirname, os->initfile);
^~~~~~~~~~
Signed-off-by: Guo, Yejun
---
libavformat/dashenc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 2d757b3a87..b11
src/libavfilter/vf_vif.c: In function ‘process_frame’:
src/libavfilter/vf_vif.c:542:20: warning: ‘main’ is usually a function [-Wmain]
AVFrame *out, *main = NULL, *ref = NULL;
^~~~
Signed-off-by: Guo, Yejun
---
libavfilter/vf_vif.c | 14 +++---
1 file changed, 7
ane’:
src/libavfilter/vf_ssim.c:289:24: warning: ‘main’ is usually a function [-Wmain]
const uint8_t *main = td->main_data[c];
^~~~
Signed-off-by: Guo, Yejun
---
libavfilter/vf_ssim.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff -
%s", entry->d_name);
^~~~~~~~
Signed-off-by: Guo, Yejun
---
libavdevice/v4l2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c
index 365bacd771..e11d10d20e 100644
--- a/libavdevice/v4l2.
> -Original Message-
> From: ffmpeg-devel On Behalf Of Guo,
> Yejun
> Sent: 2021年2月24日 23:15
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH 1/8] libavdevice/v4l2.c: fix build warning
>
>
>
> > -Original Me
> -Original Message-
> From: Guo, Yejun
> Sent: 2021年2月22日 15:31
> To: ffmpeg-devel@ffmpeg.org
> Cc: Guo, Yejun
> Subject: [PATCH V3 3/3] libavfilter: add filter dnn_detect for object
> detection
>
> Below are the example steps to do object detection:
&
> -Original Message-
> From: ffmpeg-devel On Behalf Of Anton
> Khirnov
> Sent: 2021年2月24日 22:05
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH 1/8] libavdevice/v4l2.c: fix build warning
>
> Quoting Guo, Yejun (2021-02-20 0
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Andreas Rheinhardt
> Sent: 2021年2月24日 3:53
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/movtextenc: Check for too
> many styles
>
> Anton Khirnov:
> > Quotin
> -Original Message-
> From: ffmpeg-devel On Behalf Of Nicolas
> George
> Sent: 2021年2月23日 0:05
> To: FFmpeg development discussions and patches
> Cc: Guo, Yejun
> Subject: Re: [FFmpeg-devel] [PATCH V3 2/3] libavfilter/buffersink.c: unref
> private_ref when
onfidence 100% and 69.17%.
Signed-off-by: Guo, Yejun
---
configure | 1 +
doc/filters.texi | 40 +++
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/dnn/dnn_backend_openvino.c | 12
---
libavfilter/buffersink.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c
index 58848941d4..837a6e9e82 100644
--- a/libavfilter/buffersink.c
+++ b/libavfilter/buffersink.c
@@ -98,6 +98,7 @@ static int return_or_keep_frame(BufferSinkContext
They will be used for filters such as detect and classify.
Signed-off-by: Guo, Yejun
---
libavfilter/bbox.h | 45 +
1 file changed, 45 insertions(+)
diff --git a/libavfilter/bbox.h b/libavfilter/bbox.h
index 116158d59e..7c63dfa727 100644
--- a
ns and patches
> >>
> >> Subject: Re: [FFmpeg-devel] [PATCH 2/4] libavutil: add side data
> >> AV_FRAME_DATA_BOUNDING_BOXES
> >>
> >> Feb 19, 2021, 07:59 by yejun@intel.com:
> >>
> >> > Signed-off-by: Guo, Yejun
> >> > ---
>
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Andreas Rheinhardt
> Sent: 2021年2月21日 12:39
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/movtextenc: Check for too
> many styles
>
> Guo, Yejun:
> >
> >
&g
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Andreas Rheinhardt
> Sent: 2021年2月21日 12:12
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/movtextenc: Check for too
> many styles
>
> Guo, Yejun:
> >
> >
&g
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Andreas Rheinhardt
> Sent: 2021年2月21日 9:41
> To: ffmpeg-devel@ffmpeg.org
> Cc: Andreas Rheinhardt
> Subject: [FFmpeg-devel] [PATCH 1/2] avcodec/movtextenc: Check for too many
> styles
>
> The counter for the number of styles is w
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Andreas Rheinhardt
> Sent: Sunday, February 21, 2021 6:21 AM
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH 2/8] libavfilter/vf_ssim.c: fix build
> warning
>
> Guo, Yejun:
&g
9 by yejun@intel.com:
>
> > Signed-off-by: Guo, Yejun
> > ---
> > doc/APIchanges | 2 ++
> > libavutil/frame.c | 1 +
> > libavutil/frame.h | 7 +++
> > libavutil/version.h | 2 +-
> > 4 files changed, 11 insertions(+), 1 deletion(-)
>
src/libavutil/opt.c: In function ‘av_opt_child_class_iterate’:
src/libavutil/opt.c:1738:15: warning: assignment discards ‘const’ qualifier
from pointer target type [-Wdiscarded-qualifiers]
*iter = parent->child_class_next(*iter);
^
---
This patch set fixes build warnings du
src/libavcodec/movtextenc.c: In function ‘mov_text_style_start’:
src/libavcodec/movtextenc.c:358:26: warning: comparison is always false due to
limited range of data type [-Wtype-limits]
if (s->count + 1 > SIZE_MAX / sizeof(*s->style_attributes) ||
^
---
libavco
src/libavformat/protocols.c: In function ‘avio_enum_protocols’:
src/libavformat/protocols.c:116:7: warning: assignment discards ‘const’
qualifier from pointer target type [-Wdiscarded-qualifiers]
p = p ? p + 1 : url_protocols;
^
---
libavformat/protocols.c | 2 +-
1 file changed, 1 in
Part of the build message:
src/libavformat/smoothstreamingenc.c: In function ‘ism_flush’:
src/libavformat/smoothstreamingenc.c:510:49: warning: ‘/temp’ directive output
may be truncated writing 5 bytes into a region of size between 1 and 1024
[-Wformat-truncation=]
snprintf(filename, siz
Part of warning message:
src/libavformat/dashenc.c: In function ‘flush_init_segment’:
src/libavformat/dashenc.c:608:49: warning: ‘%s’ directive output may be
truncated writing up to 1023 bytes into a region of size between 1 and 1024
[-Wformat-truncation=]
snprintf(filename, sizeof(filen
src/libavfilter/vf_vif.c: In function ‘process_frame’:
src/libavfilter/vf_vif.c:542:20: warning: ‘main’ is usually a function [-Wmain]
AVFrame *out, *main = NULL, *ref = NULL;
^~~~
---
libavfilter/vf_vif.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-
The build warning message:
src/libavfilter/vf_ssim.c: In function ‘ssim_plane_16bit’:
src/libavfilter/vf_ssim.c:246:24: warning: ‘main’ is usually a function [-Wmain]
const uint8_t *main = td->main_data[c];
^~~~
src/libavfilter/vf_ssim.c: In function ‘ssim_plane’:
s
Here is the warning message:
src/libavdevice/v4l2.c: In function ‘v4l2_get_device_list’:
src/libavdevice/v4l2.c:1054:58: warning: ‘%s’ directive output may be truncated
writing up to 255 bytes into a region of size 251 [-Wformat-truncation=]
snprintf(device_name, sizeof(device_name), "/de
100% and 69.17%.
Signed-off-by: Guo, Yejun
---
configure | 1 +
doc/filters.texi | 40 +++
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/dnn/dnn_backend_openvino.c | 12 +
Signed-off-by: Guo, Yejun
---
doc/APIchanges | 2 ++
libavutil/frame.c | 1 +
libavutil/frame.h | 7 +++
libavutil/version.h | 2 +-
4 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/doc/APIchanges b/doc/APIchanges
index c353d2d281..3c6e9e351e 100644
--- a/doc
Signed-off-by: Guo, Yejun
---
libavfilter/f_sidedata.c | 2 ++
libavfilter/vf_showinfo.c | 38 ++
2 files changed, 40 insertions(+)
diff --git a/libavfilter/f_sidedata.c b/libavfilter/f_sidedata.c
index 3757723375..912fb0d881 100644
--- a/libavfilter
They will be used for filters such as detect and classify.
Signed-off-by: Guo, Yejun
---
libavfilter/bbox.h | 45 +
1 file changed, 45 insertions(+)
diff --git a/libavfilter/bbox.h b/libavfilter/bbox.h
index 116158d59e..7c63dfa727 100644
--- a
> -Original Message-
> From: Guo, Yejun
> Sent: 2021年2月19日 15:00
> To: ffmpeg-devel@ffmpeg.org
> Cc: Guo, Yejun
> Subject: [PATCH 4/4] libavfilter: add filter dnn_detect for object detection
>
> Below are the example steps to do object detection:
>
100% and 69.17%.
Signed-off-by: Guo, Yejun
---
configure | 1 +
doc/filters.texi | 40 +++
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/dnn/dnn_backend_openvino.c | 12 +
Signed-off-by: Guo, Yejun
---
libavfilter/f_sidedata.c | 2 ++
libavfilter/vf_showinfo.c | 38 ++
2 files changed, 40 insertions(+)
diff --git a/libavfilter/f_sidedata.c b/libavfilter/f_sidedata.c
index 3757723375..912fb0d881 100644
--- a/libavfilter
Signed-off-by: Guo, Yejun
---
doc/APIchanges | 2 ++
libavutil/frame.c | 1 +
libavutil/frame.h | 7 +++
libavutil/version.h | 2 +-
4 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/doc/APIchanges b/doc/APIchanges
index c353d2d281..3c6e9e351e 100644
--- a/doc
They will be used for filters such as detect and classify.
Signed-off-by: Guo, Yejun
---
libavfilter/bbox.h | 45 +
1 file changed, 45 insertions(+)
diff --git a/libavfilter/bbox.h b/libavfilter/bbox.h
index 116158d59e..7c63dfa727 100644
--- a
> -Original Message-
> From: ffmpeg-devel On Behalf Of Guo,
> Yejun
> Sent: 2021年2月16日 18:37
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH V2 08/10] libavutil: add side data
> AVDnnBoundingBox for dnn based de
avutil: add side data
> >> AVDnnBoundingBox for dnn based detect/classify filters
> >>
> >> On 10/02/2021 09:34, Guo, Yejun wrote:
> >>> Signed-off-by: Guo, Yejun
> >>> ---
> >>>doc/APIchanges | 2 ++
> >>
t; On 10/02/2021 09:34, Guo, Yejun wrote:
> > Signed-off-by: Guo, Yejun
> > ---
> > doc/APIchanges | 2 ++
> > libavutil/Makefile | 1 +
> > libavutil/dnn_bbox.h | 68
>
> > libavutil/frame.c| 1
Signed-off-by: Guo, Yejun
---
doc/APIchanges | 2 ++
libavutil/Makefile | 1 +
libavutil/dnn_bbox.h | 68
libavutil/frame.c| 1 +
libavutil/frame.h| 7 +
libavutil/version.h | 2 +-
6 files changed, 80 insertions(+), 1
From: Ting Fu
---
libavfilter/dnn/dnn_backend_openvino.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/dnn/dnn_backend_openvino.c
b/libavfilter/dnn/dnn_backend_openvino.c
index cca155a52c..5be053b7f8 100644
--- a/libavfilter/dnn/dnn_backend_openvino.c
+++ b
ize is 2048x1536, so the two bounding
boxese in the original image are
(330/672*2048=1006, 203/384*1536=812) -> (1085, 904) and
(887, 836) -> (966, 924), and we can check them manually.
Signed-off-by: Guo, Yejun
Next, we'll add tensorflow backend and update filter vf_drawbox et
Signed-off-by: Guo, Yejun
---
libavfilter/f_sidedata.c | 2 ++
libavfilter/vf_showinfo.c | 34 ++
2 files changed, 36 insertions(+)
diff --git a/libavfilter/f_sidedata.c b/libavfilter/f_sidedata.c
index 3757723375..08ee96c4ef 100644
--- a/libavfilter
Signed-off-by: Guo, Yejun
---
libavfilter/dnn/dnn_backend_native.c | 2 +-
libavfilter/dnn/dnn_backend_openvino.c | 23 ++-
libavfilter/dnn/dnn_backend_tf.c | 2 +-
libavfilter/dnn/dnn_io_proc.c | 56 +-
libavfilter/dnn/dnn_io_proc.h
the data type and order together decide the color format, we could
not use AVPixelFormat directly because not all the possible formats
are covered by it.
Signed-off-by: Guo, Yejun
---
libavfilter/dnn_interface.h | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a
So the backend knows the usage of model is for frame processing,
detect, classify, etc. Each function type has different behavior
in backend when handling the input/output data of the model.
Signed-off-by: Guo, Yejun
---
libavfilter/dnn/dnn_backend_native.c | 3 ++-
libavfilter/dnn
Signed-off-by: Guo, Yejun
---
libavfilter/Makefile| 1 +
libavfilter/dnn_filter_common.c | 106
libavfilter/dnn_filter_common.h | 59 ++
libavfilter/vf_derain.c | 46 +++---
libavfilter/vf_dnn_processing.c | 93
Signed-off-by: Guo, Yejun
---
libavfilter/dnn/dnn_backend_openvino.c | 21 +
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/libavfilter/dnn/dnn_backend_openvino.c
b/libavfilter/dnn/dnn_backend_openvino.c
index beca256390..48f5ba50be 100644
--- a/libavfilter
once we mark done for the task in function infer_completion_callback,
the task is possible to be release in function ff_dnn_get_async_result_ov
in another thread just after it, so we need to record request queue
first, instead of using task->ov_model->request_queue later.
Signed-off-b
> -Original Message-
> From: Guo, Yejun
> Sent: 2021年2月10日 12:59
> To: ffmpeg-devel@ffmpeg.org
> Cc: Guo, Yejun
> Subject: [PATCH 08/10] libavutil: add side data AVDnnBoundingBox for dnn
> based detect/classify filters
>
> Signed-off-by: Guo, Yejun
> --
t image size is 2048x1536, so the two bounding
boxese in the original image are
(330/672*2048=1006, 203/384*1536=812) -> (1085, 904) and
(887, 836) -> (966, 924), and we can check them manually.
Signed-off-by: Guo, Yejun
Next, we'll add tensorflow backend and update filter vf_drawbox et
Signed-off-by: Guo, Yejun
---
libavfilter/f_sidedata.c | 2 ++
libavfilter/vf_showinfo.c | 34 ++
2 files changed, 36 insertions(+)
diff --git a/libavfilter/f_sidedata.c b/libavfilter/f_sidedata.c
index 3757723375..08ee96c4ef 100644
--- a/libavfilter
Signed-off-by: Guo, Yejun
---
doc/APIchanges | 2 ++
libavutil/Makefile | 1 +
libavutil/dnn_bbox.h | 68
libavutil/frame.c| 1 +
libavutil/frame.h| 7 +
libavutil/version.h | 2 +-
6 files changed, 80 insertions(+), 1
From: Ting Fu
---
libavfilter/dnn/dnn_backend_openvino.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/dnn/dnn_backend_openvino.c
b/libavfilter/dnn/dnn_backend_openvino.c
index cca155a52c..5be053b7f8 100644
--- a/libavfilter/dnn/dnn_backend_openvino.c
+++ b
Signed-off-by: Guo, Yejun
---
libavfilter/dnn/dnn_backend_native.c | 2 +-
libavfilter/dnn/dnn_backend_openvino.c | 23 ++-
libavfilter/dnn/dnn_backend_tf.c | 2 +-
libavfilter/dnn/dnn_io_proc.c | 56 +-
libavfilter/dnn/dnn_io_proc.h
the data type and order together decide the color format, we could
not use AVPixelFormat directly because not all the possible formats
are covered by it.
Signed-off-by: Guo, Yejun
---
libavfilter/dnn_interface.h | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a
So the backend knows the usage of model is for frame processing,
detect, classify, etc. Each function type has different behavior
in backend when handling the input/output data of the model.
Signed-off-by: Guo, Yejun
---
libavfilter/dnn/dnn_backend_native.c | 3 ++-
libavfilter/dnn
Signed-off-by: Guo, Yejun
---
libavfilter/Makefile| 1 +
libavfilter/dnn_filter_common.c | 106
libavfilter/dnn_filter_common.h | 59 ++
libavfilter/vf_derain.c | 46 +++---
libavfilter/vf_dnn_processing.c | 93
once we mark done for the task in function infer_completion_callback,
the task is possible to be release in function ff_dnn_get_async_result_ov
in another thread just after it, so we need to record request queue
first, instead of using task->ov_model->request_queue later.
Signed-off-b
Signed-off-by: Guo, Yejun
---
libavfilter/dnn/dnn_backend_openvino.c | 21 +
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/libavfilter/dnn/dnn_backend_openvino.c
b/libavfilter/dnn/dnn_backend_openvino.c
index beca256390..48f5ba50be 100644
--- a/libavfilter
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Michael Niedermayer
> Sent: 2021年2月2日 17:48
> To: FFmpeg development discussions and patches
> Subject: [FFmpeg-devel] GSoC 2021
>
> Hi all
>
> Most people probably already know but just to be sure everyone knows GSoC
> 2021 is
the warning message is:
warning: missing braces around initializer [-Wmissing-braces]
Signed-off-by: Guo, Yejun
---
libavfilter/vf_pseudocolor.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_pseudocolor.c b/libavfilter/vf_pseudocolor.c
index 192839342b
27, 2021, 06:21 by yejun@intel.com:
>
> > Signed-off-by: Guo, Yejun
> > ---
> > libavutil/frame.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/libavutil/frame.h b/libavutil/frame.h index
> > 392315f40f..1aeafef6de 100644
Signed-off-by: Guo, Yejun
---
libavutil/frame.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/frame.h b/libavutil/frame.h
index 392315f40f..1aeafef6de 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -194,7 +194,7 @@ enum AVFrameSideDataType
> -Original Message-
> From: Guo, Yejun
> Sent: 2021年1月26日 9:25
> To: ffmpeg-devel@ffmpeg.org
> Cc: Guo, Yejun
> Subject: [PATCH 3/3] dnn_backend_openvino.c: remove extra semicolon
>
> Signed-off-by: Guo, Yejun
> ---
> libavfilter/dnn/dnn_backend_o
Signed-off-by: Guo, Yejun
---
libavfilter/dnn/dnn_backend_openvino.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavfilter/dnn/dnn_backend_openvino.c
b/libavfilter/dnn/dnn_backend_openvino.c
index 9329891c3f..beca256390 100644
--- a/libavfilter/dnn
Signed-off-by: Guo, Yejun
---
libavfilter/dnn/dnn_backend_native.c | 10 +-
.../dnn/dnn_backend_native_layer_avgpool.c | 2 +-
.../dnn/dnn_backend_native_layer_conv2d.c| 4 ++--
libavfilter/dnn/dnn_backend_native_layer_dense.c | 2 +-
.../dnn
Signed-off-by: Guo, Yejun
---
tests/dnn/Makefile | 1 +
tests/dnn/dnn-layer-dense-test.c | 2 +-
tests/fate/dnn.mak | 5 +
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/tests/dnn/Makefile b/tests/dnn/Makefile
index 8afdfab5d3..ef827520de 100644
> -Original Message-
> From: ffmpeg-devel On Behalf Of Jan
> Ekstr?m
> Sent: 2021年1月22日 20:01
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH] tests/dnn: fix build issue after function
> name changed
>
> On Fri, Jan 22,
---
missed to merge the changes into previous patch, will push soon.
tests/dnn/dnn-layer-avgpool-test.c | 4 ++--
tests/dnn/dnn-layer-conv2d-test.c | 4 ++--
tests/dnn/dnn-layer-dense-test.c | 2 +-
tests/dnn/dnn-layer-depth2space-test.c | 2 +-
tests/dnn/dnn-layer-mathbinary-test
> -Original Message-
> From: ffmpeg-devel On Behalf Of Mark
> Thompson
> Sent: 2021年1月22日 5:40
> To: ffmpeg-devel@ffmpeg.org
> Subject: [FFmpeg-devel] [PATCH 4/5] dnn: Add ff_ prefix to unnamespaced
> globals
>
> ---
> libavfilter/dnn/dnn_backend_native.c | 10 +-
> l
201 - 300 of 838 matches
Mail list logo