On 2024-04-29 23:53 +0200, Alexander Strasser via ffmpeg-devel wrote:
> When piping ffmpeg into ffplay both programs write a status line in
> the terminal. That causes flickering and invisibility of one or the
> other status line.
>
> As compromise set ffplay log level to warning, so it doesn't sho
On 2024-05-29 18:51 +0300, Rémi Denis-Courmont wrote:
> Le keskiviikkona 29. toukokuuta 2024, 18.44.13 EEST Andreas Rheinhardt a écrit
> :
> > > +static double ff_scalarproduct_double_c(const double *v1,
>
> > Don't use an ff_ prefix for a static function.
>
> I can see over 300 such identifiers in
DCT-related FFmpeg functions often add an unsigned 8-bit sample to a
signed 16-bit coefficient, then clip the result back to an unsigned
8-bit value. RISC-V has no signed 16-bit to unsigned 8-bit clip, so
instead our most common sequence is:
VWADDU.WV
set SEW to 16 bits
VMAX.VV zero
This is almost the same story as vp7_idct_add4y. We just have to use
strided loads of 2 64-bit elements to account for the different data
layout in memory.
T-Head C908:
vp7_idct_dc_add4uv_c: 7.5
vp7_idct_dc_add4uv_rvv_i64: 2.0
vp8_idct_dc_add4uv_c: 6.2
vp8_idct_dc_add4uv_rvv_i32: 2.2 (
---
libavcodec/riscv/vp8dsp_rvv.S | 22 --
1 file changed, 22 deletions(-)
diff --git a/libavcodec/riscv/vp8dsp_rvv.S b/libavcodec/riscv/vp8dsp_rvv.S
index c83f9eec71..82489a7f14 100644
--- a/libavcodec/riscv/vp8dsp_rvv.S
+++ b/libavcodec/riscv/vp8dsp_rvv.S
@@ -194,28 +194,6 @
Le sunnuntaina 2. kesäkuuta 2024, 13.04.05 EEST Alexander Strasser via ffmpeg-
devel a écrit :
> On 2024-05-29 18:51 +0300, Rémi Denis-Courmont wrote:
> > Le keskiviikkona 29. toukokuuta 2024, 18.44.13 EEST Andreas Rheinhardt a
> > écrit>
> > > > +static double ff_scalarproduct_double_c(const doub
Le sunnuntaina 2. kesäkuuta 2024, 13.30.50 EEST Rémi Denis-Courmont a écrit :
> > I think Andreas remark is correct and it would be better to not use ff_
> > prefix wrongly when adding new code.
>
> IMO, it is worse.
P.S.: It is a moot point because a *different* version of the patch was merged.
On 2024-06-02 13:30 +0300, Rémi Denis-Courmont wrote:
> Le sunnuntaina 2. kesäkuuta 2024, 13.04.05 EEST Alexander Strasser via ffmpeg-
> devel a écrit :
> > On 2024-05-29 18:51 +0300, Rémi Denis-Courmont wrote:
> > > Le keskiviikkona 29. toukokuuta 2024, 18.44.13 EEST Andreas Rheinhardt a
> > > écr
Actually, the jaccard distance is defined as D = 1 - intersect / union.
Additionally, the distance value is compared against a constant that
must be between 0 and 1, which is not the case here. Both facts together
has led to the fact, that the function always returned a matching course
signature. T
Fixes runtime error: member access within misaligned address
for type 'av_alias64', which requires 8 byte alignment.
VP9mv is aligned to 4 bytes, so instead doing 8 bytes clear, let's do
2 times 4 bytes.
Signed-off-by: Kacper Michajłow
---
libavcodec/vp9mvs.c | 3 ++-
1 file changed, 2 inserti
On 6/2/2024 9:14 AM, Kacper Michajłow wrote:
Fixes runtime error: member access within misaligned address
for type 'av_alias64', which requires 8 byte alignment.
VP9mv is aligned to 4 bytes, so instead doing 8 bytes clear, let's do
2 times 4 bytes.
Signed-off-by: Kacper Michajłow
---
libavc
On 6/2/2024 10:06 AM, James Almer wrote:
On 6/2/2024 9:14 AM, Kacper Michajłow wrote:
Fixes runtime error: member access within misaligned address
for type 'av_alias64', which requires 8 byte alignment.
VP9mv is aligned to 4 bytes, so instead doing 8 bytes clear, let's do
2 times 4 bytes.
Sig
On 2024-03-03 09:55:15 +0100, Sebastian Ramacher wrote:
> On 2024-03-02 20:39:08 -0500, Sean McGovern wrote:
> > On Sat, Mar 2, 2024, 18:19 Michael Niedermayer
> > wrote:
> >
> > > On Sun, Mar 03, 2024 at 12:06:14AM +0100, Sebastian Ramacher wrote:
> > > > On 2024-03-02 23:55:38 +0100, Michael Ni
On 30/05/2024 04:37, Lynne wrote:
This commit adds a decoder for the frequency-domain part of USAC.
Changes over version 4:
- Actually reset entropy decoding upon configuration.
- Support for LFE channels.
Lynne (10):
channel_layout: add new channel positions supported by xHE-AAC
aacd
Andreas Rheinhardt:
> Forgotten in 65ddc74988245a01421a63c5cffa4d900c47117c.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> libavformat/nutdec.c | 14 --
> 1 file changed, 4 insertions(+), 10 deletions(-)
>
> diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
> index 0bb7f154db
---
doc/APIchanges | 6 ++
libavutil/version.h | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/APIchanges b/doc/APIchanges
index 60f056b863..e36a01336c 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -2,6 +2,12 @@ The last version increases of all libraries w
On 6/2/2024 2:10 PM, Lynne via ffmpeg-devel wrote:
---
doc/APIchanges | 6 ++
libavutil/version.h | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/APIchanges b/doc/APIchanges
index 60f056b863..e36a01336c 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -2,
Not valid anymore with xHE-AAC.
---
libavcodec/codec_desc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index a28ef68061..a3b983b907 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -2697,7 +2697,7 @
On 02/06/2024 19:13, James Almer wrote:
On 6/2/2024 2:10 PM, Lynne via ffmpeg-devel wrote:
---
doc/APIchanges | 6 ++
libavutil/version.h | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/APIchanges b/doc/APIchanges
index 60f056b863..e36a01336c 100644
--- a/d
Hi
On Sat, Jun 01, 2024 at 05:19:26PM +0200, Tomas Härdin wrote:
[...]
> > * Fund professional real live presence on multimedia / FOSS /
> > buisness related
> > events.
>
> Also reasonable. I could help man a booth at IBC or any other event in
> Europe
Iam strongly in favor of that! Though
Le 2 juin 2024 21:01:43 GMT+03:00, Michael Niedermayer
a écrit :
>Hi
>
>
>On Sat, Jun 01, 2024 at 05:19:26PM +0200, Tomas Härdin wrote:
>
>[...]
>
>> > * Fund professional real live presence on multimedia / FOSS /
>> > buisness related
>> > events.
>>
>> Also reasonable. I could help man a b
Le 31/05/2024 à 23:16, Timo Rothenpieler a écrit :
> On 31.05.2024 23:06, averne wrote:
>> Le 30/05/2024 à 22:42, Rémi Denis-Courmont a écrit :
>>> Le torstaina 30. toukokuuta 2024, 22.43.05 EEST averne a écrit :
These files are taken with minimal modifications from nvidia's Linux4Tegra
(
Le 31/05/2024 à 23:44, Michael Niedermayer a écrit :
> On Fri, May 31, 2024 at 11:06:49PM +0200, averne wrote:
>> Le 30/05/2024 à 22:38, Rémi Denis-Courmont a écrit :
>>> Le torstaina 30. toukokuuta 2024, 22.43.03 EEST averne a écrit :
This is useful eg. for memory-mapped buffers that need pag
On Mon, May 27, 2024 at 01:52:28AM +0200, Michael Niedermayer wrote:
> Coverity claims these are used uninitilaized in CID1598561 Uninitialized
> pointer write and CID1598565 Uninitialized pointer write
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> libavdevi
On Mon, May 27, 2024 at 01:52:14AM +0200, Michael Niedermayer wrote:
> Fixes: CID1591894 Uninitialized scalar variable
> Fixes: CID1591906 Uninitialized scalar variable
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> libavcodec/dxva2.c | 2 +-
> 1 file changed,
On Sat, May 25, 2024 at 01:18:13PM +0200, Michael Niedermayer wrote:
> Fixes: CID1460758 Operands don't affect result
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> libavformat/fwse.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
will apply
[...]
-
On Sun, May 19, 2024 at 10:07:31PM +0200, Michael Niedermayer wrote:
> This issue cannot happen with the current function parameters
>
> Fixes: CID1500309 Unintentional integer overflow
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> libavcodec/tests/jpeg2000d
On Sun, May 19, 2024 at 04:49:15AM +0200, Michael Niedermayer wrote:
> Fixes: CID1465481 Unintentional integer overflow
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> libavcodec/wavpackenc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
will app
Michael Niedermayer:
> Fixes: CID1591924 Uninitialized scalar variable
> Fixes: CID1591938 Uninitialized scalar variable
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> libavcodec/dxva2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a
On Fri, May 17, 2024 at 01:19:28AM +0200, Michael Niedermayer wrote:
> Helps: CID1548380 Uninitialized scalar variable
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> libavcodec/rv34.c | 2 ++
> 1 file changed, 2 insertions(+)
will apply remaining patches
[..
On Mon, May 13, 2024 at 03:20:08AM +0200, Michael Niedermayer wrote:
> Fixes: CID1500300 Unchecked return value
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> libavcodec/notchlc.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
will apply the remai
On Sat, 1 Jun 2024, Dennis Sädtler via ffmpeg-devel wrote:
Should the ftyp atom also be updated to remove brands no longer required
for non-fragmented files?
I'm not sure how important that is in real-world scenarios, so it might
not be worth it to deal with some of the additional changes requi
sön 2024-06-02 klockan 20:01 +0200 skrev Michael Niedermayer:
> Hi
>
>
> On Sat, Jun 01, 2024 at 05:19:26PM +0200, Tomas Härdin wrote:
>
> [...]
>
> > > * Fund professional real live presence on multimedia / FOSS /
> > > buisness related
> > > events.
> >
> > Also reasonable. I could help ma
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Michael Niedermayer
> Sent: vineri, 31 mai 2024 00:32
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH] area changed: scdet filter
>
> On Mon, May 13, 2024 at 06:52:19PM +0300, radu.taraib...@
On Sun, Jun 02, 2024 at 09:10:33PM +0200, Andreas Rheinhardt wrote:
> Michael Niedermayer:
> > Fixes: CID1591924 Uninitialized scalar variable
> > Fixes: CID1591938 Uninitialized scalar variable
> >
> > Sponsored-by: Sovereign Tech Fund
> > Signed-off-by: Michael Niedermayer
> > ---
> > libavcod
On 2024-06-02 21:36, Martin Storsjö wrote:
On Sat, 1 Jun 2024, Dennis Sädtler via ffmpeg-devel wrote:
Should the ftyp atom also be updated to remove brands no longer
required for non-fragmented files?
I'm not sure how important that is in real-world scenarios, so it
might not be worth it to de
Hi,
On Sun, Jun 2, 2024 at 9:12 AM James Almer wrote:
> On 6/2/2024 10:06 AM, James Almer wrote:
> > On 6/2/2024 9:14 AM, Kacper Michajłow wrote:
> >> Fixes runtime error: member access within misaligned address
> >> for type 'av_alias64', which requires 8 byte alignment.
> >>
> >> VP9mv is ali
Some calls to get_escaped_value() specify 0 bits as the third value.
This would result in get_bits(0), which is not a correct usage of the
get_bits API.
---
libavcodec/aac/aacdec_usac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/aac/aacdec_usac.c b/libavcodec/aa
USAC supports up to 64 audio channels, but puts no limit on the total
number of extensions that may be present. Which may mean that there's
a single audio channel, with 65 thousand extension elements.
We assume that 64 elements is the maximum for now. So check the value.
---
libavcodec/aac/aacdec
Verify that we have a correct number of channels.
---
libavcodec/aac/aacdec_usac.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/libavcodec/aac/aacdec_usac.c b/libavcodec/aac/aacdec_usac.c
index af3df3b449..0d5eb59de5 100644
--- a/libavcodec/aac/aacdec_usac.
---
libavcodec/aac/aacdec_usac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/aac/aacdec_usac.c b/libavcodec/aac/aacdec_usac.c
index 0d5eb59de5..80c6ab4e65 100644
--- a/libavcodec/aac/aacdec_usac.c
+++ b/libavcodec/aac/aacdec_usac.c
@@ -359,7 +359,7 @@ int ff_aac_
On Sun, 2 Jun 2024 at 23:17, Ronald S. Bultje wrote:
>
> Hi,
>
> On Sun, Jun 2, 2024 at 9:12 AM James Almer wrote:
>
> > On 6/2/2024 10:06 AM, James Almer wrote:
> > > On 6/2/2024 9:14 AM, Kacper Michajłow wrote:
> > >> Fixes runtime error: member access within misaligned address
> > >> for type
Hi,
On Sun, Jun 2, 2024 at 6:43 PM Kacper Michajlow wrote:
> On Sun, 2 Jun 2024 at 23:17, Ronald S. Bultje wrote:
> >
> > Hi,
> >
> > On Sun, Jun 2, 2024 at 9:12 AM James Almer wrote:
> >
> > > On 6/2/2024 10:06 AM, James Almer wrote:
> > > > On 6/2/2024 9:14 AM, Kacper Michajłow wrote:
> > >
Fixes "libavcodec/aac/aacdec_usac.c(543): error C2440: 'type cast': cannot
convert from 'GetBitContext' to 'GetBitContext'"
from msvc.
Signed-off-by: James Almer
---
libavcodec/aac/aacdec_usac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/aac/aacdec_usac.c b/l
On 03/06/2024 01:14, James Almer wrote:
Fixes "libavcodec/aac/aacdec_usac.c(543): error C2440: 'type cast': cannot convert
from 'GetBitContext' to 'GetBitContext'"
from msvc.
That's a very weird error. Why would they not permit casts of the same type?
Signed-off-by: James Almer
---
libavc
Alot more input checking can be performed, this is only checking the obvious
missing case
Fixes: CID1598562 Unchecked return value
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavdevice/xcbgrab.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --gi
Fixes: CID1559546 Logically dead code
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/iamf_parse.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavformat/iamf_parse.c b/libavformat/iamf_parse.c
index f8074c2de1c..312090b247c 100644
--- a/libavformat
This also makes the code more robust
Fixes: CID1512414 Uninitialized pointer read
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/imfdec.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c
ind
Fixes: CID1494636 Missing break in switch
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/img2dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index a40675d4341..f8c1c0f3136 100644
--- a/l
This changes the behavior and makes it behave how it probably was intended.
Either way this is unlikely to result in any user visible change
Fixes: CID1494637 Missing break in switch
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/img2dec.c | 6 --
1 fil
Fixes: CID1453457 Unchecked return value
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/libzmq.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavformat/libzmq.c b/libavformat/libzmq.c
index 04c72ac601c..f4bb849e46b 100644
--- a/l
Maybe Closes: CID1452496 Uninitialized scalar variable
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/matroskadec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 13959f8b3d4..3
Fixes: CID1500304 Unintentional integer overflow
Fixes: CID1500318 Unintentional integer overflow
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/mov.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/mov.c b/libavformat/mov
Fixes: CID1500312 Unintentional integer overflow
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavformat/mov.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index d15b7b70c50..93643304212 100644
--- a/libavf
On 5/31/2024 4:47 PM, James Almer wrote:
Signed-off-by: James Almer
---
libavutil/x86/float_dsp.asm| 52 ++
libavutil/x86/float_dsp_init.c | 5
2 files changed, 57 insertions(+)
diff --git a/libavutil/x86/float_dsp.asm b/libavutil/x86/float_dsp.asm
LGTM
On Sun, Jun 2, 2024 at 7:16 PM Michael Niedermayer
wrote:
>
> This also makes the code more robust
>
> Fixes: CID1512414 Uninitialized pointer read
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> libavformat/imfdec.c | 5 +
> 1 file changed, 1 inserti
From: Wenbin Chen
Add xpu device support to libtorch backend.
To enable xpu support you need to add
"-Wl,--no-as-needed -lintel-ext-pt-gpu -Wl,--as-needed" to
"--extra-libs" when configure ffmpeg.
Signed-off-by: Wenbin Chen
---
libavfilter/dnn/dnn_backend_torch.cpp | 16 +++-
1 fi
Am 02.06.24 um 22:14 schrieb Tomas Härdin:
sön 2024-06-02 klockan 20:01 +0200 skrev Michael Niedermayer:
Hi
On Sat, Jun 01, 2024 at 05:19:26PM +0200, Tomas Härdin wrote:
[...]
* Fund professional real live presence on multimedia / FOSS /
buisness related
events.
Also reasonable. I coul
58 matches
Mail list logo