[FFmpeg-devel] [PATCH v2 04/11] avfilter/overlay_vaapi: handle secondary null input

2022-10-30 Thread softworkz
From: softworkz Currently segfaults in this case. Signed-off-by: softworkz --- libavfilter/vf_overlay_vaapi.c | 94 ++ 1 file changed, 49 insertions(+), 45 deletions(-) diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/vf_overlay_vaapi.c index 66e736cce

[FFmpeg-devel] [PATCH v2 11/11] doc/filters.texi: update overlay_vaapi documentation

2022-10-30 Thread softworkz
From: softworkz Signed-off-by: softworkz --- doc/filters.texi | 51 +--- 1 file changed, 40 insertions(+), 11 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 2d0b5db909..1d50db0e54 100644 --- a/doc/filters.texi +++ b/doc/filters.t

[FFmpeg-devel] [PATCH v2 10/11] doc/filters.texi: remove incorrect statement

2022-10-30 Thread softworkz
From: softworkz Signed-off-by: softworkz --- doc/filters.texi | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index 68205147f0..2d0b5db909 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -26267,7 +26267,6 @@ To use vaapi filters, you need to setup

[FFmpeg-devel] [PATCH v2 02/11] avfilter/overlay_vaapi: build filter params just once

2022-10-30 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavfilter/vf_overlay_vaapi.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/vf_overlay_vaapi.c index 218daf571f..cf17426b5d 100644 --- a/libavfilter/vf_overlay_vaapi.c +++ b/

[FFmpeg-devel] [PATCH v2 09/11] avfilter/overlay_vaapi: enable expressions for overlay parameters

2022-10-30 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavfilter/vf_overlay_vaapi.c | 141 + 1 file changed, 127 insertions(+), 14 deletions(-) diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/vf_overlay_vaapi.c index b2c254d9dd..307f3cf7fc 100644 --- a/libavfi

[FFmpeg-devel] [PATCH v2 01/11] avfilter/overlay_vaapi: use FILTER_SINGLE_PIXFMT

2022-10-30 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavfilter/vf_overlay_vaapi.c | 30 +- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/vf_overlay_vaapi.c index 3e6a0de13f..218daf571f 100644 --- a/libavfilter/vf

[FFmpeg-devel] [PATCH v2 08/11] avfilter/overlay_vaapi: precalculate blend_state, enable pixel alpha

2022-10-30 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavfilter/vf_overlay_vaapi.c | 44 -- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/vf_overlay_vaapi.c index f4f9cc58ec..b2c254d9dd 100644 --- a/libavfilt

[FFmpeg-devel] [PATCH v2 00/11] Fixes and Enhancements for VAAPI Overlay

2022-10-30 Thread ffmpegagent
This patchset resolves a number of issues in the current code: * Bogus doubles framesync initialization * Executing build_parameters on each input frame * Segfault when there's no secondary input (yet) and adds a number of enhancements to bring this on-par with the other overlay filters: * E

[FFmpeg-devel] [PATCH v2 07/11] avfilter/overlay_vaapi: add framesync options

2022-10-30 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavfilter/vf_overlay_vaapi.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/vf_overlay_vaapi.c index 71fc90a86b..f4f9cc58ec 100644 --- a/libavfilter/vf_overlay_vaapi

[FFmpeg-devel] [PATCH v2 06/11] avfilter/overlay_vaapi: remove redundant .get_buffer assignments

2022-10-30 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavfilter/vf_overlay_vaapi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/vf_overlay_vaapi.c index c14aacbb5d..71fc90a86b 100644 --- a/libavfilter/vf_overlay_vaapi.c +++ b/libavfilter/vf_overlay_

[FFmpeg-devel] [PATCH v2 05/11] avfilter/overlay_vaapi: reformat options

2022-10-30 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavfilter/vf_overlay_vaapi.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/vf_overlay_vaapi.c index 1281038c36..c14aacbb5d 100644 --- a/libavfilter/vf_overlay_vaapi

[FFmpeg-devel] [PATCH v2 03/11] avfilter/overlay_vaapi: remove double framesync init

2022-10-30 Thread softworkz
From: softworkz Signed-off-by: softworkz --- libavfilter/vf_overlay_vaapi.c | 31 +-- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/vf_overlay_vaapi.c index cf17426b5d..66e736cce4 100644 --- a/libavfilter/

Re: [FFmpeg-devel] [PATCH 09/11] avfilter/overlay_vaapi: enable expressions for overlay parameters

2022-10-30 Thread Soft Works
> -Original Message- > From: Xiang, Haihao > Sent: Monday, October 31, 2022 6:44 AM > To: ffmpeg-devel@ffmpeg.org > Cc: softwo...@hotmail.com > Subject: Re: [FFmpeg-devel] [PATCH 09/11] avfilter/overlay_vaapi: > enable expressions for overlay parameters > > On Mon, 2022-10-10 at 10:54

Re: [FFmpeg-devel] [PATCH 01/11] avfilter/overlay_vaapi: use FILTER_SINGLE_PIXFMT

2022-10-30 Thread Xiang, Haihao
On Mon, 2022-10-10 at 10:54 +, softworkz wrote: > From: softworkz > > Signed-off-by: softworkz > --- > libavfilter/vf_overlay_vaapi.c | 30 +- > 1 file changed, 1 insertion(+), 29 deletions(-) > > diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/vf_over

Re: [FFmpeg-devel] [PATCH 09/11] avfilter/overlay_vaapi: enable expressions for overlay parameters

2022-10-30 Thread Xiang, Haihao
On Mon, 2022-10-10 at 10:54 +, softworkz wrote: > From: softworkz > > Signed-off-by: softworkz > --- > libavfilter/vf_overlay_vaapi.c | 141 + > 1 file changed, 127 insertions(+), 14 deletions(-) > > diff --git a/libavfilter/vf_overlay_vaapi.c b/libavfilter/

Re: [FFmpeg-devel] [PATCH] Revert "avfilter/vf_palette(gen|use): support palettes with alpha"

2022-10-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Clément Bœsch > Sent: Monday, October 31, 2022 1:30 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] Revert > "avfilter/vf_palette(gen|use): support palettes with alpha" >

Re: [FFmpeg-devel] [PATCH] Revert "avfilter/vf_palette(gen|use): support palettes with alpha"

2022-10-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Clément Bœsch > Sent: Monday, October 31, 2022 1:30 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] Revert > "avfilter/vf_palette(gen|use): support palettes with alpha" >

[FFmpeg-devel] [PATCH v2 4/4] swscale/output: add rgbaf32 output support

2022-10-30 Thread mindmark
From: Mark Reid --- libswscale/output.c | 92 libswscale/swscale_unscaled.c| 4 +- libswscale/tests/floatimg_cmp.c | 4 +- libswscale/utils.c | 16 +++-- libswscale/yuv2rgb.c | 2 + te

[FFmpeg-devel] [PATCH v2 3/4] avfilter/vf_transpose: add support for packed rgb float formats

2022-10-30 Thread mindmark
From: Mark Reid --- libavfilter/vf_transpose.c | 44 ++ 1 file changed, 44 insertions(+) diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c index 469e66729f..1023d6fe82 100644 --- a/libavfilter/vf_transpose.c +++ b/libavfilter/vf_transpose.c

[FFmpeg-devel] [PATCH v2 2/4] avfilter/vf_hflip: add support for packed rgb float formats

2022-10-30 Thread mindmark
From: Mark Reid --- libavfilter/vf_hflip_init.h | 25 + 1 file changed, 25 insertions(+) diff --git a/libavfilter/vf_hflip_init.h b/libavfilter/vf_hflip_init.h index d0319f463d..31173f73fc 100644 --- a/libavfilter/vf_hflip_init.h +++ b/libavfilter/vf_hflip_init.h @@ -86,

[FFmpeg-devel] [PATCH v2 1/4] swscale/input: add rgbaf32 input support

2022-10-30 Thread mindmark
From: Mark Reid --- libswscale/input.c | 172 + libswscale/utils.c | 4 ++ 2 files changed, 176 insertions(+) diff --git a/libswscale/input.c b/libswscale/input.c index 7ff7bfaa01..4683284b0b 100644 --- a/libswscale/input.c +++ b/libswscale/input.c

[FFmpeg-devel] [PATCH v2 0/4] swscale rgbaf32 input/output support

2022-10-30 Thread mindmark
From: Mark Reid This patch series adds swscale input/output support for the packed rgb float formats. A few of the filters also needed support the larger 96/128 bit packed pixel sizes. I also plan to eventually add lossless unscaled conversions between the planer and packed formats. changes

Re: [FFmpeg-devel] [PATCH] Revert "avfilter/vf_palette(gen|use): support palettes with alpha"

2022-10-30 Thread Clément Bœsch
On Sun, Oct 30, 2022 at 10:55:31PM +, Soft Works wrote: [...] > > I understand why. I know that it's not perfect. But it's the best > > what's achievable within the way the filter is working. > > > > But I wouldn't go that far as saying it would be "broken". I think > > the result is quite acc

[FFmpeg-devel] [PATCH 19/19] avcodec/vc1_block: Remove redundant write

2022-10-30 Thread Andreas Rheinhardt
vc1_decode_skip_blocks() is only called if the current picture is a P frame. So setting pict_type to AV_PICTURE_TYPE_P is redundant; removing it makes pict_type read-only in vc1_block.c (as it should be). Signed-off-by: Andreas Rheinhardt --- libavcodec/vc1_block.c | 1 - 1 file changed, 1 delet

[FFmpeg-devel] [PATCH 18/19] avcodec/vc1dec: Split VC-1 decoders from msmpeg4

2022-10-30 Thread Andreas Rheinhardt
The only msmpeg4 code that is ever executed by the VC-1 based decoders is ff_msmpeg4_decode_init() and what is directly reachable from it. This is: a) A call to av_image_check_size(), then ff_h263_decode_init(), b) followed by setting [yc]_dc_scale_table and initializing scantable/permutations. c)

[FFmpeg-devel] [PATCH 17/19] avcodec/msmpeg4data: Move data shared between msmpeg4 and VC-1 out

2022-10-30 Thread Andreas Rheinhardt
This is in preparation for splitting VC-1 from msmpeg4. (msmpeg4data.c was originally intended to be just this; 9488b966c76a7a52e9a1f7756bda82dbe1070399 changed it). Signed-off-by: Andreas Rheinhardt --- libavcodec/Makefile | 8 +- libavcodec/intrax8.c | 2 +- libavcodec/m

[FFmpeg-devel] [PATCH 16/19] avcodec/vc1dec: Return early upon error

2022-10-30 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/vc1dec.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 682b39083b..1cf42d831f 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -332,7 +

[FFmpeg-devel] [PATCH 15/19] avcodec/vc1dec: Factor (re)initializing code out

2022-10-30 Thread Andreas Rheinhardt
This is in preparation for removing the msmpeg4 dependency from VC-1. Signed-off-by: Andreas Rheinhardt --- libavcodec/mss2.c | 5 ++--- libavcodec/vc1.h| 2 +- libavcodec/vc1dec.c | 25 ++--- 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/libavcodec

[FFmpeg-devel] [PATCH 14/19] avcodec/vc1dec: Don't open and close decoder during init

2022-10-30 Thread Andreas Rheinhardt
This is done since 16af29a7a6deff3f6081fca1e36ad96cf8fec77d (and is actually unnecessary, because the tables initialized in ff_msmpeg4_decode_init() are only ever used in vc1_block.c which is only entered after a call to ff_msmpeg4_decode_init()) in a very ugly manner; said manner had the byproduct

[FFmpeg-devel] [PATCH 13/19] avcodec/msmpeg4dec: Factor initializing VLCs shared with VC-1 out

2022-10-30 Thread Andreas Rheinhardt
It will be useful in the following commits. Signed-off-by: Andreas Rheinhardt --- libavcodec/msmpeg4data.c | 30 ++ libavcodec/msmpeg4data.h | 2 ++ libavcodec/msmpeg4dec.c | 18 +- 3 files changed, 33 insertions(+), 17 deletions(-) diff --git a/lib

[FFmpeg-devel] [PATCH 12/19] avcodec/vc1_block: Don't duplicate #defines

2022-10-30 Thread Andreas Rheinhardt
VC1 shares some VLCs with MSMPEG-4, but vc1_block.c simply duplicates the defines instead of including the appropriate headers; furthermore, use a proper prefix for these defines: DC_VLC_BITS is also used by other codecs. Signed-off-by: Andreas Rheinhardt --- libavcodec/msmpeg4data.h | 2 ++ li

[FFmpeg-devel] [PATCH 11/19] avcodec/vc1: Move ff_vc1_init_common() to vc1dec.c

2022-10-30 Thread Andreas Rheinhardt
This is possible given that it is no longer used by the parser. Signed-off-by: Andreas Rheinhardt --- libavcodec/vc1.c | 362 -- libavcodec/vc1_vlc_data.h | 221 +++ libavcodec/vc1dec.c | 141 +++ 3 files changed,

[FFmpeg-devel] [PATCH 10/19] avcodec/vc1data: Move VLC codes/lengths tables to a header

2022-10-30 Thread Andreas Rheinhardt
and include said header at the place where the VLCs are created. This allows to make said tables static. Signed-off-by: Andreas Rheinhardt --- libavcodec/vc1.c | 69 ++-- libavcodec/vc1_vlc_data.h | 842 ++ libavcodec/vc1data.c | 804 ---

[FFmpeg-devel] [PATCH 09/19] avcodec/vc1data: Remove declarations of inexistent arrays

2022-10-30 Thread Andreas Rheinhardt
ff_vc1_norm6_spec has been removed in commit 356be9307cbffa1226bed52b26aa2ac9c7af174f (and it seems that it has never been used); the declarations of the 8x8_zz arrays meanwhile have been added in f0c02e1cbc71043ffe8c1fa44f12330a63f9df10 without having ever been defined. Signed-off-by: Andreas Rhe

[FFmpeg-devel] [PATCH 08/19] avcodec/vc1data: Remove duplicate defines

2022-10-30 Thread Andreas Rheinhardt
The defines in vc1data.c are duplicates of the ones in vc1data.h; they are also pointless, because they are not used anywhere. Signed-off-by: Andreas Rheinhardt --- libavcodec/vc1data.c | 21 + libavcodec/vc1data.h | 3 ++- 2 files changed, 3 insertions(+), 21 deletions(-)

[FFmpeg-devel] [PATCH 07/19] avcodec/vc1: Move setting res_fasttx-IDCT functions to vc1dec.c

2022-10-30 Thread Andreas Rheinhardt
It allows to avoid compiling simple_idct.o for the VC-1 parser. Signed-off-by: Andreas Rheinhardt --- libavcodec/Makefile | 2 +- libavcodec/vc1.c| 11 --- libavcodec/vc1dec.c | 9 + 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/libavcodec/Makefile b/liba

[FFmpeg-devel] [PATCH 06/19] avcodec/vc1_parser: Don't call ff_vc1_init_common()

2022-10-30 Thread Andreas Rheinhardt
It is unnecessary to initialize the VLCs: The only VLC that was only ever used by the code reachable from the parser was ff_vc1_bfraction_vlc; and this VLC has been removed. Yet vc1dsp is still needed for startcode_find_candidate. Maybe this should be factored out of vc1dsp in a later commit. Sig

[FFmpeg-devel] [PATCH 05/19] avcodec/vc1_parser: Set parse_only only once

2022-10-30 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/vc1_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vc1_parser.c b/libavcodec/vc1_parser.c index 8257e0ccfa..d57fcdf1e1 100644 --- a/libavcodec/vc1_parser.c +++ b/libavcodec/vc1_parser.c @@ -65,7 +65,6 @@ sta

[FFmpeg-devel] [PATCH 04/19] avcodec/vc1: Don't use VLC to read bfraction

2022-10-30 Thread Andreas Rheinhardt
The VLC here is very simple, so that it can just be read by two get_bits(). Signed-off-by: Andreas Rheinhardt --- libavcodec/vc1.c | 8 libavcodec/vc1data.c | 21 - libavcodec/vc1data.h | 4 3 files changed, 4 insertions(+), 29 deletions(-) diff --git a/l

[FFmpeg-devel] [PATCH 03/19] avcodec/vc1: Don't check for errors for complete VLC

2022-10-30 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/vc1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index cacb66b15b..9b4e951baa 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -615,7 +615,7 @@ static void rotate_luts(VC1Context *

[FFmpeg-devel] [PATCH 02/19] avcodec/vc1: Remove always-false check

2022-10-30 Thread Andreas Rheinhardt
Added in b50be4e38dc83389925dc14f24fa11e660d32197; this check was racy back then (as the VLC could be initialized concurrently) and it is redundant (always-false) since commit c742ab4e81bb9dcabfdab006d6b8b09a5808c4ce. Signed-off-by: Andreas Rheinhardt --- libavcodec/vc1.c | 2 -- 1 file changed,

[FFmpeg-devel] [PATCH 01/19] avcodec/vc1: Don't check for AVCodecContext.codec

2022-10-30 Thread Andreas Rheinhardt
This check has been added in c617bed34f39a122ab1f89581ddce9cc63885383, merging ee769c6a7c1d4ec6560f5e5a6f457b770b10fb33 to fix a possible segfault if AVCodecContext.codec is not set as it may be during parsing. While this fixes the segfault, it has the unfortunate side effect that it makes the outp

Re: [FFmpeg-devel] [PATCH 0/4] swscale rgbaf32 input/output support

2022-10-30 Thread Mark Reid
On Sun, Oct 30, 2022 at 1:48 PM Mark Reid wrote: > > > On Wed, Oct 12, 2022 at 3:06 PM Mark Reid wrote: > >> >> >> On Thu, Sep 29, 2022 at 11:08 AM wrote: >> >>> From: Mark Reid >>> >>> This patch series adds swscale input/output support for the packed rgb >>> float formats. >>> A few of the f

Re: [FFmpeg-devel] [PATCH] Revert "avfilter/vf_palette(gen|use): support palettes with alpha"

2022-10-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Soft Works > Sent: Sunday, October 30, 2022 10:41 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] Revert > "avfilter/vf_palette(gen|use): support palettes with alpha" >

Re: [FFmpeg-devel] [PATCH] avcodec/libsvtav1: Add support for multipass encoding

2022-10-30 Thread Oneric
On Sun, Oct 30, 2022 at 14:10:29 +0100, Lynne wrote: > Sep 27, 2022, 23:06 by gustav.grus...@gmail.com: > > > Implements support for 2-pass CRF and 3-pass VBR by implementing > > reading and writing of stats file, and passing the pass number on > > to the encoder. For 3-pass VBR, the first pass sh

Re: [FFmpeg-devel] [PATCH] Revert "avfilter/vf_palette(gen|use): support palettes with alpha"

2022-10-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Clément Bœsch > Sent: Sunday, October 30, 2022 10:30 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] Revert > "avfilter/vf_palette(gen|use): support palettes with alpha"

Re: [FFmpeg-devel] [PATCH] Revert "avfilter/vf_palette(gen|use): support palettes with alpha"

2022-10-30 Thread Clément Bœsch
On Sun, Oct 30, 2022 at 10:30:06PM +0100, Clément Bœsch wrote: > On Sun, Oct 30, 2022 at 09:19:05PM +, Soft Works wrote: > [...] > > At the time of submission I did a lot of experiments and the results > > seemed to be very useful: > > > > https://gist.github.com/softworkz/deef5c2a43d3d629c3e1

Re: [FFmpeg-devel] [PATCH] Revert "avfilter/vf_palette(gen|use): support palettes with alpha"

2022-10-30 Thread Clément Bœsch
On Sun, Oct 30, 2022 at 09:19:05PM +, Soft Works wrote: [...] > At the time of submission I did a lot of experiments and the results > seemed to be very useful: > > https://gist.github.com/softworkz/deef5c2a43d3d629c3e17f9e21544a8f > On that page, the result of the command using palette* fil

Re: [FFmpeg-devel] [PATCH] Revert "avfilter/vf_palette(gen|use): support palettes with alpha"

2022-10-30 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Clément Bœsch > Sent: Sunday, October 30, 2022 6:58 PM > To: ffmpeg-devel@ffmpeg.org > Cc: softwo...@hotmail.com; Clément Bœsch > Subject: [FFmpeg-devel] [PATCH] Revert "avfilter/vf_palette(gen|use): > support palettes with alpha"

Re: [FFmpeg-devel] FFmpeg 5.0

2022-10-30 Thread Neal Gompa
On Sun, Oct 30, 2022 at 4:10 PM Michael Niedermayer wrote: > > On Sat, Oct 29, 2022 at 02:29:56PM -0400, Neal Gompa wrote: > > On Fri, Oct 28, 2022 at 2:23 PM Michael Niedermayer > > wrote: > > > > > > Hi > > > > > > According to our > > > https://trac.ffmpeg.org/wiki/Downstreams > > > > > > Noon

Re: [FFmpeg-devel] FFmpeg 5.0

2022-10-30 Thread Neal Gompa
On Sun, Oct 30, 2022 at 4:16 PM Michael Niedermayer wrote: > > On Sat, Oct 29, 2022 at 02:29:56PM -0400, Neal Gompa wrote: > > On Fri, Oct 28, 2022 at 2:23 PM Michael Niedermayer > > wrote: > > > > > > Hi > > > > > > According to our > > > https://trac.ffmpeg.org/wiki/Downstreams > > > > > > Noon

Re: [FFmpeg-devel] [PATCH 0/4] swscale rgbaf32 input/output support

2022-10-30 Thread Mark Reid
On Wed, Oct 12, 2022 at 3:06 PM Mark Reid wrote: > > > On Thu, Sep 29, 2022 at 11:08 AM wrote: > >> From: Mark Reid >> >> This patch series adds swscale input/output support for the packed rgb >> float formats. >> A few of the filters also needed support the larger 96/128 bit packed >> pixel si

Re: [FFmpeg-devel] [PATCH] avfilter: add ambisonic decoder filter

2022-10-30 Thread James Almer
On 10/30/2022 12:34 PM, Paul B Mahol wrote: +static const struct { +const int order; +const int inputs; +const int speakers; +const int near_field; +const int type; +const double xover; +const A

Re: [FFmpeg-devel] [PATCH] avfilter: add ambisonic decoder filter

2022-10-30 Thread James Almer
On 10/30/2022 4:19 PM, Paul B Mahol wrote: On 10/30/22, James Almer wrote: On 10/30/2022 3:58 PM, Paul B Mahol wrote: On 10/30/22, James Almer wrote: On 10/30/2022 3:29 PM, Paul B Mahol wrote: On 10/30/22, James Almer wrote: On 10/30/2022 3:19 PM, Paul B Mahol wrote: On 10/30/22, James

Re: [FFmpeg-devel] [PATCH] avcodec/atrac3plus: reorder channels to match the output layout

2022-10-30 Thread Andreas Rheinhardt
James Almer: > The order in which the channels are coded in the bitstream do not always > follow > the native, bitmask-based order of channels both signaled by the WAV container > and forced by this same decoder. This is the case with layouts containing an > LFE channel, as it's always coded last.

Re: [FFmpeg-devel] [PATCH] avfilter: add ambisonic decoder filter

2022-10-30 Thread Paul B Mahol
On 10/30/22, James Almer wrote: > On 10/30/2022 3:58 PM, Paul B Mahol wrote: >> On 10/30/22, James Almer wrote: >>> On 10/30/2022 3:29 PM, Paul B Mahol wrote: On 10/30/22, James Almer wrote: > > > On 10/30/2022 3:19 PM, Paul B Mahol wrote: >> On 10/30/22, James Almer wrote:

Re: [FFmpeg-devel] [PATCH] avfilter: add ambisonic decoder filter

2022-10-30 Thread James Almer
On 10/30/2022 3:58 PM, Paul B Mahol wrote: On 10/30/22, James Almer wrote: On 10/30/2022 3:29 PM, Paul B Mahol wrote: On 10/30/22, James Almer wrote: On 10/30/2022 3:19 PM, Paul B Mahol wrote: On 10/30/22, James Almer wrote: On 10/30/2022 12:34 PM, Paul B Mahol wrote: +static const str

Re: [FFmpeg-devel] [PATCH] avfilter: add ambisonic decoder filter

2022-10-30 Thread Paul B Mahol
On 10/30/22, James Almer wrote: > On 10/30/2022 3:29 PM, Paul B Mahol wrote: >> On 10/30/22, James Almer wrote: >>> >>> >>> On 10/30/2022 3:19 PM, Paul B Mahol wrote: On 10/30/22, James Almer wrote: > On 10/30/2022 12:34 PM, Paul B Mahol wrote: >> +static const struct { >> +

Re: [FFmpeg-devel] [PATCH] avfilter: add ambisonic decoder filter

2022-10-30 Thread James Almer
On 10/30/2022 3:29 PM, Paul B Mahol wrote: On 10/30/22, James Almer wrote: On 10/30/2022 3:19 PM, Paul B Mahol wrote: On 10/30/22, James Almer wrote: On 10/30/2022 12:34 PM, Paul B Mahol wrote: +static const struct { +const int order; +const int inputs; +

Re: [FFmpeg-devel] [PATCH] avfilter: add ambisonic decoder filter

2022-10-30 Thread Paul B Mahol
On 10/30/22, James Almer wrote: > > > On 10/30/2022 3:19 PM, Paul B Mahol wrote: >> On 10/30/22, James Almer wrote: >>> On 10/30/2022 12:34 PM, Paul B Mahol wrote: +static const struct { +const int order; +const int inputs; +const int

Re: [FFmpeg-devel] [PATCH] avfilter: add ambisonic decoder filter

2022-10-30 Thread James Almer
On 10/30/2022 3:19 PM, Paul B Mahol wrote: On 10/30/22, James Almer wrote: On 10/30/2022 12:34 PM, Paul B Mahol wrote: +static const struct { +const int order; +const int inputs; +const int speakers; +const int near_field;

Re: [FFmpeg-devel] [PATCH] avutil/channel_layout: add a cube channel layout

2022-10-30 Thread Paul B Mahol
On 10/30/22, James Almer wrote: > > > On 10/30/2022 1:19 PM, Andreas Rheinhardt wrote: >> James Almer: >>> Signed-off-by: James Almer >>> --- >>> doc/APIchanges| 3 +++ >>> doc/utils.texi| 2 ++ >>> libavutil/channel_layout.c| 1 + >>> libavutil/channel_la

Re: [FFmpeg-devel] [PATCH] avfilter: add ambisonic decoder filter

2022-10-30 Thread Paul B Mahol
On 10/30/22, James Almer wrote: > On 10/30/2022 12:34 PM, Paul B Mahol wrote: >> +static const struct { >> +const int order; >> +const int inputs; >> +const int speakers; >> +const int near_field; >> +const int ty

[FFmpeg-devel] [PATCH] Revert "avfilter/vf_palette(gen|use): support palettes with alpha"

2022-10-30 Thread Clément Bœsch
This reverts commit dea673d0d548c864ec85f9260d8900d944ef7a2a. This change cannot work for several reasons, the most obvious ones are: - the alpha is being part of the scoring of the color difference, even though we can not interpret the alpha as part of the perception of the color (we don't e

Re: [FFmpeg-devel] [PATCH] avutil/channel_layout: add a cube channel layout

2022-10-30 Thread James Almer
On 10/30/2022 1:19 PM, Andreas Rheinhardt wrote: James Almer: Signed-off-by: James Almer --- doc/APIchanges| 3 +++ doc/utils.texi| 2 ++ libavutil/channel_layout.c| 1 + libavutil/channel_layout.h| 2 ++ tests/ref/fate/channel_layout | 1 + 5 f

Re: [FFmpeg-devel] [PATCH] avutil/channel_layout: add a cube channel layout

2022-10-30 Thread Andreas Rheinhardt
James Almer: > Signed-off-by: James Almer > --- > doc/APIchanges| 3 +++ > doc/utils.texi| 2 ++ > libavutil/channel_layout.c| 1 + > libavutil/channel_layout.h| 2 ++ > tests/ref/fate/channel_layout | 1 + > 5 files changed, 9 insertions(+) > > diff --git

Re: [FFmpeg-devel] [PATCH] avfilter: add ambisonic decoder filter

2022-10-30 Thread James Almer
On 10/30/2022 12:34 PM, Paul B Mahol wrote: +static const struct { +const int order; +const int inputs; +const int speakers; +const int near_field; +const int type; +const double xover; +const A

[FFmpeg-devel] [PATCH] avutil/channel_layout: add a cube channel layout

2022-10-30 Thread James Almer
Signed-off-by: James Almer --- doc/APIchanges| 3 +++ doc/utils.texi| 2 ++ libavutil/channel_layout.c| 1 + libavutil/channel_layout.h| 2 ++ tests/ref/fate/channel_layout | 1 + 5 files changed, 9 insertions(+) diff --git a/doc/APIchanges b/doc/APIchange

[FFmpeg-devel] [PATCH] avfilter: add ambisonic decoder filter

2022-10-30 Thread Paul B Mahol
Patch attached. From 1b0e75a995dfdb45e514b8ff5b7077adaaed65a1 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Thu, 11 Jan 2018 21:32:22 +0100 Subject: [PATCH] avfilter: add ambisonic decoder Signed-off-by: Paul B Mahol --- libavfilter/Makefile |1 + libavfilter/af_ambisonic.c | 2332

[FFmpeg-devel] [PATCH] avfilter: add backgroundkey video filter

2022-10-30 Thread Paul B Mahol
Patch attached. From 72aebb5d79d60d267def506092e13b0d35c4df3d Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 28 Oct 2022 22:02:29 +0200 Subject: [PATCH] avfilter: add backgroundkey video filter Signed-off-by: Paul B Mahol --- libavfilter/Makefile | 1 + libavfilter/allfilter

Re: [FFmpeg-devel] [PATCH] avcodec/libsvtav1: Add support for multipass encoding

2022-10-30 Thread Lynne
Sep 27, 2022, 23:06 by gustav.grus...@gmail.com: > Implements support for 2-pass CRF and 3-pass VBR by implementing > reading and writing of stats file, and passing the pass number on > to the encoder. For 3-pass VBR, the first pass should be run with > '-pass 1', the second with '-pass 3' and the

[FFmpeg-devel] fix for avcodec/dvdsub_parser

2022-10-30 Thread Aidan MacDonald
Hi, I was wondering if anyone has picked up this fix for DVD subtitles: https://patchwork.ffmpeg.org/project/ffmpeg/patch/20220930142009.5862-1-aidanmacdonald@gmail.com/ Regards, Aidan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/mpegvideodata: Make DC scale tables smaller

2022-10-30 Thread Andreas Rheinhardt
Andreas Rheinhardt: > These tables are only accessed in ff_set_qscale() > which only accesses values 1..31 as well as in > encode_picture() in mpegvideo_enc.c, accessing > the value with index 8. So make these tables smaller. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/mpegvideodata

Re: [FFmpeg-devel] [PATCHv3 1/4] avcodec/svq1enc: do not use ambiguous interframe mean symbols

2022-10-30 Thread Peter Ross
On Tue, Oct 25, 2022 at 08:17:04PM +1100, Peter Ross wrote: > Don't emit interframe mean symbols -128 and 128. > --- > > v3 patch set changes: > - reordered patchset > - add stds fields around extradata codec ident > - use Lavc codec ident when operating in bitexact mode > > libavcodec/svq1enc.c