Re: [FFmpeg-devel] [PATCH v4] avcodec/decode: validate hw_frames_ctx when AVHWAccel.free_frame_priv is used

2023-11-20 Thread Rogozhkin, Dmitry V
On Tue, 2023-11-21 at 06:17 +0100, Lynne wrote: > Nov 21, 2023, 05:38 by dmitry.v.rogozhkin-at-intel@ffmpeg.org: > > > Validate that a hw_frames_ctx is available before using it for > > the AVHWAccel.free_frame_priv callback, and don't require it to > > be present when the callback is not in u

[FFmpeg-devel] [PATCH v5] avcodec/decode: validate hw_frames_ctx when AVHWAccel.free_frame_priv is used

2023-11-20 Thread Dmitry Rogozhkin
Validate that a hw_frames_ctx is available before using it for the AVHWAccel.free_frame_priv callback, and don't require it to be present when the callback is not in use by the HWAccel. v2: check for free_frame_priv (Hendrik) v3: return EINVAL (Christoph Reiter) v4: better commit message (Hendrik)

Re: [FFmpeg-devel] [PATCH v4] avcodec/decode: validate hw_frames_ctx when AVHWAccel.free_frame_priv is used

2023-11-20 Thread Lynne
Nov 21, 2023, 05:38 by dmitry.v.rogozhkin-at-intel@ffmpeg.org: > Validate that a hw_frames_ctx is available before using it for > the AVHWAccel.free_frame_priv callback, and don't require it to > be present when the callback is not in use by the HWAccel. > > v2: check for free_frame_priv (Hend

Re: [FFmpeg-devel] [PATCH v3] avcodec/decode: guard against NULL hw_frames_ctx

2023-11-20 Thread Rogozhkin, Dmitry V
On Sun, 2023-11-19 at 16:29 +0100, Hendrik Leppkes wrote: > On Fri, Nov 17, 2023 at 6:04 PM Dmitry Rogozhkin > wrote: > > > > Guard against segfault running VLC decoding under msys2 [1]: > > > > Thread 33 received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 37728.0xadd0] > > ff_

[FFmpeg-devel] [PATCH v4] avcodec/decode: validate hw_frames_ctx when AVHWAccel.free_frame_priv is used

2023-11-20 Thread Dmitry Rogozhkin
Validate that a hw_frames_ctx is available before using it for the AVHWAccel.free_frame_priv callback, and don't require it to be present when the callback is not in use by the HWAccel. v2: check for free_frame_priv (Hendrik) v3: return EINVAL (Christoph Reiter) v4: better commit message (Hendrik)

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

2023-11-20 Thread wenbin . chen-at-intel . com
From: Wenbin Chen Add yolo support. Yolo model doesn't output final result. It outputs candidate boxes, so we need post-process to remove overlap boxes to get final results. Also, the box's coordinators relate to cell and anchors, so we need these information to calculate boxes as well. Model de

[FFmpeg-devel] [PATCH 1/2] libavfilter/vf_dnn_detect: Add model_type option.

2023-11-20 Thread wenbin . chen-at-intel . com
From: Wenbin Chen There are many kinds of detection DNN model and they have different preprocess and postprocess methods. To support more models, "model_type" option is added to help to choose preprocess and postprocess function. Signed-off-by: Wenbin Chen --- libavfilter/vf_dnn_detect.c | 42

Re: [FFmpeg-devel] [PATCH v5 4/7] libavcodec/webp: add support for animated WebP decoding

2023-11-20 Thread James Almer
On 11/20/2023 4:22 PM, Thilo Borgmann via ffmpeg-devel wrote: +if (*got_frame) { +if (!(s->vp8x_flags & VP8X_FLAG_ANIMATION)) { +// no animation, output the decoded frame +av_frame_move_ref(p, s->frame); +ret = ff_attach_decode_data(p); +

Re: [FFmpeg-devel] [PATCH v5 5/7] avcodec/webp: make init_canvas_frame static

2023-11-20 Thread Michael Niedermayer
On Mon, Nov 20, 2023 at 11:22:09AM -0800, Thilo Borgmann via ffmpeg-devel wrote: > --- > libavcodec/webp.c | 142 +++--- > 1 file changed, 70 insertions(+), 72 deletions(-) breaks fate-webp-rgba-lossless likely same issue as teh other fate test Assertion

Re: [FFmpeg-devel] [PATCH v5 7/7] fate: add test for animated WebP

2023-11-20 Thread Michael Niedermayer
On Mon, Nov 20, 2023 at 11:22:11AM -0800, Thilo Borgmann via ffmpeg-devel wrote: > --- > tests/fate/image.mak | 3 +++ > tests/ref/fate/webp-anim | 22 ++ > 2 files changed, 25 insertions(+) > create mode 100644 tests/ref/fate/webp-anim Assertion !frame->private_ref fail

Re: [FFmpeg-devel] [PATCH 4/6] avcodec/h264: keep track of which frames used gray references

2023-11-20 Thread Michael Niedermayer
On Sun, Nov 19, 2023 at 10:01:23PM -0500, Vittorio Giovara wrote: > On Sun, Nov 19, 2023 at 7:11 PM Michael Niedermayer > wrote: > > > On Tue, Nov 14, 2023 at 07:46:16PM +0100, Michael Niedermayer wrote: > > > On Tue, Nov 14, 2023 at 06:32:19PM +0100, Hendrik Leppkes wrote: > > > > On Tue, Nov 14

[FFmpeg-devel] [PATCH v5 4/7] libavcodec/webp: add support for animated WebP decoding

2023-11-20 Thread Thilo Borgmann via ffmpeg-devel
From: Josef Zlomek Fixes: 4907 Adds support for decoding of animated WebP. The WebP decoder adds the animation related features according to the specs: https://developers.google.com/speed/webp/docs/riff_container#animation The frames of the animation may be smaller than the image canvas. Theref

[FFmpeg-devel] [PATCH v5 7/7] fate: add test for animated WebP

2023-11-20 Thread Thilo Borgmann via ffmpeg-devel
--- tests/fate/image.mak | 3 +++ tests/ref/fate/webp-anim | 22 ++ 2 files changed, 25 insertions(+) create mode 100644 tests/ref/fate/webp-anim diff --git a/tests/fate/image.mak b/tests/fate/image.mak index 400199c28a..2e0d1e8e3f 100644 --- a/tests/fate/image.mak +++ b

[FFmpeg-devel] [PATCH v5 5/7] avcodec/webp: make init_canvas_frame static

2023-11-20 Thread Thilo Borgmann via ffmpeg-devel
--- libavcodec/webp.c | 142 +++--- 1 file changed, 70 insertions(+), 72 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 52ecdb45c5..6017631678 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -1360,7 +1360,76 @@ static int vp

[FFmpeg-devel] [PATCH v5 3/7] avcodec/webp_parser: parse each frame into one packet

2023-11-20 Thread Thilo Borgmann via ffmpeg-devel
--- libavcodec/webp_parser.c | 130 +++ 1 file changed, 89 insertions(+), 41 deletions(-) diff --git a/libavcodec/webp_parser.c b/libavcodec/webp_parser.c index bd5f94dac5..da853bb1f5 100644 --- a/libavcodec/webp_parser.c +++ b/libavcodec/webp_parser.c @@ -25,1

[FFmpeg-devel] [PATCH v5 6/7] libavformat/webp: add WebP demuxer

2023-11-20 Thread Thilo Borgmann via ffmpeg-devel
From: Josef Zlomek Adds the demuxer of animated WebP files. It supports non-animated, animated, truncated, and concatenated files. Reading from a pipe (and other non-seekable inputs) is also supported. The WebP demuxer splits the input stream into packets containing one frame. It also marks the

[FFmpeg-devel] [PATCH v5 2/7] avcodec/webp: remove unused definitions

2023-11-20 Thread Thilo Borgmann via ffmpeg-devel
--- libavcodec/webp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 4994781a64..286e7c8b73 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp.c @@ -60,8 +60,6 @@ #define VP8X_FLAG_ALPHA 0x10 #define VP8X_FLAG_ICC

[FFmpeg-devel] [PATCH v5 1/7] avcodec/webp: move definitions into header

2023-11-20 Thread Thilo Borgmann via ffmpeg-devel
--- libavcodec/webp.c | 1 + libavcodec/webp.h | 38 ++ 2 files changed, 39 insertions(+) create mode 100644 libavcodec/webp.h diff --git a/libavcodec/webp.c b/libavcodec/webp.c index 54b3fde6dc..4994781a64 100644 --- a/libavcodec/webp.c +++ b/libavcodec/webp

[FFmpeg-devel] [PATCH v5 0/7] webp: add support for animated WebP decoding

2023-11-20 Thread Thilo Borgmann via ffmpeg-devel
Still images fixed, includes FATE tests, VP8 decoder decoupled so there are no more data races. Patch 5/7 is still there for making changes in lavc&webp reviewable but shall be stashed when pushing. -Thilo Josef Zlomek (2): libavcodec/webp: add support for animated WebP decoding libavforma

[FFmpeg-devel] Voter fraud investigation of E_07e9c717f7820201

2023-11-20 Thread Michael Niedermayer
Hi all This is about the repeated repeat vote. (E_07e9c717f7820201) On the 12th November 4 people posted their private vote keys in public as a protest. This allowed anyone to cast a vote and also destroys the privacy of the ballot associated with that vote key. Meaning we know exactly what votes

Re: [FFmpeg-devel] [ANNOUNCE] Repeat vote: GA voters list updates

2023-11-20 Thread J. Dekker
Derek Buitenhuis writes: > On 11/20/2023 3:44 PM, Thilo Borgmann via ffmpeg-devel wrote: >> the results are available at [1]. As they confirm the just updated GA list >> as >> well as the update procedure twice a year on Jan 1st & Jul 1st, I think the >> upcoming votes (extra GA members, TC/

Re: [FFmpeg-devel] [ANNOUNCE] Repeat vote: GA voters list updates

2023-11-20 Thread Derek Buitenhuis
On 11/20/2023 3:44 PM, Thilo Borgmann via ffmpeg-devel wrote: > the results are available at [1]. As they confirm the just updated GA list as > well as the update procedure twice a year on Jan 1st & Jul 1st, I think the > upcoming votes (extra GA members, TC/CC elections) can then proceed as > a

Re: [FFmpeg-devel] [PATCH v2] avcodec/amfenc: increase precision of Sleep() on Windows

2023-11-20 Thread Evgeny Pavlov
On Mon, Nov 13, 2023 at 3:41 PM Evgeny Pavlov wrote: > This commit increase precision of Sleep() function on Windows. > This fix reduces the sleep time on Windows to improve AMF encoding > performance on low resolution input videos. > > Fix for issue #10622 > > v2: use timeBeginPeriod/timeEndPeri

Re: [FFmpeg-devel] [PATCH, v2] avcodec/amfenc: add smart access video option

2023-11-20 Thread Evgeny Pavlov
On Mon, Jul 24, 2023 at 1:25 PM Evgeny Pavlov wrote: > This commit adds option for enabling SmartAccess Video (SAV) > in AMF encoders. SAV is an AMD hardware-specific feature which > enables the parallelization of encode and decode streams across > multiple Video Codec Engine (VCN) hardware insta

Re: [FFmpeg-devel] [ANNOUNCE] Repeat vote: GA voters list updates

2023-11-20 Thread Thilo Borgmann via ffmpeg-devel
Hi, This vote will be repeated from Sun 12th of November to Sunday 19th of November so we don't have to move the following votes yet another time. It will be using the list given by Josh [2] as it seems to be the closest to the truth we can get. The old extra members of the GA have become void a

Re: [FFmpeg-devel] [PATCH v28 2/2] avcodec/evc_decoder: Provided support for EVC decoder

2023-11-20 Thread James Almer
On 9/19/2023 8:34 AM, Dawid Kozinski wrote: - Added EVC decoder wrapper - Changes in project configuration file and libavcodec Makefile - Added documentation for xevd wrapper Signed-off-by: Dawid Kozinski --- configure | 4 + doc/decoders.texi | 24 ++ doc/general

Re: [FFmpeg-devel] [PATCH v28 1/2] avcodec/evc_encoder: Provided support for EVC encoder

2023-11-20 Thread James Almer
On 9/19/2023 8:34 AM, Dawid Kozinski wrote: - Added EVC encoder wrapper - Changes in project configuration file and libavcodec Makefile - Added documentation for xeve wrapper Signed-off-by: Dawid Kozinski --- configure | 4 + doc/encoders.texi | 69 + doc/gene

[FFmpeg-devel] [PATCH] avcodec/mmaldec: fix build error

2023-11-20 Thread Zhao Zhili
From: Zhao Zhili Signed-off-by: Zhao Zhili --- libavcodec/mmaldec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mmaldec.c b/libavcodec/mmaldec.c index 4bb3eb22ef..2dc7bbee04 100644 --- a/libavcodec/mmaldec.c +++ b/libavcodec/mmaldec.c @@ -843,7 +843,7 @@ stati