Re: [FFmpeg-devel] [PATCH v4] avcodec/aarch64/hevc: add luma deblock NEON

2024-02-28 Thread J. Dekker
Martin Storsjö writes: > On Tue, 27 Feb 2024, J. Dekker wrote: > >> Benched using single-threaded full decode on an Ampere Altra. >> >> Bpp Before After Speedup >> 8 73,3s 65,2s 1.124x >> 10 114,2s 104,0s 1.098x >> 12 125,8s 115,7s 1.087x >> >> Signed-off-by: J. Dekker >> --- >> >> S

Re: [FFmpeg-devel] [PATCH v4] avcodec/aarch64/hevc: add luma deblock NEON

2024-02-28 Thread Martin Storsjö
On Wed, 28 Feb 2024, J. Dekker wrote: Martin Storsjö writes: On Tue, 27 Feb 2024, J. Dekker wrote: Benched using single-threaded full decode on an Ampere Altra. Bpp Before After Speedup 8 73,3s 65,2s 1.124x 10 114,2s 104,0s 1.098x 12 125,8s 115,7s 1.087x Signed-off-by: J. Dekk

Re: [FFmpeg-devel] [PATCH v4] avcodec/aarch64/hevc: add luma deblock NEON

2024-02-28 Thread J. Dekker
Martin Storsjö writes: > On Wed, 28 Feb 2024, J. Dekker wrote: > >> >> Martin Storsjö writes: >> >>> On Tue, 27 Feb 2024, J. Dekker wrote: >>> Benched using single-threaded full decode on an Ampere Altra. Bpp Before After Speedup 8 73,3s 65,2s 1.124x 10 114,2s

Re: [FFmpeg-devel] [PATCH] avcodec/intrax8: Fix assert

2024-02-28 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Commit 900ce6f8c3526f27173057bb955f54f4f4f41246 replaced > IntraX8Context.ac_vlc by IntraX8Context.ac_vlc_table, > but forgot to update an av_assert2()*. > cf7ed01938a4d8b2ccd28f1fadacd79103e54eed then > replaced this with a check for j_ac_vlc[mode], > but this makes no sense

Re: [FFmpeg-devel] [PATCH v4] avcodec/aarch64/hevc: add luma deblock NEON

2024-02-28 Thread Martin Storsjö
On Wed, 28 Feb 2024, J. Dekker wrote: Martin Storsjö writes: On Wed, 28 Feb 2024, J. Dekker wrote: Martin Storsjö writes: On Tue, 27 Feb 2024, J. Dekker wrote: Benched using single-threaded full decode on an Ampere Altra. Bpp Before After Speedup 8 73,3s 65,2s 1.124x 10 114,

Re: [FFmpeg-devel] [PATCH v4] avcodec/aarch64/hevc: add luma deblock NEON

2024-02-28 Thread J. Dekker
Martin Storsjö writes: > On Wed, 28 Feb 2024, J. Dekker wrote: > >> >> Martin Storsjö writes: >> >>> On Wed, 28 Feb 2024, J. Dekker wrote: >>> Martin Storsjö writes: > On Tue, 27 Feb 2024, J. Dekker wrote: > >> Benched using single-threaded full decode on an Ampere A

Re: [FFmpeg-devel] [PATCH v2 1/2] avdevice: deprecate opengl outdev

2024-02-28 Thread J. Dekker
Anton Khirnov writes: > Quoting Lynne (2024-02-21 13:32:19) >> Feb 21, 2024, 12:34 by j...@itanimul.li: >> >> > Signed-off-by: J. Dekker >> > --- >> > doc/outdevs.texi| 2 +- >> > libavdevice/opengl_enc.c| 11 +++ >> > libavdevice/version_major.h | 2 ++ >> > 3 file

[FFmpeg-devel] [PATCH 1/2] MAINTAINERS: remove inactive developer

2024-02-28 Thread J. Dekker
Inactive since 2007. Signed-off-by: J. Dekker --- MAINTAINERS | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index cc7f564f48..ace58f02a1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -148,7 +148,6 @@ Codecs: cinepak.c

[FFmpeg-devel] [PATCH 2/2] avcodec: remove sonic lossy/lossless audio

2024-02-28 Thread J. Dekker
This was an experimental/research codec of which ffmpeg is the only encoder and decoder, development has stalled and these files don't exist in the wild. Signed-off-by: J. Dekker --- Changelog |1 + configure |3 - libavcodec/Makefile |3 - libavcodec/

Re: [FFmpeg-devel] [REFUND-REQUEST] FOSDEM 2024

2024-02-28 Thread Michael Niedermayer
On Fri, Feb 23, 2024 at 09:19:26PM +0100, Stefano Sabatini wrote: > Il ven 23 feb 2024, 11:00 J. Dekker ha scritto: > > > Hi, > > > > I attended FOSDEM for ffmpeg and would like to request travel > > reimbursement. > > > > Flight | 162,46 EUR > > === > > Total | 162,46 EUR > > > > L

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: remove sonic lossy/lossless audio

2024-02-28 Thread Andreas Rheinhardt
J. Dekker: > This was an experimental/research codec of which ffmpeg is the only > encoder and decoder, development has stalled and these files don't exist > in the wild. > > Signed-off-by: J. Dekker > --- > Changelog |1 + > configure |3 - > libavcodec/Makef

[FFmpeg-devel] [PATCH 1/2] doc/ffprobe.xsd: add frameSideDatumType entry

2024-02-28 Thread Niklas Haas
From: Niklas Haas Frame-level side data attributes are printed with the same key/value structure as packet-level side data attributes, but this is not reflected in the XSD. --- doc/ffprobe.xsd | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd index 23d97

[FFmpeg-devel] [PATCH 2/2] doc/ffprobe.xsd: add and

2024-02-28 Thread Niklas Haas
From: Niklas Haas Originally introduced for dovi side data printing, but not properly reflected in the xsd. --- doc/ffprobe.xsd | 26 ++ 1 file changed, 26 insertions(+) diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd index 5d17b5d9b90..49771dd1482 100644 --- a/doc/ffprob

Re: [FFmpeg-devel] [PATCH 2/2] doc/ffprobe.xsd: add and

2024-02-28 Thread Niklas Haas
On Wed, 28 Feb 2024 14:23:50 +0100 Niklas Haas wrote: > + > + > + minOccurs="0" maxOccurs="unbounded"/> > + > + Typo, should be "piece". Fixed locally. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/li

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: remove sonic lossy/lossless audio

2024-02-28 Thread Michael Niedermayer
On Wed, Feb 28, 2024 at 01:56:10PM +0100, J. Dekker wrote: > This was an experimental/research codec of which ffmpeg is the only > encoder and decoder, > development has stalled Thats not true, there was private dicussion making sonic the most advanced audio codec in FFmpeg a few months ago. Iam

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: remove sonic lossy/lossless audio

2024-02-28 Thread J. Dekker
Michael Niedermayer writes: > [[PGP Signed Part:Undecided]] > On Wed, Feb 28, 2024 at 01:56:10PM +0100, J. Dekker wrote: >> This was an experimental/research codec of which ffmpeg is the only >> encoder and decoder, > > >> development has stalled > > Thats not true, there was private dicussion

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: remove sonic lossy/lossless audio

2024-02-28 Thread Nicolas George
J. Dekker (12024-02-28): > Keeping the codec around based on 'what if?'s doesn't seem > reasonable. Spending your efforts on it, even if it is just to remove it, is a waste of your time. -- Nicolas George ___ ffmpeg-devel mailing list ffmpeg-devel@ff

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: remove sonic lossy/lossless audio

2024-02-28 Thread Vittorio Giovara
On Wed, Feb 28, 2024 at 2:38 PM J. Dekker wrote: > > Michael Niedermayer writes: > > > [[PGP Signed Part:Undecided]] > > On Wed, Feb 28, 2024 at 01:56:10PM +0100, J. Dekker wrote: > >> This was an experimental/research codec of which ffmpeg is the only > >> encoder and decoder, > > > > > >> deve

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: remove sonic lossy/lossless audio

2024-02-28 Thread J. Dekker
Vittorio Giovara writes: > On Wed, Feb 28, 2024 at 2:38 PM J. Dekker wrote: > >> >> Michael Niedermayer writes: >> >> > [[PGP Signed Part:Undecided]] >> > On Wed, Feb 28, 2024 at 01:56:10PM +0100, J. Dekker wrote: >> >> This was an experimental/research codec of which ffmpeg is the only >> >>

Re: [FFmpeg-devel] [PATCH 1/2] MAINTAINERS: remove inactive developer

2024-02-28 Thread Vittorio Giovara
On Wed, Feb 28, 2024 at 1:56 PM J. Dekker wrote: > Inactive since 2007. > > Signed-off-by: J. Dekker > --- > MAINTAINERS | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-) > lgtm -- Vittorio ___ ffmpeg-devel mailing list ffmpeg-devel@ffmp

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/aom_film_grain: add AOM film grain synthesis

2024-02-28 Thread Niklas Haas
On Wed, 28 Feb 2024 16:45:50 +0100 Andreas Rheinhardt wrote: > I don't think this should be duplicated for every bitdepth. To clarify, you think the bit depth should be just treated as a runtime parameter instead of this being a template at all? How would you suggest to handle the diference in p

[FFmpeg-devel] [PATCH] avcodec/bsf/mp3_header_decompress: Remove BSF

2024-02-28 Thread Andreas Rheinhardt
This BSF is supposed to be used in conjunction with mp3_header_compress, which has been removed more than ten years ago in commit c6080d89009056530119ab794ad02e4d515c7754. It mangled the headers by removing the CRC field as well as fields that are supposed to stay constant for the entirety of a str

[FFmpeg-devel] [PATCH 1/6] avcodec/aacenc: Move initializing DSP out of aacenc.c

2024-02-28 Thread Andreas Rheinhardt
Otherwise aacenc.o gets pulled in by the aacencdsp checkasm test and it in turn pulls the rest of lavc in. Besides being bad size-wise this also has the downside that it pulls in avpriv_(cga|vga16)_font from libavutil which are marked as being imported from another library when building libavcodec

[FFmpeg-devel] [PATCH 2/6] avcodec/svq1enc: Move initializing DSP out of svq1enc.c

2024-02-28 Thread Andreas Rheinhardt
Otherwise svq1enc.o gets pulled in by the svq1encdsp checkasm test and it in turn pulls the rest of lavc in. Besides being bad size-wise this also has the downside that it pulls in avpriv_(cga|vga16)_font from libavutil which are marked as being imported from another library when building libavcode

[FFmpeg-devel] [PATCH 3/6] avcodec/vvc/vvc_intra: Move utils out of svq1enc.c

2024-02-28 Thread Andreas Rheinhardt
Otherwise vvc_intra.o gets pulled in by the vvc_mc checkasm test and it in turn pulls vvc_ctu.o and then the rest of vvcdec and lavc in. Besides being bad size-wise this also has the downside that it pulls in avpriv_(cga|vga16)_font from libavutil which are marked as being imported from another lib

[FFmpeg-devel] [PATCH 4/6] avcodec/vvc/vvc_mvs: Add proper header include

2024-02-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- TODO: Make checkheader also test subfolders. libavcodec/vvc/vvc_mvs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vvc/vvc_mvs.h b/libavcodec/vvc/vvc_mvs.h index a546a324c2..78ad17c303 100644 --- a/libavcodec/vvc/vvc_mvs.h +

[FFmpeg-devel] [PATCH 5/6] checkasm/vvc_mc: Don't use declare_func_emms

2024-02-28 Thread Andreas Rheinhardt
There is no MMX DSP code for VVC, so one can use the stricter declare_func which also tests that we are not in MMX mode at the end of this function. Signed-off-by: Andreas Rheinhardt --- tests/checkasm/vvc_mc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test

[FFmpeg-devel] [PATCH 6/6] tests/checkasm: Improve included headers

2024-02-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- tests/checkasm/exrdsp.c | 2 +- tests/checkasm/h264dsp.c| 2 -- tests/checkasm/h264pred.c | 2 +- tests/checkasm/hevc_sao.c | 2 -- tests/checkasm/utvideodsp.c | 1 - tests/checkasm/vp8dsp.c | 1 - tests/checkasm/vvc_mc.c | 4 +--- 7 files

Re: [FFmpeg-devel] [PATCH 3/6] avcodec/vvc/vvc_intra: Move utils out of svq1enc.c

2024-02-28 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Otherwise vvc_intra.o gets pulled in by the vvc_mc checkasm > test and it in turn pulls vvc_ctu.o and then the rest of vvcdec > and lavc in. Besides being bad size-wise this also has the downside > that it pulls in avpriv_(cga|vga16)_font from libavutil which are > marked as b

[FFmpeg-devel] [PATCH 0/3] Fix /// comments that should be ///

2024-02-28 Thread Andrew Sayers
This is the first in a planned series of patch series aimed at fixing documentation issues, especially doxygen rendering. I hope to post more as time allows in the coming days. The first patch reflects the output of a `sed` command, further patches fix edge cases not covered by `sed`. Splitting co

[FFmpeg-devel] [PATCH 1/3] all: Fix /// comments that should be ///

2024-02-28 Thread Andrew Sayers
Actual command: sed -i -e "s/\([;,] *\)<* *\/\/\/ *<* */\1\/\/\/< /" $( git grep -l "[;,] */// " ) Signed-off-by: Andrew Sayers --- libavcodec/avcodec.h | 8 libavcodec/bsf/noise.c | 24 libavcodec/ivi.h | 10 +- libavfilter/vf_deshake.c

[FFmpeg-devel] [PATCH 2/3] avcodec/ivi: Make comments more Doxygen-friendly

2024-02-28 Thread Andrew Sayers
Doxygen eats the newline in the first comment, making it harder to read. Join the lines and add a comma, so source and documentation are equally readable. Doxygen only associates the second comment with cust_dec. The comments for cust_dec and cust_tab make perfect sense without it, so downgrade i

[FFmpeg-devel] [PATCH 3/3] avcodec/avcodec: Downgrade multi-member comment to non-Doxygen comment

2024-02-28 Thread Andrew Sayers
Doxygen only associates this comment with "pts_correction_num_faulty_pts", causing it to display incorrectly. Signed-off-by: Andrew Sayers --- libavcodec/avcodec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 58c581a5c0..8a

Re: [FFmpeg-devel] [PATCH 1/3] lavc/vp9dsp: R-V V ipred vert

2024-02-28 Thread flow gg
Found some problems.. I'll come back to modify this later. (to prevent wasting time on this now) ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-deve

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: remove sonic lossy/lossless audio

2024-02-28 Thread James Almer
On 2/28/2024 10:31 AM, J. Dekker wrote: Michael Niedermayer writes: [[PGP Signed Part:Undecided]] On Wed, Feb 28, 2024 at 01:56:10PM +0100, J. Dekker wrote: This was an experimental/research codec of which ffmpeg is the only encoder and decoder, development has stalled Thats not true,

Re: [FFmpeg-devel] [PATCH v6 12/13] avcodec/libx264: add support for writing out CLL and MDCV

2024-02-28 Thread Jan Ekström
On Wed, Feb 28, 2024 at 1:39 AM Jan Ekström wrote: > > On Wed, Feb 28, 2024 at 12:24 AM Andreas Rheinhardt > wrote: > > > > Jan Ekström: > > > Both of these two structures were first available with X264_BUILD > > > 163, so make relevant functionality conditional on the version > > > being at leas

[FFmpeg-devel] [PATCH] avcodec/x86/rv40dsp, simple_idct: Remove remnants of MMX

2024-02-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/x86/rv40dsp.asm | 10 -- libavcodec/x86/simple_idct.asm | 36 -- 2 files changed, 46 deletions(-) diff --git a/libavcodec/x86/rv40dsp.asm b/libavcodec/x86/rv40dsp.asm index e02ad2c63f..e3c37dd297 100644

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: remove sonic lossy/lossless audio

2024-02-28 Thread Jean-Baptiste Kempf
On Wed, 28 Feb 2024, at 18:55, James Almer wrote: > On 2/28/2024 10:31 AM, J. Dekker wrote: >> >> Michael Niedermayer writes: >> >>> [[PGP Signed Part:Undecided]] >>> On Wed, Feb 28, 2024 at 01:56:10PM +0100, J. Dekker wrote: This was an experimental/research codec of which ffmpeg is the

[FFmpeg-devel] [PATCH 1/4] avformat/avio: Make avio_print_string_array() accept const pointers

2024-02-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- doc/APIchanges| 3 +++ libavformat/avio.h| 2 +- libavformat/aviobuf.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index 10f6667e9e..055e6848a3 100644 --- a/doc/APIchanges +++ b/doc/APIcha

[FFmpeg-devel] [PATCH 2/4] avutil/timestamp: Constify av_ts_make_time_string()

2024-02-28 Thread Andreas Rheinhardt
(Actually, the time base should be passed by value.) Signed-off-by: Andreas Rheinhardt --- doc/APIchanges| 3 +++ libavutil/timestamp.h | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 055e6848a3..2fca5b7ea8 100644 --- a/doc/API

[FFmpeg-devel] [PATCH 3/4] swresample/swresample: Constify swr_convert()

2024-02-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- doc/APIchanges | 3 +++ libswresample/swresample.c | 7 --- libswresample/swresample.h | 4 ++-- libswresample/version.h| 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index 2fca5b7ea

[FFmpeg-devel] [PATCH 4/4] fftools/ffmpeg_demux, sync_queue: Constify a bit

2024-02-28 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- fftools/ffmpeg_demux.c | 2 +- fftools/sync_queue.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c index d5a3dbc1d2..29f4a26224 100644 --- a/fftools/ffmpeg_demux.c +++ b/fftools/ffm

[FFmpeg-devel] [PATCH] avcodec/proresenc_kostya: Remove bug similarity text

2024-02-28 Thread Michael Niedermayer
According to kostya, it is not based on Wassermans encoder CC: Kostya Shishkov CC: Anatoliy Wasserman Signed-off-by: Michael Niedermayer --- libavcodec/proresenc_kostya.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c index

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: remove sonic lossy/lossless audio

2024-02-28 Thread Rémi Denis-Courmont
Le keskiviikkona 28. helmikuuta 2024, 19.55.11 EET James Almer a écrit : > > The last commit which actually changed the codec was > > 6026a5ad4f135476c7a1f51f8cfa7f4cc2ca0283 by you in 2013 which is over 10 > > years ago. For an experimental codec I think it's pretty safe to say > > that developmen

Re: [FFmpeg-devel] [PATCH 1/3] lavc/vp8dsp: R-V V put_bilin_h

2024-02-28 Thread Rémi Denis-Courmont
Le lauantaina 24. helmikuuta 2024, 10.31.36 EET flow gg a écrit : > Okay, Thanks for clarifying. > > I have used many fractional multipliers, mostly not for correctness, but > often for performance improvements (though I don't know why), > and there are no obvious downsides, How about leaving this

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: remove sonic lossy/lossless audio

2024-02-28 Thread Lynne
Feb 28, 2024, 14:29 by mich...@niedermayer.cc: > On Wed, Feb 28, 2024 at 01:56:10PM +0100, J. Dekker wrote: > >> This was an experimental/research codec of which ffmpeg is the only >> encoder and decoder, >> > > >> development has stalled >> > > Thats not true, there was private dicussion making s

Re: [FFmpeg-devel] [PATCH 2/2] swresample/resample: rework resample_one function to work the same way as the others

2024-02-28 Thread Michael Niedermayer
On Tue, Feb 27, 2024 at 09:50:49PM +0100, Marton Balint wrote: > > > On Tue, 27 Feb 2024, Michael Niedermayer wrote: > > > On Tue, Feb 27, 2024 at 10:48:10AM +0100, Marton Balint wrote: > > > Signed-off-by: Marton Balint > > > --- > > > libswresample/resample.c | 29 +++---

Re: [FFmpeg-devel] [PATCH 4/4] avformat/wavdec: dynamically set max_size by default

2024-02-28 Thread Andreas Rheinhardt
Marton Balint: > The wav demuxer by default tried to demux 4096-byte packets which caused > packets with very few number of samples for files with high channel count. > This caused a significant overhead especially since the latest ffmpeg.c > threading changes. > > So let's use a similar approach

Re: [FFmpeg-devel] [PATCH 4/4] avformat/wavdec: dynamically set max_size by default

2024-02-28 Thread Marton Balint
On Thu, 29 Feb 2024, Andreas Rheinhardt wrote: Marton Balint: The wav demuxer by default tried to demux 4096-byte packets which caused packets with very few number of samples for files with high channel count. This caused a significant overhead especially since the latest ffmpeg.c threading

Re: [FFmpeg-devel] [PATCH 2/2] swresample/resample: rework resample_one function to work the same way as the others

2024-02-28 Thread Marton Balint
On Wed, 28 Feb 2024, Michael Niedermayer wrote: On Tue, Feb 27, 2024 at 09:50:49PM +0100, Marton Balint wrote: On Tue, 27 Feb 2024, Michael Niedermayer wrote: On Tue, Feb 27, 2024 at 10:48:10AM +0100, Marton Balint wrote: Signed-off-by: Marton Balint --- libswresample/resample.c

[FFmpeg-devel] [PATCH] avcodec/x86/fpel: Remove remnants of MMX

2024-02-28 Thread Andreas Rheinhardt
Since 7cad4dba505f9ad0adf013dd5bdf02a57249eecc averaging functions only exist for MMXEXT and SSE2. Signed-off-by: Andreas Rheinhardt --- libavcodec/x86/fpel.asm | 23 --- 1 file changed, 23 deletions(-) diff --git a/libavcodec/x86/fpel.asm b/libavcodec/x86/fpel.asm index 278

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: remove sonic lossy/lossless audio

2024-02-28 Thread Vittorio Giovara
On Wed, Feb 28, 2024 at 11:13 PM Lynne wrote: > Feb 28, 2024, 14:29 by mich...@niedermayer.cc: > > > On Wed, Feb 28, 2024 at 01:56:10PM +0100, J. Dekker wrote: > > > >> This was an experimental/research codec of which ffmpeg is the only > >> encoder and decoder, > >> > > > > > >> development has

[FFmpeg-devel] [PATCH v1 1/2] lavc/vaapi_encode_h265: Map HEVC AV REXT profile to VA REXT profile

2024-02-28 Thread fei . w . wang-at-intel . com
From: Fei Wang Signed-off-by: Fei Wang --- libavcodec/vaapi_encode_h265.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_encode_h265.c index c4aabbf5ed..43755e2188 100644 --- a/libavcodec/vaapi_encode_h265.c +++ b/libavc

[FFmpeg-devel] [PATCH v1 2/2] lavc/vaapi_encode_h265: Set general_*_constriaint flags with profile

2024-02-28 Thread fei . w . wang-at-intel . com
From: Fei Wang According to Table A.2 in spec. Signed-off-by: Fei Wang --- libavcodec/vaapi_encode_h265.c | 181 +++-- 1 file changed, 128 insertions(+), 53 deletions(-) diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_encode_h265.c index 43755e2188..

[FFmpeg-devel] [PATCH v6 1/9] avcodec/vaapi_encode: move pic->input_surface initialization to encode_alloc

2024-02-28 Thread tong1 . wu-at-intel . com
From: Tong Wu When allocating the VAAPIEncodePicture, pic->input_surface can be initialized right in the place. This movement simplifies the send_frame logic and is the preparation for moving vaapi_encode_send_frame to the base layer. Signed-off-by: Tong Wu --- libavcodec/vaapi_encode.c | 8 +

[FFmpeg-devel] [PATCH v6 3/9] avcodec/vaapi_encode: extract set_output_property to base layer

2024-02-28 Thread tong1 . wu-at-intel . com
From: Tong Wu Signed-off-by: Tong Wu --- libavcodec/hw_base_encode.c | 40 + libavcodec/hw_base_encode.h | 3 +++ libavcodec/vaapi_encode.c | 44 ++--- 3 files changed, 45 insertions(+), 42 deletions(-) diff --git a/libavcodec/

[FFmpeg-devel] [PATCH v6 4/9] avcodec/vaapi_encode: extract gop configuration to base layer

2024-02-28 Thread tong1 . wu-at-intel . com
From: Tong Wu Signed-off-by: Tong Wu --- libavcodec/hw_base_encode.c | 54 + libavcodec/hw_base_encode.h | 3 +++ libavcodec/vaapi_encode.c | 52 +++ 3 files changed, 61 insertions(+), 48 deletions(-) diff --git a/libavcode

[FFmpeg-devel] [PATCH v6 5/9] avcodec/vaapi_encode: extract a get_recon_format function to base layer

2024-02-28 Thread tong1 . wu-at-intel . com
From: Tong Wu Get constraints and set recon frame format can be shared with other HW encoder such as D3D12. Extract this part as a new function to base layer. Signed-off-by: Tong Wu --- libavcodec/hw_base_encode.c | 58 + libavcodec/hw_base_encode.h | 2 ++

[FFmpeg-devel] [PATCH v6 6/9] avcodec/vaapi_encode: extract a free funtion to base layer

2024-02-28 Thread tong1 . wu-at-intel . com
From: Tong Wu Signed-off-by: Tong Wu --- libavcodec/hw_base_encode.c | 11 +++ libavcodec/hw_base_encode.h | 2 ++ libavcodec/vaapi_encode.c | 6 +- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/libavcodec/hw_base_encode.c b/libavcodec/hw_base_encode.c index 2a

[FFmpeg-devel] [PATCH v6 9/9] Changelog: add D3D12VA HEVC encoder changelog

2024-02-28 Thread tong1 . wu-at-intel . com
From: Tong Wu Signed-off-by: Tong Wu --- Changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/Changelog b/Changelog index 610ee61dd6..8669b4cdd8 100644 --- a/Changelog +++ b/Changelog @@ -27,6 +27,7 @@ version : - a C11-compliant compiler is now required; note that this requirement

[FFmpeg-devel] [PATCH v6 8/9] avcodec: add D3D12VA hardware HEVC encoder

2024-02-28 Thread tong1 . wu-at-intel . com
From: Tong Wu This implementation is based on D3D12 Video Encoding Spec: https://microsoft.github.io/DirectX-Specs/d3d/D3D12VideoEncoding.html Sample command line for transcoding: ffmpeg.exe -hwaccel d3d12va -hwaccel_output_format d3d12 -i input.mp4 -c:v hevc_d3d12va output.mp4 Signed-off-by: T

[FFmpeg-devel] [PATCH v6 7/9] avutil/hwcontext_d3d12va: add Flags for resource creation

2024-02-28 Thread tong1 . wu-at-intel . com
From: Tong Wu Flags field is added to support diffferent resource creation. Signed-off-by: Tong Wu --- doc/APIchanges| 3 +++ libavutil/hwcontext_d3d12va.c | 2 +- libavutil/hwcontext_d3d12va.h | 8 libavutil/version.h | 2 +- 4 files changed, 13 insertions(+

[FFmpeg-devel] [PATCH 1/2] lavc/qsvenc: always allocate the array to store mfxExtBuffer points

2024-02-28 Thread Xiang, Haihao
From: Haihao Xiang This allows us to append mfxExtBuffer per user's settings Signed-off-by: Haihao Xiang --- libavcodec/qsvenc.c | 44 +--- libavcodec/qsvenc.h | 1 + 2 files changed, 26 insertions(+), 19 deletions(-) diff --git a/libavcodec/qsvenc.c b

[FFmpeg-devel] [PATCH 2/2] lavc/qsvenc: add support for oneVPL string API

2024-02-28 Thread Xiang, Haihao
From: "Mandava, Mounika" A new option -qsv_params is added, where is a :-separated list of key=value parameters. Example: $ ffmpeg -y -f lavfi -i testsrc -vf "format=nv12" -c:v h264_qsv -qsv_params "TargetUsage=1:GopPicSize=30:GopRefDist=2:TargetKbps=5000" -f null - Signed-off-by: Mounika Man

[FFmpeg-devel] [PATCH] lavc/vp9: set update_map to 0 when segmentation.enabled is 0

2024-02-28 Thread llyyr
segmentation.update_map is never reset to 0 on a new frame, and retains the value from the previous frame. This bugs out a bunch of hwaccel drivers when segmentation.enabled is 0 but update_map isn't because they don't ignore values behind switches. We also do this for vp8* so this commit is just m