---
Now using aacdec_fixed with s32le output
---
tests/fate/ffmpeg.mak | 4 +
tests/ref/fate/ffmpeg-streamloop-transcode-av | 151 ++
2 files changed, 155 insertions(+)
create mode 100644 tests/ref/fate/ffmpeg-streamloop-transcode-av
diff --git a/tests/f
As we are introducing two new formats and supporting conversions
between them, and also with the existing 0rgb32/0bgr32 formats, we get
a combinatorial explosion of kernels. I introduced a few new macros to
keep the things mostly managable.
The conversions are all simple, following existing patter
Signed-off-by: Fei Wang
---
libavfilter/vaapi_vpp.c| 15 ---
libavfilter/vaapi_vpp.h| 2 ++
libavfilter/vf_misc_vaapi.c| 9 +
libavfilter/vf_procamp_vaapi.c | 10 ++
libavfilter/vf_scale_vaapi.c | 13 +
5 files changed, 46 insertions
Signed-off-by: Fei Wang
---
libavfilter/vaapi_vpp.c | 4
1 file changed, 4 insertions(+)
diff --git a/libavfilter/vaapi_vpp.c b/libavfilter/vaapi_vpp.c
index 10d31977c6..4de19564e9 100644
--- a/libavfilter/vaapi_vpp.c
+++ b/libavfilter/vaapi_vpp.c
@@ -554,6 +554,10 @@ int ff_vaapi_vpp_init_
Signed-off-by: Fei Wang
---
libavfilter/vaapi_vpp.c | 10 ++
libavfilter/vaapi_vpp.h | 5 +
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/libavfilter/vaapi_vpp.c b/libavfilter/vaapi_vpp.c
index a323dab8b8..10d31977c6 100644
--- a/libavfilter/vaapi_vpp.c
+++ b/libavfi
Will apply shortly.
___
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 "unsubscribe".
Jun 13, 2023, 06:21 by d...@lynne.ee:
> Fixes a small memory leak.
> This also prevents leaks on malloc/mutex init errors.
>
> Does not depend on any other patches.
>
> Patch attached.
>
Pushed.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http
Jun 13, 2023, 06:20 by d...@lynne.ee:
> This fixes three memory leaks from ff_vk_load_props().
> Does not depend on any other patches.
>
> Patch attached.
>
Pushed.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinf
Jun 15, 2023, 20:26 by an...@khirnov.net:
> Quoting Lynne (2023-06-13 04:11:35)
>
>> The issue is that with a threadsafe hwaccel and multiple enabled
>> frame threads, hwaccel->uninit() is never called.
>> Previously, the function was guaranteed to never have any threads
>> with hwaccel contexts,
On Sat, 10 Jun 2023 19:59:35 -0700
Philip Langdale wrote:
> These are physically compatible formats and are potentially useful.
>
> Signed-off-by: Philip Langdale
> ---
> libavutil/hwcontext_cuda.c | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/libavutil/hwcontext_cuda.c b/libav
On Wed, 14 Jun 2023 20:04:35 -0700
Philip Langdale wrote:
> I'm not sure why I originally did this, but there's no good reason to
> put pointers to the cuda context and stream in the priv struct. They
> are directly available in the device context that is already being
> stored there.
>
> Signed
Le torstaina 15. kesäkuuta 2023, 13.36.42 EEST Peiting Shen a écrit :
> From: Shen Peiting
>
> Scalar calculating int32 sum_square optimized by using RVV instructions
>
> Benchmarks on Spike(cycles):
> len=128
> ac3_sum_square_butterfly_int32_c: 8497
> ac3_sum_square_butterfly_int32_rvv: 258
> l
Le torstaina 15. kesäkuuta 2023, 13.36.45 EEST Peiting Shen a écrit :
> From: Shen Peiting
>
> Use RVB instruction clz to calculate the number of leading zeros of MSB
> instead of av_log2.
>
> Benchmarks on Spike(cycles):
> ac3_extract_exponents_c: 8226
> ac3_extract_exponents_rvb: 1167
FWIW, R
Le torstaina 15. kesäkuuta 2023, 16.57.18 EEST Lynne a écrit :
> Jun 15, 2023, 12:37 by shenpeit...@eswincomputing.com:
> > From: Shen Peiting
> >
> > We optimized the six interfaces of AC3 init by RVV, the optimized
> > performance was tested on the RISC-V ISA simulator--Spike, and the
> > resul
Le torstaina 15. kesäkuuta 2023, 17.58.37 EEST Arnie Chang a écrit :
> Since these functions are frequently called, I prefer instantiating similar
> code many times
> rather than calling another internal function, as it may introduce
> additional function call overhead.
This works both ways. Small
On 6/15/23 8:46 AM, Paul B Mahol wrote:
> get_vlc2 can be made for get_bits_var(), first table bits (that are still
> int and not uint8_t), the code that picks table index from which to take
> bits.
>
> It is also possible to make it take both first index and rest of it and
> build bigger tables
Quoting Lynne (2023-06-13 04:11:35)
> The issue is that with a threadsafe hwaccel and multiple enabled
> frame threads, hwaccel->uninit() is never called.
> Previously, the function was guaranteed to never have any threads
> with hwaccel contexts, so it never bothered to uninit it.
>
> Patch attac
Le torstaina 15. kesäkuuta 2023, 13.36.41 EEST Peiting Shen a écrit :
> From: Shen Peiting
>
> Vector instructions replaces scalar options of float convert to fixed
>
> Benchmarks on Spike(cycles):
> len=16
> float_to_fixed24_c: 315
> float_to_fixed24_rvv: 27
> len=160
> float_to_fixed24_c: 2871
Nihao
Le torstaina 15. kesäkuuta 2023, 13.36.40 EEST Peiting Shen a écrit :
> From: Shen Peiting
>
> Find scalar minium optimized by using RVV instructions
>
> Benchmarks on Spike(cycles):
> *exp=1280*4;num_reuse_blocks=5;nb_coefs=16
> ac3_exponent_min_c: 1993
> ac3_exponent_min_rvv: 258
> *exp
On Wed, Jun 14, 2023 at 10:01 PM Roy Funderburk
wrote:
> Hi,
>
> I updated the libavcodec patch per Paul Mahol's reviews:
>
> dtsuhd_common.c:496 get_bits_long instead of get_bits used for reading 36
> bits
>
> dtsuhd_common.c:224 get_bits_var changed to accept arrays in VarBits
> structure, allo
On Thu, 15 Jun 2023 17:17:41 +0200 Paul B Mahol wrote:
> Attached.
> From 88fbb2fbfd2bb7cb3474d54cb197ee42b1404532 Mon Sep 17 00:00:00 2001
> From: Paul B Mahol
> Date: Thu, 15 Jun 2023 17:15:44 +0200
> Subject: [PATCH] avfilter/buffersrc: stop passing AV_NOPTS_VALUE on EOF
>
> Signed-off-by: Pa
Hello Paul,
On Thu, Jun 15, 2023 at 10:57 AM Paul B Mahol wrote:
> It may conflict with another set of drawtext patches.
I'm happy to regenerate the drawtext patch if there is a conflict. If
the other patches could be merged though that would be helpful as it
would avoid me having to regenerate
On Thu, Jun 15, 2023 at 5:20 PM James Almer wrote:
> Signed-off-by: James Almer
> ---
> libavcodec/evc_parse.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/evc_parse.c b/libavcodec/evc_parse.c
> index 71e2605281..b3044eca3f 100644
> --- a/libavcodec/evc_pa
LGTM
___
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 "unsubscribe".
Prevents future checks for their presence from succeeding.
Signed-off-by: James Almer
---
libavcodec/evc_parse.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/evc_parse.c b/libavcodec/evc_parse.c
index 3e315526fa..4b9d820d34 100644
--- a/libavcodec/evc_parse.c
Signed-off-by: James Almer
---
libavcodec/evc_frame_merge_bsf.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/evc_frame_merge_bsf.c b/libavcodec/evc_frame_merge_bsf.c
index fbb344490a..7cc701f5c5 100644
--- a/libavcodec/evc_frame_merge_bsf.c
+++ b/libavcodec/ev
Signed-off-by: James Almer
---
libavcodec/evc_parse.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/libavcodec/evc_parse.c b/libavcodec/evc_parse.c
index b3044eca3f..3e315526fa 100644
--- a/libavcodec/evc_parse.c
+++ b/libavcodec/evc_parse.c
@@ -441,7 +441,7 @@ s
Signed-off-by: James Almer
---
libavcodec/evc_frame_merge_bsf.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/libavcodec/evc_frame_merge_bsf.c b/libavcodec/evc_frame_merge_bsf.c
index d2746a1ef6..fbb344490a 100644
--- a/libavcodec/evc_frame_merge_bsf.c
+++ b/libavcodec
Signed-off-by: James Almer
---
libavcodec/evc_parse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/evc_parse.c b/libavcodec/evc_parse.c
index 71e2605281..b3044eca3f 100644
--- a/libavcodec/evc_parse.c
+++ b/libavcodec/evc_parse.c
@@ -357,7 +357,7 @@ EVCParserPPS
Signed-off-by: James Almer
---
libavcodec/evc_parse.c | 7 +++
libavcodec/evc_parse.h | 2 ++
libavcodec/evc_parser.c | 11 +--
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/libavcodec/evc_parse.c b/libavcodec/evc_parse.c
index 4b9d820d34..703529e9f4 100644
---
There's no need to store EVC_MAX_PPS_COUNT amount of slice headers in
EVCParserContext.
Signed-off-by: James Almer
---
libavcodec/evc_parse.c | 50 +
libavcodec/evc_parse.h | 4
libavcodec/evc_parser.c | 2 --
3 files changed, 21 insertions(+), 3
Otherwise stale values may remain in place.
Signed-off-by: James Almer
---
libavcodec/evc_parse.c | 4
1 file changed, 4 insertions(+)
diff --git a/libavcodec/evc_parse.c b/libavcodec/evc_parse.c
index 68f0d31f96..f8a4ca3e07 100644
--- a/libavcodec/evc_parse.c
+++ b/libavcodec/evc_parse.c
The entire EVCParserContext will be zeroed during allocation.
Signed-off-by: James Almer
---
libavcodec/evc_parser.c | 12
1 file changed, 12 deletions(-)
diff --git a/libavcodec/evc_parser.c b/libavcodec/evc_parser.c
index 7528fb13db..639dcbd135 100644
--- a/libavcodec/evc_parser.
Signed-off-by: James Almer
---
libavcodec/evc_parse.c | 15 +++
libavcodec/evc_parser.c | 1 +
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/libavcodec/evc_parse.c b/libavcodec/evc_parse.c
index f69d7ffb6b..68f0d31f96 100644
--- a/libavcodec/evc_parse.c
+++ b/libavc
Signed-off-by: James Almer
---
libavformat/evcdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/evcdec.c b/libavformat/evcdec.c
index 89eda0f53e..807406885a 100644
--- a/libavformat/evcdec.c
+++ b/libavformat/evcdec.c
@@ -268,7 +268,7 @@ const AVInputFormat ff_
Attached.
From 88fbb2fbfd2bb7cb3474d54cb197ee42b1404532 Mon Sep 17 00:00:00 2001
From: Paul B Mahol
Date: Thu, 15 Jun 2023 17:15:44 +0200
Subject: [PATCH] avfilter/buffersrc: stop passing AV_NOPTS_VALUE on EOF
Signed-off-by: Paul B Mahol
---
libavfilter/buffersrc.c | 5 -
1 file changed, 4
On 6/15/2023 8:46 AM, Dawid Kozinski wrote:
- Added constants definitions for EVC parser
- Provided NAL units parsing following ISO_IEC_23094-1
- EVC parser registration
Signed-off-by: Dawid Kozinski
---
configure | 2 +
libavcodec/Makefile | 2 +
libavcodec/evc.h
On Wed, Jun 14, 2023 at 11:57 PM Rémi Denis-Courmont
wrote:
> It looks like \width is only ever used as AVL. You could advantageously
> pass
> it as a run-time argument to an internal function, and spare the
> instruction
> cache, instead of instantiating otherwise identical code thrice.
>
Since
On Thu, Jun 15, 2023 at 4:54 PM Devin Heitmueller <
devin.heitmuel...@ltnglobal.com> wrote:
> On Wed, Jun 7, 2023 at 3:24 PM Devin Heitmueller
> wrote:
> >
> > This patch series includes some misc changes related to AFD, as well
> > as adding support for S2016-1 bar data.
> >
> > The current focu
On Wed, Jun 7, 2023 at 3:24 PM Devin Heitmueller
wrote:
>
> This patch series includes some misc changes related to AFD, as well
> as adding support for S2016-1 bar data.
>
> The current focus of this series for bar data is getting the basic
> support in place within the raw domain and decklink ou
Jun 15, 2023, 12:37 by shenpeit...@eswincomputing.com:
> From: Shen Peiting
>
> We optimized the six interfaces of AC3 init by RVV, the optimized
> performance was tested on the RISC-V ISA simulator--Spike, and the
> results were attached to each commit.
>
> shenpeiting (6):
> lavc/ac3dsp: RIS
> -Original Message-
> From: ffmpeg-devel On Behalf Of James
> Almer
> Sent: środa, 14 czerwca 2023 03:00
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH v24 6/9] avformat/mov_muxer: Extended
> MOV muxer to handle EVC video content
>
> On 6/13/2023 9:23 PM, Michael
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Michael Niedermayer
> Sent: środa, 14 czerwca 2023 02:23
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH v24 6/9] avformat/mov_muxer: Extended
> MOV muxer to handle EVC video content
>
> O
- MAINTAINERS update
Signed-off-by: Dawid Kozinski
---
MAINTAINERS | 3 +++
1 file changed, 3 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 07852486e4..a595800af7 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -198,6 +198,8 @@ Codecs:
libvpx* James Z
- Changelog update
Signed-off-by: Dawid Kozinski
---
Changelog | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Changelog b/Changelog
index cd872d9bf2..0b785522dc 100644
--- a/Changelog
+++ b/Changelog
@@ -17,6 +17,8 @@ version :
- RivaTuner video decoder
- xfade_vulkan
- Added evc extension to the list of extensions for ff_mov_demuxer
Signed-off-by: Dawid Kozinski
---
libavformat/demux.c | 1 +
libavformat/mov.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/libavformat/demux.c b/libavformat/demux.c
index b3f563ccc7..1b21b8440c 100644
--- a/libavform
- Changes in mov_write_video_tag function to handle EVC elementary stream
- Provided structure EVCDecoderConfigurationRecord that specifies the decoder
configuration information for ISO/IEC 23094-1 video content
Signed-off-by: Dawid Kozinski
---
libavformat/Makefile| 2 +-
libavformat/evc
- Added EVC decoder wrapper
- Changes in project configuration file and libavcodec Makefile
- Added documentation for xevd wrapper
Signed-off-by: Dawid Kozinski
---
configure | 4 +
doc/decoders.texi | 24 ++
doc/general_contents.texi | 10 +-
libavcodec/Makefile
- Added EVC encoder wrapper
- Changes in project configuration file and libavcodec Makefile
- Added documentation for xeve wrapper
Signed-off-by: Dawid Kozinski
---
configure | 4 +
doc/encoders.texi | 69 +
doc/general_contents.texi | 11 +
libavcodec/Makefile
- Provided AVInputFormat struct describing EVC input format (ff_evc_demuxer)
Signed-off-by: Dawid Kozinski
---
libavcodec/Makefile | 1 +
libavcodec/bitstream_filters.c | 5 +-
libavcodec/evc_frame_merge_bsf.c | 170 +++
libavformat/Makefile | 1 +
- Provided AVOutputFormat structure describing EVC output format (ff_evc_muxer)
- Added documentation for EVC muxer
Signed-off-by: Dawid Kozinski
---
doc/muxers.texi | 6 ++
libavformat/Makefile | 1 +
libavformat/allformats.c | 1 +
libavformat/rawenc.c | 13
- Added constants definitions for EVC parser
- Provided NAL units parsing following ISO_IEC_23094-1
- EVC parser registration
Signed-off-by: Dawid Kozinski
---
configure | 2 +
libavcodec/Makefile | 2 +
libavcodec/evc.h| 155
libavcodec/evc_parse.c | 767
From: Shen Peiting
Use RVB instruction clz to calculate the number of leading zeros of MSB instead
of av_log2.
Benchmarks on Spike(cycles):
ac3_extract_exponents_c: 8226
ac3_extract_exponents_rvb: 1167
Co-Authored by: Yang Xiaojun
Co-Authored by: Huang Xing
Co-Authored by: Zeng Fanchen
Sign
From: Shen Peiting
Use RVV instruction vlsege to operate on matrix columns.
Benchmarks on Spike(cycles):
ac3_compute_mantissa_size_c: 2338
ac3_compute_mantissa_size_rvv: 55
Co-Authored by: Yang Xiaojun
Co-Authored by: Huang Xing
Co-Authored by: Zeng Fanchen
Signed-off-by: Shen Peiting
---
From: Shen Peiting
Scalar calculating float sum_square optimized by using RVV instructions
Benchmarks on Spike(cycles):
len=128
ac3_sum_square_butterfly_float_c: 7986
ac3_sum_square_butterfly_float_rvv: 146
len=1280
ac3_sum_square_butterfly_float_c: 79410
ac3_sum_square_butterfly_float_rvv: 1154
From: Shen Peiting
Scalar calculating int32 sum_square optimized by using RVV instructions
Benchmarks on Spike(cycles):
len=128
ac3_sum_square_butterfly_int32_c: 8497
ac3_sum_square_butterfly_int32_rvv: 258
len=1280
ac3_sum_square_butterfly_int32_c: 84529
ac3_sum_square_butterfly_int32_rvv: 2274
From: Shen Peiting
Vector instructions replaces scalar options of float convert to fixed
Benchmarks on Spike(cycles):
len=16
float_to_fixed24_c: 315
float_to_fixed24_rvv: 27
len=160
float_to_fixed24_c: 2871
float_to_fixed24_rvv: 67
Co-Authored by: Yang Xiaojun
Co-Authored by: Huang Xing
Co-Au
From: Shen Peiting
Find scalar minium optimized by using RVV instructions
Benchmarks on Spike(cycles):
*exp=1280*4;num_reuse_blocks=5;nb_coefs=16
ac3_exponent_min_c: 1993
ac3_exponent_min_rvv: 258
*exp=1280*4;num_reuse_blocks=19;nb_coefs=255
ac3_exponent_min_c: 99010
ac3_exponent_min_rvv: 3843
From: Shen Peiting
We optimized the six interfaces of AC3 init by RVV, the optimized
performance was tested on the RISC-V ISA simulator--Spike, and the
results were attached to each commit.
shenpeiting (6):
lavc/ac3dsp: RISC-V V ac3_exponent_min
lavc/ac3dsp: RISC-V V float_to_fixed24
lav
Thanks for looking into this,
The idea is to page-align the entire software-backed video pool allocation
where video frames are being taken from – both for decoding and/or encoding
(when done in software only).
The default get_buffer2 (avcodec_default_get_buffer2) implementation
contains code for
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Michael Niedermayer
> Sent: środa, 14 czerwca 2023 02:23
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH v24 6/9] avformat/mov_muxer: Extended
> MOV muxer to handle EVC video content
>
> O
On Thu, Jun 15, 2023 at 4:16 AM Iskandar Safarov wrote:
>
> ---
> libavcodec/get_buffer.c | 52 -
> 1 file changed, 51 insertions(+), 1 deletion(-)
>
> diff --git a/libavcodec/get_buffer.c b/libavcodec/get_buffer.c
> index a04fd878de..b18af3be4a 100644
> --
> -Original Message-
> From: ffmpeg-devel On Behalf Of James
> Almer
> Sent: środa, 14 czerwca 2023 03:00
> To: ffmpeg-devel@ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH v24 6/9] avformat/mov_muxer: Extended
> MOV muxer to handle EVC video content
>
> On 6/13/2023 9:23 PM, Michael
63 matches
Mail list logo