On Tue, 27 Aug 2024, Rémi Denis-Courmont wrote:
Le 27 août 2024 03:03:37 GMT+03:00, Marton Balint a écrit :
Using INFINITY can cause issues with -ffast-math, and since we only use this
value to decide the formatting, we can just as easily use 0 for log10 of zero.
FFmpeg does not enable f
Le 27 août 2024 10:00:08 GMT+03:00, Marton Balint a écrit :
>IMHO the patch itself is harmless (simple, easy to follow), and if it helps
>somebody (no matter how unupported its use-case is), then why the hell not.
>But I can understand your point of view, that we should not bother with it, if
view_id_len in VPS is 4 bits, so view_id values can be up to 15 bits long.
Signed-off-by: James Almer
---
libavcodec/cbs_h265.h | 4 ++--
libavcodec/cbs_h265_syntax_template.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/cbs_h265.h b/libavco
On Mon, Aug 26, 2024, at 12:41, Ramiro Polla wrote:
> On Sun, Aug 25, 2024 at 7:52 PM J. Dekker wrote:
>> On Thu, Aug 22, 2024, at 16:57, Ramiro Polla wrote:
>> > On Wed, Aug 21, 2024 at 1:26 PM J. Dekker wrote:
>> >>
>> >> Port dav1d's checkasm output format to FFmpeg's checkasm, includes
>> >>
On Sun, Aug 25, 2024 at 10:37 PM Nicolas George wrote:
> Nuo Mi (12024-08-25):
> > Yes, I mean the v1. sorry for misleading you.
>
> Ah, ok. Then… maybe.
>
> Maybe v1 is the proper fix. Maybe the proper fix is to find where qPy_a
> or qPy_b are set to 63 if they can only be <63 and fix that part
On Tue, Aug 27, 2024 at 02:03:37AM +0200, Marton Balint wrote:
> Using INFINITY can cause issues with -ffast-math, and since we only use this
> value to decide the formatting, we can just as easily use 0 for log10 of zero.
>
> Signed-off-by: Marton Balint
> ---
> libavutil/timestamp.c | 2 +-
>
On Mon, 19 Aug 2024 21:27:38 +0300 Rémi Denis-Courmont wrote:
> Le tiistaina 13. elokuuta 2024, 17.03.36 EEST J. Dekker a écrit :
> > +#include "libavutil/riscv/asm.S"
> > +
> > +.macro vnclipsu.wi shifti, lmul, lmul2, vregs:vararg
> > +vsetvli zero, zero, e16, \lmul2, ta, ma
Quoting Michael Niedermayer (2024-08-23 21:30:06)
> On Thu, Aug 22, 2024 at 02:39:10PM +0200, Anton Khirnov wrote:
> > Quoting Michael Niedermayer (2024-08-20 22:57:37)
> > > Hi
> > >
> > > On Sun, Aug 18, 2024 at 01:26:53PM +0200, Anton Khirnov wrote:
> > > > ---
> > > > libavutil/opt.h | 78 +++
Previously one could only replace the entire array with a new one
deserialized from a string. The new API allows inserting, replacing, and
removing arbitrary element ranges.
---
doc/APIchanges | 3 +
libavutil/opt.c | 186
libavutil/opt.h
Fixes operations on array UINT options.
---
libavutil/opt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavutil/opt.c b/libavutil/opt.c
index e07ec8ce0f..d2af76478c 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -98,6 +98,7 @@ static int opt_is_pod(enum AVOptionType type)
cas
Hi,
this patchset adds support for decoding MV-HEVC (multiview, typically
used for stereoscopic 3D video). The code currently supports at most two
views, with the second depending on the first (i.e. using it for inter
prediction). Both views have to be of the same size; the spec allows
them not to
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 1f758f401c..d79920d9d6 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -174,6 +174,7 @@ Codecs:
h263* Michael Niedermayer
h264* Lo
---
libavcodec/hevc/hevcdec.c | 32 ++--
libavcodec/hevc/hevcdec.h | 2 +-
2 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c
index 1887a44e3e..0a3b5ba4c4 100644
--- a/libavcodec/hevc/hevcdec.c
+++ b/l
---
doc/APIchanges| 3 +++
fftools/ffprobe.c | 2 ++
libavfilter/vf_showinfo.c | 2 ++
libavutil/frame.c | 1 +
libavutil/frame.h | 9 +
libavutil/version.h | 2 +-
6 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/doc/APIchanges b/doc
Currently active SPS is a per-layer property.
---
libavcodec/hevc/hevcdec.c | 29 -
libavcodec/hevc/hevcdec.h | 2 ++
libavcodec/hevc/ps.c | 6 --
libavcodec/hevc/ps.h | 3 ---
libavcodec/hevc/refs.c| 24
libavcodec/vaapi_he
Cf. F.7.3.2.2 "Sequence parameter set RBSP syntax", which extends normal
SPS parsing with special clauses depending on MultiLayerExtSpsFlag.
---
libavcodec/hevc/hevcdec.c | 2 +-
libavcodec/hevc/parse.c | 3 +-
libavcodec/hevc/parser.c | 2 +-
libavcodec/hevc/ps.c | 62 +
pic_arrays_{init,free}() no longer access HEVCContext
---
libavcodec/hevc/hevcdec.c | 24
libavcodec/hevc/hevcdec.h | 6 +++---
libavcodec/hevc/refs.c| 4 ++--
3 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hev
---
libavcodec/hevc/filter.c | 43 ---
libavcodec/hevc/hevcdec.c | 73 ++-
libavcodec/hevc/hevcdec.h | 14 +---
3 files changed, 73 insertions(+), 57 deletions(-)
diff --git a/libavcodec/hevc/filter.c b/libavcodec/hevc/filter.c
index 56
---
libavcodec/hevc/cabac.c | 8
libavcodec/hevc/hevcdec.c | 11 ++-
libavcodec/hevc/hevcdec.h | 6 +++---
3 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/libavcodec/hevc/cabac.c b/libavcodec/hevc/cabac.c
index 12d477b2bd..892dd1c215 100644
--- a/libavcodec/he
From: James Almer
Signed-off-by: James Almer
---
libavcodec/hevc/sei.c | 55 +++
libavcodec/hevc/sei.h | 17 +
2 files changed, 72 insertions(+)
diff --git a/libavcodec/hevc/sei.c b/libavcodec/hevc/sei.c
index e39ac0c38a..6c2b55b43c 100644
--
---
doc/APIchanges| 3 +++
libavcodec/defs.h | 1 +
libavcodec/hevc/ps.c | 21 +
libavcodec/profiles.c | 1 +
libavcodec/version.h | 2 +-
5 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/doc/APIchanges b/doc/APIchanges
index a8f84ca45f..a4cf1b
---
libavcodec/hevc/cabac.c | 9 +++
libavcodec/hevc/hevcdec.c | 56 ---
libavcodec/hevc/hevcdec.h | 8 +++---
3 files changed, 38 insertions(+), 35 deletions(-)
diff --git a/libavcodec/hevc/cabac.c b/libavcodec/hevc/cabac.c
index 33f8241bb3..12d477b2bd
Otherwise parameter sets from extradata with nuh_layer_id>0 would be
ignored. Needed for upcoming MV-HEVC support.
---
libavcodec/hevc/parse.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavcodec/hevc/parse.c b/libavcodec/hevc/parse.c
index ad84b7b152..29f21a5966 100644
--- a/libavcode
---
tests/fate/hevc.mak | 10 ++
tests/ref/fate/hevc-mv-switch | 172 ++
2 files changed, 182 insertions(+)
create mode 100644 tests/ref/fate/hevc-mv-switch
diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak
index e75fbd3c16..5631ded860 100644
--- a
Require the character indicating media type to be followed by a
non-alphanumeric character (or end of string).
Needed by future syntax extensions.
---
fftools/cmdutils.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index f
---
libavcodec/hevc/ps.c | 178 +--
1 file changed, 89 insertions(+), 89 deletions(-)
diff --git a/libavcodec/hevc/ps.c b/libavcodec/hevc/ps.c
index 0b34dd10a8..5aebd66ba7 100644
--- a/libavcodec/hevc/ps.c
+++ b/libavcodec/hevc/ps.c
@@ -1182,10 +1182,10 @@
Only those that can be decoded with our implementation, so excluding
* C and D - independent layers
* G, H, I - more than 2 layers
Frame hashes verified against the reference implementation from
https://hevc.hhi.fraunhofer.de/svn/svn_3DVCSoftware/
---
tests/fate/hevc.mak |
From: Niklas Haas
Only implementing what's needed for MV-HEVC with two views.
Signed-off-by: Anton Khirnov
---
libavcodec/hevc/hevc.h | 9 +-
libavcodec/hevc/ps.c | 307 +++--
libavcodec/hevc/ps.h | 62 +
3 files changed, 364 insertions(+), 14
At most two layers are supported.
---
doc/decoders.texi | 68 +++
libavcodec/hevc/hevcdec.c | 375 ++
libavcodec/hevc/hevcdec.h | 41 -
libavcodec/hevc/refs.c| 64 +--
libavcodec/version.h | 2 +-
5 files changed, 493 insertions
ff_hevc_get_ref_list() needs the PPS of a previously decoded frame,
which may be different from the currently active one.
---
libavcodec/hevc/filter.c | 4 ++--
libavcodec/hevc/hevcdec.c | 1 +
libavcodec/hevc/hevcdec.h | 4 ++--
libavcodec/hevc/mvs.c | 2 +-
libavcodec/hevc/refs.c| 1
---
libavcodec/hevc/filter.c | 34 ++
libavcodec/hevc/hevcdec.c | 17 +
libavcodec/hevc/hevcdec.h | 6 --
3 files changed, 31 insertions(+), 26 deletions(-)
diff --git a/libavcodec/hevc/filter.c b/libavcodec/hevc/filter.c
index 14afb147b9..ad6
---
libavcodec/hevc/filter.c | 2 +-
libavcodec/hevc/hevcdec.c | 8
libavcodec/hevc/hevcdec.h | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/libavcodec/hevc/filter.c b/libavcodec/hevc/filter.c
index f5224151b6..12a57eb223 100644
--- a/libavcodec/hevc/filter.c
Restore vertical alignment to OutputFilterOptions initializer.
The flags field is kept as-is, since the corresponding lines are already
long, aligning them would make them even longer, and breaking them would
look worse.
---
fftools/ffmpeg_mux_init.c | 31 ---
1 file c
---
libavcodec/hevc/filter.c | 8
libavcodec/hevc/hevcdec.c | 10 +-
libavcodec/hevc/hevcdec.h | 2 +-
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/libavcodec/hevc/filter.c b/libavcodec/hevc/filter.c
index 78f408f170..4d5ef631d7 100644
--- a/libavcodec/hevc/
SPS multilayer extension contains a single flag that we are free to
ignore, no reason to print a warning.
---
libavcodec/hevc/ps.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/hevc/ps.c b/libavcodec/hevc/ps.c
index 0f4ae92588..0e084958be 100644
--- a/libavcodec/hevc/ps.c
+++ b/l
This extends the syntax for specifying input streams in -map and complex
filtergraph labels, to allow selecting a view by view ID, index, or
position. The corresponding decoder is then set up to decode the
appropriate view and send frames for that view to the correct
filtergraph input(s).
---
doc/
---
libavcodec/hevc/filter.c | 40 +++
libavcodec/hevc/hevcdec.c | 18 +-
libavcodec/hevc/hevcdec.h | 5 +
3 files changed, 30 insertions(+), 33 deletions(-)
diff --git a/libavcodec/hevc/filter.c b/libavcodec/hevc/filter.c
index 379c488d78
Handle them together with other sps-dependent arrays.
Note that current code only allocates these arrays when hwaccel is not
set, but this is wrong as the relevant code runs BEFORE get_format() is
called and hence before we know whether hwaccel is in use.
---
libavcodec/hevc/filter.c | 22 ++
Can be used together with the split filter to decompose multiview video
into individual views.
---
doc/filters.texi | 3 +++
libavfilter/f_select.c | 9 +
2 files changed, 12 insertions(+)
diff --git a/doc/filters.texi b/doc/filters.texi
index 2eb4a380fb..3d524e5d96 100644
--- a/doc
Start by moving the DPB to it.
Only one context exists for now, so decoder behaviour should not change
with this commit, but that will change in the future.
---
libavcodec/dxva2_hevc.c | 7 ++--
libavcodec/hevc/hevcdec.c | 63 +-
libavcodec/hevc/hevcdec.h | 19 +
---
libavcodec/hevc/filter.c | 29 +++--
libavcodec/hevc/hevcdec.c | 29 +++--
libavcodec/hevc/hevcdec.h | 3 ++-
3 files changed, 32 insertions(+), 29 deletions(-)
diff --git a/libavcodec/hevc/filter.c b/libavcodec/hevc/filter.c
index 18c73dc2fa.
---
libavcodec/hevc/filter.c | 8
libavcodec/hevc/hevcdec.c | 10 +-
libavcodec/hevc/hevcdec.h | 4 +++-
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/libavcodec/hevc/filter.c b/libavcodec/hevc/filter.c
index 4d5ef631d7..379c488d78 100644
--- a/libavcodec/hev
Active VPS is a property of the decoding process, not of the list of
parameter sets.
Check that the VPS can only change in a base layer - while this can
never happen currently (as no other layers can exist in the decoder), it
will become useful when multilayer decoding is supported.
---
libavcode
---
libavcodec/hevc/filter.c | 16
libavcodec/hevc/hevcdec.c | 34 ++
libavcodec/hevc/hevcdec.h | 4 ++--
3 files changed, 28 insertions(+), 26 deletions(-)
diff --git a/libavcodec/hevc/filter.c b/libavcodec/hevc/filter.c
index 12a57eb223..14afb1
---
libavcodec/hevc/filter.c | 24
libavcodec/hevc/hevcdec.c | 14 +++---
libavcodec/hevc/hevcdec.h | 5 +++--
3 files changed, 22 insertions(+), 21 deletions(-)
diff --git a/libavcodec/hevc/filter.c b/libavcodec/hevc/filter.c
index ad655a2b36..db82f2319f 100644
The per-frame reference picture set contains two more lists -
INTER_LAYER[01]. Assuming at most two layers, INTER_LAYER1 is always
empty, but is added anyway for completeness.
When inter-layer prediction is enabled, INTER_LAYER0 for the
second-layer frame will contain the base-layer frame from the
Will be useful for multilayer video.
---
fftools/ffmpeg_dec.c | 10 ++--
fftools/ffmpeg_demux.c| 2 +-
fftools/ffmpeg_filter.c | 4 +-
fftools/ffmpeg_mux_init.c | 2 +-
fftools/ffmpeg_sched.c| 102 --
fftools/ffmpeg_sched.h| 21 ++-
A packet should contain a full access unit, which for multilayer video
should contain all the layers.
---
libavcodec/hevc/parser.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/libavcodec/hevc/parser.c b/libavcodec/hevc/parser.c
index a10f38941b..05b92b21ee 100644
--- a
Cf. F.7.3.6.1 "General slice segment header syntax"
---
libavcodec/hevc/hevcdec.c | 36
libavcodec/hevc/hevcdec.h | 1 +
2 files changed, 33 insertions(+), 4 deletions(-)
diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c
index 260b9abef0..d9a
Typical files use 0 for the base layer and 1 for the secondary one, but
any value for the secondary layer should be supported.
---
tests/fate/hevc.mak | 4
tests/ref/fate/hevc-mv-nuh-layer-id | 15 +++
2 files changed, 19 insertions(+)
create mode 100644 tests/re
From: James Almer
Use the 3D Reference Displays Info SEI message to link a view_id with
an eye.
Signed-off-by: James Almer
---
libavcodec/hevc/hevcdec.c | 1 +
libavcodec/hevc/refs.c| 19 +++
2 files changed, 20 insertions(+)
diff --git a/libavcodec/hevc/hevcdec.c b/libav
Le 27 août 2024 17:12:03 GMT+03:00, Niklas Haas a écrit :
>> > +.irp x, \vregs
>> > +vmax.vx \x, \x, zero
>> > +.endr
>> > +vsetvli zero, zero, e8, \lmul, ta, ma
>> > +.irp x, \vregs
>> > +vnclipu.wi \x, \x, \shifti
>> > +.endr
>> > +.en
Le sunnuntaina 25. elokuuta 2024, 14.41.22 EEST flow gg a écrit :
> > Does not assemble with binutils 2.43.1 and default flags.
>
> Fixed through zve32x -> zve32x, zba
Are the Bitmanip runtime support checks missing or did I miss them?
--
Rémi Denis-Courmont
http://www.remlab.net/
__
Le sunnuntaina 18. elokuuta 2024, 13.19.33 EEST flow gg a écrit :
> Based on the test results for 49 different resolutions, most of them were
> significantly slower.
OK, thanks for checking. The heights are probably not large enough for this to
work. I don't have any objection on the RISC-V side
On Ma, 2024-08-26 at 09:41 +0800, fei.w.wang-at-intel@ffmpeg.org wrote:
> From: Fei Wang
>
> Signed-off-by: Fei Wang
> ---
> libavcodec/qsvenc.h | 2 --
> libavcodec/qsvenc_av1.c | 2 --
> 2 files changed, 4 deletions(-)
>
> diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
> inde
On Ma, 2024-08-26 at 09:40 +0800, fei.w.wang-at-intel@ffmpeg.org wrote:
> From: Fei Wang
>
> Signed-off-by: Fei Wang
> ---
> doc/encoders.texi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/encoders.texi b/doc/encoders.texi
> index 496852faeb..1035be0052 10064
In one of the failure paths of av_opt_get_array, the ret variable
was accidentally declared again, shadowing the outer one and once when
jumping to the fail label would return the still uninitialised outer
one.
To fix this simply remove the local declaration of ret that shadowed
the outer one.
In
On Tue, 27 Aug 2024 at 09:51, Rémi Denis-Courmont wrote:
>
>
>
> Le 27 août 2024 10:00:08 GMT+03:00, Marton Balint a écrit :
>
> >IMHO the patch itself is harmless (simple, easy to follow), and if it helps
> >somebody (no matter how unupported its use-case is), then why the hell not.
> >But I c
Le 28 août 2024 06:29:30 GMT+03:00, Kacper Michajlow a
écrit :
>On Tue, 27 Aug 2024 at 09:51, Rémi Denis-Courmont wrote:
>>
>>
>>
>> Le 27 août 2024 10:00:08 GMT+03:00, Marton Balint a écrit :
>>
>> >IMHO the patch itself is harmless (simple, easy to follow), and if it helps
>> >somebody (no
From: sunyuechi
C908 X60
avg_8_2x2_c:1.21.0
avg_8_2x2_rvv_i32 :0.70.7
avg_8_2x4_c:2.02.2
avg_8_2x4_rvv_i3
Updated: zve32x -> zve32x, zbb, zba
于2024年8月28日周三 14:37写道:
> From: sunyuechi
>
> C908 X60
> avg_8_2x2_c:1.21.0
> avg_8_2x2_rvv_i32 :0.70.7
> avg_8_2x4_
It seems that the previous patch have partially lacked if RVB, but now it
has if (flags & AV_CPU_FLAG_RVB).
Rémi Denis-Courmont 于2024年8月28日周三 03:00写道:
> Le sunnuntaina 25. elokuuta 2024, 14.41.22 EEST flow gg a écrit :
> > > Does not assemble with binutils 2.43.1 and default flags.
> >
> > Fixed
62 matches
Mail list logo