On 07/07/2023 14:44, Tobias Rapp wrote:
---
doc/filters.texi | 3 +++
libavfilter/vf_overlay.c | 36 +++-
libavfilter/vf_overlay.h | 1 +
3 files changed, 39 insertions(+), 1 deletion(-)
[...]
Would like to apply this patch-set in a few days from
From: Wenbin Chen
Fix a bug that queried bbox index may bigger than bbox's total number.
Signed-off-by: Wenbin Chen
---
libavfilter/vf_dnn_detect.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavfilter/vf_dnn_detect.c b/libavfilter/vf_dnn_detect.c
index 06efce02a6..
Le sunnuntaina 16. heinäkuuta 2023, 23.32.21 EEST Lynne a écrit :
> Introducing additional overhead in the form of a dereference is a point
> where instability can creep in. Can you guarantee that a context will
> always remain in L1D cache,
L1D is not involved here. In version 2, the pointers are
Signed-off-by: Michael Niedermayer
---
libavradio/sdr.h| 1 +
libavradio/sdrdemux.c | 1 +
libavradio/sdrinradio.c | 7 +++
3 files changed, 9 insertions(+)
diff --git a/libavradio/sdr.h b/libavradio/sdr.h
index 395b056531..27ec1db4f3 100644
--- a/libavradio/sdr.h
+++ b/libavradio/
Signed-off-by: Michael Niedermayer
---
libavradio/sdr.h| 23 +-
libavradio/sdrdemux.c | 53 -
libavradio/sdrinradio.c | 41 +--
3 files changed, 113 insertions(+), 4 deletions(-)
diff --git a/libavradio
This improves the local noise floor value
Signed-off-by: Michael Niedermayer
---
libavradio/sdrdemux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c
index a4c590acf2..a0b80785ef 100644
--- a/libavradio/sdrdemux.c
+++ b/libavradi
The global one caused problems when the spectrum is not flat
Signed-off-by: Michael Niedermayer
---
libavradio/sdrdemux.c | 33 +
1 file changed, 25 insertions(+), 8 deletions(-)
diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c
index 5a3af23a74..a4c590a
Signed-off-by: Michael Niedermayer
---
libavradio/sdrinradio.c | 4
1 file changed, 4 insertions(+)
diff --git a/libavradio/sdrinradio.c b/libavradio/sdrinradio.c
index f078d27e7b..3956c18375 100644
--- a/libavradio/sdrinradio.c
+++ b/libavradio/sdrinradio.c
@@ -184,6 +184,10 @@ static int
Signed-off-by: Michael Niedermayer
---
libavradio/sdr.h| 2 +-
libavradio/sdrdemux.c | 9 -
libavradio/sdrinradio.c | 10 --
3 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/libavradio/sdr.h b/libavradio/sdr.h
index ac6b7dffe0..dc20415457 100644
--- a/li
Signed-off-by: Michael Niedermayer
---
libavradio/sdrdemux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c
index 5a6a9b8894..a545e7cb4c 100644
--- a/libavradio/sdrdemux.c
+++ b/libavradio/sdrdemux.c
@@ -1543,7 +1543,7 @@ int ff_s
James Almer:
> On 7/16/2023 6:18 PM, Andreas Rheinhardt wrote:
>> This avoids having a function for each type of parameter set
>> for each of the modules.
>>
>> Signed-off-by: Andreas Rheinhardt
>> ---
>> libavcodec/cbs_h2645.c | 134 ++---
>> 1 file changed,
On 7/16/2023 6:18 PM, Andreas Rheinhardt wrote:
This avoids having a function for each type of parameter set
for each of the modules.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cbs_h2645.c | 134 ++---
1 file changed, 72 insertions(+), 62 deletions(-
This avoids having a function for each type of parameter set
for each of the modules.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cbs_h2645.c | 134 ++---
1 file changed, 72 insertions(+), 62 deletions(-)
diff --git a/libavcodec/cbs_h2645.c b/libavcodec/
Jul 15, 2023, 22:13 by r...@remlab.net:
> Le lauantaina 15. heinäkuuta 2023, 20.43.26 EEST Lynne a écrit :
>
>> Jul 15, 2023, 10:26 by r...@remlab.net:
>> > Le lauantaina 15. heinäkuuta 2023, 11.05.51 EEST Lynne a écrit :
>> >> Jul 14, 2023, 20:29 by r...@remlab.net:
>> >> > This makes all calls t
Le sunnuntaina 16. heinäkuuta 2023, 19.00.35 EEST Andreas Rheinhardt a écrit :
> > @@ -113,19 +121,31 @@ __asm__ volatile(\
> >
> > // avoid +32 for shift optimization (gcc should do that ...)
> > #define NEG_SSR32 NEG_SSR32
> > static inline int32_t NEG_SSR32( int32_t a, int8_t s){
> >
> > +
On 7/16/2023 1:00 PM, Andreas Rheinhardt wrote:
James Almer:
From: Rémi Denis-Courmont
Fixes assembling with binutil as >= 2.41
Signed-off-by: James Almer
---
libavcodec/x86/mathops.h | 26 +++---
1 file changed, 23 insertions(+), 3 deletions(-)
diff --git a/libavcode
James Almer:
> From: Rémi Denis-Courmont
>
> Fixes assembling with binutil as >= 2.41
>
> Signed-off-by: James Almer
> ---
> libavcodec/x86/mathops.h | 26 +++---
> 1 file changed, 23 insertions(+), 3 deletions(-)
>
> diff --git a/libavcodec/x86/mathops.h b/libavcodec/x86/
From: Rémi Denis-Courmont
Fixes assembling with binutil as >= 2.41
Signed-off-by: James Almer
---
libavcodec/x86/mathops.h | 26 +++---
1 file changed, 23 insertions(+), 3 deletions(-)
diff --git a/libavcodec/x86/mathops.h b/libavcodec/x86/mathops.h
index 6298f5ed19..ca7e2
This cannot beat the Zbb implementation, and it is unlikely that a real
meaningful CPU design would support V and not Zbb. The best loop rewrite
that I could come up with (4 shifts, 2 ands, 3 ors) is still ~40% slower
than Zbb.
A proper faster vector implementation should be feasible with the
cryp
This favours bit-wise logic over slow strided stores.
---
libavcodec/riscv/bswapdsp_rvv.S | 21 ++---
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/libavcodec/riscv/bswapdsp_rvv.S b/libavcodec/riscv/bswapdsp_rvv.S
index ef2999c1be..8b585ec5c9 100644
--- a/libavcod
Encoders (usually) have no business modifying frame->data
(which need not be writable), so they should use the appropriate
pointers.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/msrleenc.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/libavcodec/msrleenc.c b/
Also allocate the AVFrame during init and use av_frame_replace()
to replace it later.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/msrleenc.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/libavcodec/msrleenc.c b/libavcodec/msrleenc.c
index d5931f42fe..11f
A private class for an encoder without options is useless.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/msrleenc.c | 8
1 file changed, 8 deletions(-)
diff --git a/libavcodec/msrleenc.c b/libavcodec/msrleenc.c
index 264d57e178..d5931f42fe 100644
--- a/libavcodec/msrleenc.c
+++ b/li
Fixes Coverity issue #1538297.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/msrleenc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/msrleenc.c b/libavcodec/msrleenc.c
index e48d11a0f7..264d57e178 100644
--- a/libavcodec/msrleenc.c
+++ b/libavcodec/msrleenc.c
@@ -250,6 +25
Signed-off-by: Andreas Rheinhardt
---
libavcodec/msrleenc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/msrleenc.c b/libavcodec/msrleenc.c
index b73aa5e384..e48d11a0f7 100644
--- a/libavcodec/msrleenc.c
+++ b/libavcodec/msrleenc.c
@@ -234,7 +234,8 @@ static in
On 7/16/2023 11:22 AM, Andreas Rheinhardt wrote:
Prevents out-of-bound writes when parsing tile row heights.
Fixes Coverity issue #1538300.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/evc_ps.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/evc_ps.h b/
Prevents out-of-bound writes when parsing tile row heights.
Fixes Coverity issue #1538300.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/evc_ps.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/evc_ps.h b/libavcodec/evc_ps.h
index 0bbec1f138..336953b176 1006
Le lauantaina 15. heinäkuuta 2023, 23.57.04 EEST Rémi Denis-Courmont a écrit :
> Segmented loads are kinda slow, so this advantageously uses a
> unit-strided load and narrowing shifts instead.
>
> Before:
> ps_add_squares_rvv_f32: 30352.2
>
> After:
> ps_add_squares_rvv_f32: 11973.7
> ---
> liba
Signed-off-by: Andreas Rheinhardt
---
fftools/ffmpeg_enc.c | 38 +++---
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/fftools/ffmpeg_enc.c b/fftools/ffmpeg_enc.c
index 2c7e29af24..8b750de4e5 100644
--- a/fftools/ffmpeg_enc.c
+++ b/fftools/ffmpeg_e
frame is always != NULL for audio and video here
(this is checked by an assert and the frame is already dereferenced
before it reaches this code here).
Fixes Coverity issue #1538858.
Signed-off-by: Andreas Rheinhardt
---
fftools/ffmpeg_enc.c | 4
1 file changed, 4 deletions(-)
diff --git a
From: psykose
fixes a warning when building with --enable-lto:
libswscale/x86/swscale.c:323:1: warning: type of 'ff_nv12ToUV_avx' does not
match original declaration [-Wlto-type-mismatch]
323 | INPUT_FUNCS(avx);
| ^
libswscale/x86/rgb2rgb_template.c:1821:6: note: type mismatch in paramet
The code was blindly assuming that Zbb or V implied Zba. While the
earlier is practically always true, the later broke some QEMU setups,
as V was introduced earlier than Zba.
---
libavcodec/riscv/aacpsdsp_init.c | 11 ++---
libavcodec/riscv/alacdsp_init.c | 2 +-
libavcodec
Le sunnuntaina 16. heinäkuuta 2023, 14.55.43 EEST James Almer a écrit :
> On 7/16/2023 6:23 AM, Rémi Denis-Courmont wrote:
> > Le sunnuntaina 16. heinäkuuta 2023, 2.58.32 EEST James Almer a écrit :
> >> Should fix assembling with binutil as >= 2.41
> >>
> >> Signed-off-by: James Almer
> >> ---
>
On 7/16/2023 6:23 AM, Rémi Denis-Courmont wrote:
Le sunnuntaina 16. heinäkuuta 2023, 2.58.32 EEST James Almer a écrit :
Should fix assembling with binutil as >= 2.41
Signed-off-by: James Almer
---
This is IMO a big breakage. binutil's as has until now clipped these values
on its own, and never
Without this, Zbb functions get shadowed by V functions on devices
supporting both extensions, and never tested.
---
tests/checkasm/checkasm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c
index 53cf6c48bb..c6dec0de7a 1006
Michael Niedermayer (12023-07-15):
> COMBINED_REFCHANGE_REVISION_SUBJECT_TEMPLATE = (
> '%(emailprefix)s%(refname_type)s %(short_refname)s updated: %(oneline)s'
> )
Setting this to:
'%(emailprefix)s %(oneline)s (%(refname_type)s %(short_refname))'
would yield:
[ffmpeg-radio] avradio/sdr
James Almer (12023-07-15):
> Should fix assembling with binutil as >= 2.41
>
> Signed-off-by: James Almer
> ---
> This is IMO a big breakage. binutil's as has until now clipped these values on
> its own, and never required the compiler to do it.
I confirm it fixes the build failures on up-to-dat
Le sunnuntaina 16. heinäkuuta 2023, 2.58.32 EEST James Almer a écrit :
> Should fix assembling with binutil as >= 2.41
>
> Signed-off-by: James Almer
> ---
> This is IMO a big breakage. binutil's as has until now clipped these values
> on its own, and never required the compiler to do it.
TBH, s
From: Zhao Zhili
For example,
./ffmpeg -hwaccel videotoolbox \
-hwaccel_output_format videotoolbox_vld \
-i ios-265.mov \
-c:v hevc_videotoolbox \
-profile:v main \
-b:v 3M \
-vf
scale_vt=w=iw/2:h=ih/2:color_matrix=bt709:color_primaries=bt709:colo
From: Zhao Zhili
---
libavcodec/videotoolboxenc.c | 137 ---
1 file changed, 13 insertions(+), 124 deletions(-)
diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c
index 6114351392..8e493c4f7a 100644
--- a/libavcodec/videotoolboxenc.c
+++ b/l
From: Zhao Zhili
---
Changelog | 1 +
configure | 2 +
doc/filters.texi | 48 +++
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
libavfilter/version.h | 2 +-
libavfilter/vf_transpose_vt.c | 24
Le sunnuntaina 16. heinäkuuta 2023, 11.29.34 EEST Anton Khirnov a écrit :
> map_func is supposed to be an array of const pointer to function
> returning int, not an array of pointer to function returning const int.
>
> Reported-By: Martin Storsjö
> ---
> fftools/ffmpeg_mux_init.c | 2 +-
> 1 file
map_func is supposed to be an array of const pointer to function
returning int, not an array of pointer to function returning const int.
Reported-By: Martin Storsjö
---
fftools/ffmpeg_mux_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftool
On Sat, Jul 15, 2023 at 6:38 AM Michael Niedermayer
wrote:
> On Fri, Jul 07, 2023 at 10:05:27PM +0800, Nuo Mi wrote:
> > The executor design pattern was inroduced by java
> > <
> https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/concurrent/Executor.html
> >
> > it also adapte
44 matches
Mail list logo