Re: [FFmpeg-devel] [PATCH v2 5/5] libavformat/webp: add WebP demuxer

2023-07-11 Thread James Zern
On Thu, Jul 6, 2023 at 4:28 AM Thilo Borgmann wrote: > > 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

Re: [FFmpeg-devel] [PATCH v3 2/9] avcodec: add D3D12VA hardware accelerated H264 decoding

2023-07-11 Thread Xiang, Haihao
On Vr, 2023-06-02 at 16:06 +0800, Tong Wu wrote: > From: Wu Jianhua > > The implementation is based on: > https://learn.microsoft.com/en-us/windows/win32/medfound/direct3d-12-video-overview > > With the Direct3D 12 video decoding support, we can render or process > the decoded images by the

Re: [FFmpeg-devel] [PATCH] avcodec/internal: Move AVCodecInternal to a header of its own

2023-07-11 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2023-07-11 03:10:38) > This allows to avoid exposing AVCodecInternal to files that > don't need it and only include internal.h for something else > (like the avpriv functions which are of course included outside > of libavcodec where AVCodecInternal should never be

Re: [FFmpeg-devel] [PATCH v3 1/9] libavutil: add hwcontext_d3d12va and AV_PIX_FMT_D3D12

2023-07-11 Thread Xiang, Haihao
On Vr, 2023-06-02 at 16:06 +0800, Tong Wu wrote: > From: Wu Jianhua > > Signed-off-by: Wu Jianhua > Signed-off-by: Tong Wu > --- >  configure  |   5 + >  doc/APIchanges |   7 + >  libavutil/Makefile |   3 + >  

[FFmpeg-devel] [PATCH 1/2] avcodec: add ambient viewing environment packet side data.

2023-07-11 Thread Damiano Galassi
--- fftools/ffprobe.c | 3 +++ libavcodec/avpacket.c | 1 + libavcodec/decode.c | 1 + libavcodec/packet.h | 7 +++ 4 files changed, 12 insertions(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 1ff76ce809..9f17567897 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c

[FFmpeg-devel] [PATCH 2/2] avformat/mov: add support for 'amve' ambient viewing environment box. As defined in ISOBMFF (ISO/IEC 14496-12) document.

2023-07-11 Thread Damiano Galassi
--- libavformat/dump.c | 15 +++ libavformat/isom.h | 2 ++ libavformat/mov.c| 36 libavformat/movenc.c | 22 ++ 4 files changed, 75 insertions(+) diff --git a/libavformat/dump.c b/libavformat/dump.c index

Re: [FFmpeg-devel] [PATCH 2/2] lavc/libx264: add mb_info option

2023-07-11 Thread Carotti, Elias
> From 5bdb624d8dbcff96493a63f02f68a3961cf72723 Mon Sep 17 00:00:00 2001 > From: Elias Carotti > Date: Tue, 20 Jun 2023 19:29:08 +0200 > Subject: [PATCH 2/2] lavc/libx264: add mb_info option > > Pass the information about unchanged parts of the frame by means of > the AVVideoHint side data. >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mov: add support for 'amve' ambient viewing environment box. As defined in ISOBMFF (ISO/IEC 14496-12) document.

2023-07-11 Thread James Almer
On 7/11/2023 4:41 AM, Damiano Galassi wrote: --- libavformat/dump.c | 15 +++ libavformat/isom.h | 2 ++ libavformat/mov.c| 36 libavformat/movenc.c | 22 ++ 4 files changed, 75 insertions(+) diff --git

[FFmpeg-devel] [PATCH] lavc/gifdec: unify get_buffer() calls I/P frames

2023-07-11 Thread Anton Khirnov
Always call ff_reget_buffer(), which ensures that get_buffer2() is called with AV_GET_BUFFER_FLAG_REF. Fixes #10460. --- libavcodec/gifdec.c | 29 +++-- 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c index

Re: [FFmpeg-devel] [PATCH v2 13/14] vvcdec: add CTU thread logical

2023-07-11 Thread Michael Niedermayer
On Mon, Jul 10, 2023 at 06:04:06PM +0300, Rémi Denis-Courmont wrote: > Le sunnuntaina 9. heinäkuuta 2023, 0.41.35 EEST Michael Niedermayer a écrit : > > On Fri, Jul 07, 2023 at 10:05:39PM +0800, Nuo Mi wrote: > > > This is the main entry point for the CTU (Coding Tree Unit) decoder. > > > The code

Re: [FFmpeg-devel] [PATCH] lavc/gifdec: unify get_buffer() calls I/P frames

2023-07-11 Thread James Almer
On 7/11/2023 2:12 PM, Anton Khirnov wrote: Always call ff_reget_buffer(), which ensures that get_buffer2() is called with AV_GET_BUFFER_FLAG_REF. Fixes #10460. --- libavcodec/gifdec.c | 29 +++-- 1 file changed, 11 insertions(+), 18 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH 1/2] avcodec: add ambient viewing environment packet side data.

2023-07-11 Thread Anton Khirnov
A FATE test would be much appreciated. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject

[FFmpeg-devel] [PATCH] lavc/audiotoolbox: fix build failure on osx 10.5

2023-07-11 Thread Pavel Koshevoy
--- libavcodec/audiotoolboxdec.c | 2 ++ libavcodec/audiotoolboxenc.c | 4 2 files changed, 6 insertions(+) diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c index 82babe3d31..7b33cdf87d 100644 --- a/libavcodec/audiotoolboxdec.c +++ b/libavcodec/audiotoolboxdec.c @@

Re: [FFmpeg-devel] [PATCH 1/7] avcodec/av1dec: remove FF_CODEC_CAP_SETS_PKT_DTS flag

2023-07-11 Thread James Almer
On 7/9/2023 4:21 PM, James Almer wrote: It has no effect on receive_frame() decoders. Signed-off-by: James Almer --- libavcodec/av1dec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/av1dec.c b/libavcodec/av1dec.c index e7f98a6c81..cc178464b9 100644 ---

Re: [FFmpeg-devel] [PATCH 1/5] avradio/sdrdemux: Factorize synchronous_am_demodulation* functions

2023-07-11 Thread Michael Niedermayer
On Mon, Jul 10, 2023 at 02:01:00AM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavradio/sdrdemux.c | 56 --- > 1 file changed, 26 insertions(+), 30 deletions(-) will apply patchset [...] -- Michael GnuPG

Re: [FFmpeg-devel] [PATCH v6 0/1] avformat: add Software Defined Radio support

2023-07-11 Thread Michael Niedermayer
On Mon, Jul 10, 2023 at 08:57:36AM +0200, Lynne wrote: > Jul 3, 2023, 00:46 by mich...@niedermayer.cc: > > > On Mon, Jul 03, 2023 at 12:03:10AM +0200, Lynne wrote: > > > >> Jul 2, 2023, 23:15 by mich...@niedermayer.cc: > >> > >> > On Sun, Jul 02, 2023 at 08:55:40PM +0200, Lynne wrote: > >> > > >>

[FFmpeg-devel] [PATCH 03/12] avradio/rds: Keep track of program_id

2023-07-11 Thread Michael Niedermayer
This allows detecting more damaged blocks Signed-off-by: Michael Niedermayer --- libavradio/rds.c | 16 libavradio/sdr.h | 1 + 2 files changed, 17 insertions(+) diff --git a/libavradio/rds.c b/libavradio/rds.c index 2cb7942bbd..dc7124cab3 100644 --- a/libavradio/rds.c +++

[FFmpeg-devel] [PATCH 04/12] avradio/sdr: Move rds_ring to Station

2023-07-11 Thread Michael Niedermayer
Other changes are needed to be done in this commit because of dependancies Signed-off-by: Michael Niedermayer --- libavradio/rds.c | 36 +- libavradio/sdr.h | 12 +++--- libavradio/sdrdemux.c | 88 --- 3 files changed, 74

[FFmpeg-devel] [PATCH 06/12] avradio/sdr: Warnings cleanup

2023-07-11 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavradio/sdr.h | 1 + libavradio/sdrdemux.c | 29 ++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/libavradio/sdr.h b/libavradio/sdr.h index f966a16e2e..834b1f40b4 100644 --- a/libavradio/sdr.h +++

[FFmpeg-devel] [PATCH 11/12] avradio/sdr: Pass AVStream instead of int to demodulate

2023-07-11 Thread Michael Niedermayer
thats less errror prone and simpler Signed-off-by: Michael Niedermayer --- libavradio/sdr.h | 2 +- libavradio/sdrdemux.c | 8 +++- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/libavradio/sdr.h b/libavradio/sdr.h index cb4b6dc68b..3297584eae 100644 ---

[FFmpeg-devel] [PATCH 07/12] avradio/rds: warnings cleanup

2023-07-11 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavradio/rds.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavradio/rds.c b/libavradio/rds.c index 1392bb0874..99e5360b72 100644 --- a/libavradio/rds.c +++ b/libavradio/rds.c @@ -171,8 +171,10 @@ int

[FFmpeg-devel] [PATCH 05/12] avradio/rds: move phase 2 window to main context

2023-07-11 Thread Michael Niedermayer
Its the same for all FM stations and channels so we dont need more than 1 Signed-off-by: Michael Niedermayer --- libavradio/rds.c | 11 +-- libavradio/sdr.h | 4 ++-- libavradio/sdrdemux.c | 33 + 3 files changed, 24 insertions(+), 24

[FFmpeg-devel] [PATCH 02/12] avradio/rds: Implement burst error decoder

2023-07-11 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavradio/rds.c | 55 ++-- 1 file changed, 34 insertions(+), 21 deletions(-) diff --git a/libavradio/rds.c b/libavradio/rds.c index dd9a934c3c..2cb7942bbd 100644 --- a/libavradio/rds.c +++ b/libavradio/rds.c @@

[FFmpeg-devel] [PATCH 01/12] avradio/sdrdemux: Fix use of uninitialized memory

2023-07-11 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavradio/sdrdemux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c index a34f784e63..a37018fd2f 100644 --- a/libavradio/sdrdemux.c +++ b/libavradio/sdrdemux.c @@ -1144,7 +1144,7 @@

Re: [FFmpeg-devel] [PATCH 2/2] lavc/libx264: add mb_info option

2023-07-11 Thread Carotti, Elias
> +2023-06-21 - xx - lavc 60.23.100 - libx264.c > + Add mb_info option. > Do we actually need the option? If the encoder's caller bothered with adding > the side data, then I'd think it should always be used, otherwise why is it > even there? >I agree, I just thought I had to update

Re: [FFmpeg-devel] [PATCH v2 2/5] avcodec/webp_parser: parse each frame into one packet

2023-07-11 Thread James Zern
On Thu, Jul 6, 2023 at 4:28 AM Thilo Borgmann wrote: > > --- > libavcodec/webp_parser.c | 132 ++- > 1 file changed, 90 insertions(+), 42 deletions(-) > > [...] > +} else { > +/* read the next tag */ > +

Re: [FFmpeg-devel] [PATCH] libavcodec/ansi: fix ECMA-48 SGR parameter 49

2023-07-11 Thread Peter Ross
On Mon, Jul 10, 2023 at 12:06:33AM +0200, Jonas Lindner wrote: > As can be seen in man console_codes this parameter sets the default > background color > > Signed-off-by: Jonas Lindner > --- > libavcodec/ansi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [FFmpeg-devel] [PATCH v2 3/5] libavcodec/webp: add support for animated WebP decoding

2023-07-11 Thread James Zern
On Thu, Jul 6, 2023 at 4:28 AM Thilo Borgmann wrote: > > 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 >

Re: [FFmpeg-devel] [PATCH v2 4/5] avcodec/webp: make init_canvas_frame static

2023-07-11 Thread James Zern
On Thu, Jul 6, 2023 at 4:28 AM Thilo Borgmann wrote: > > --- > libavcodec/webp.c | 143 +++--- > 1 file changed, 71 insertions(+), 72 deletions(-) > lgtm. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH 08/12] avradio/sdr: Move IFFT and block size to main context

2023-07-11 Thread Michael Niedermayer
This avoids duplicating this per stream instance Signed-off-by: Michael Niedermayer --- libavradio/sdr.h | 12 +++- libavradio/sdrdemux.c | 144 -- 2 files changed, 91 insertions(+), 65 deletions(-) diff --git a/libavradio/sdr.h b/libavradio/sdr.h

[FFmpeg-devel] [PATCH 12/12] avradio/sdr: Process RDS of all stations not just the current one

2023-07-11 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavradio/sdr.h | 3 +- libavradio/sdrdemux.c | 69 +-- 2 files changed, 49 insertions(+), 23 deletions(-) diff --git a/libavradio/sdr.h b/libavradio/sdr.h index 3297584eae..6c4647823e 100644 ---

[FFmpeg-devel] [PATCH 09/12] avradio/sdr: Move per stream arraies to main context

2023-07-11 Thread Michael Niedermayer
This avoids allocating them per stream instance Signed-off-by: Michael Niedermayer --- libavradio/sdr.h | 15 ++-- libavradio/sdrdemux.c | 204 ++ 2 files changed, 116 insertions(+), 103 deletions(-) diff --git a/libavradio/sdr.h b/libavradio/sdr.h

[FFmpeg-devel] [PATCH 10/12] avradio/sdr: Move tx contexts out of stream so its not duplicated

2023-07-11 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavradio/sdr.h | 10 + libavradio/sdrdemux.c | 48 +++ 2 files changed, 32 insertions(+), 26 deletions(-) diff --git a/libavradio/sdr.h b/libavradio/sdr.h index 8d7ab803d4..cb4b6dc68b 100644 ---

Re: [FFmpeg-devel] [PATCH v2 1/5] avcodec/webp: move definitions into header

2023-07-11 Thread James Zern
On Thu, Jul 6, 2023 at 4:27 AM Thilo Borgmann wrote: > > --- > libavcodec/webp.c | 17 +-- > libavcodec/webp.h | 55 +++ > 2 files changed, 56 insertions(+), 16 deletions(-) > create mode 100644 libavcodec/webp.h > > [...] > +#define

[FFmpeg-devel] [PATCH 2/2] avcodec/decode: don't discard the buffered packet if the underlying bsf can't take it

2023-07-11 Thread James Almer
Signed-off-by: James Almer --- libavcodec/decode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 239ad70b41..cd49cca7c2 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -242,7 +242,8 @@ int

[FFmpeg-devel] [PATCH 1/2] avcodec/decode: don't reject flush packets when buffer_pkt is not empty

2023-07-11 Thread James Almer
Restores the behavior pre commit a92dbeb9ae. Signed-off-by: James Almer --- libavcodec/decode.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index a47abeca06..239ad70b41 100644 --- a/libavcodec/decode.c +++