[FFmpeg-devel] [PATCH] avcodec/mediacodecdec: add low latency decoding

2023-05-21 Thread xufuji456
The low-latency decoding mode has available in Android api 30. See https://developer.android.google.cn/reference/android/media/MediaCodec?hl=en#PARAMETER_KEY_LOW_LATENCY Signed-off-by: xufuji456 <839789...@qq.com> --- libavcodec/mediacodecdec.c | 7 ++- 1 file changed, 6 insertions(+), 1 del

Re: [FFmpeg-devel] Add LSX optimization in avcodec and swscale.

2023-05-21 Thread Shiyou Yin
> 2023年5月20日 15:27,Hao Chen 写道: > > Retrigger the fate test. > v1: Add LSX optimization in avcodec and swscale, due to the 2K series CPUs > only support lsx. > v2: Modified the implementation of some functions and added support for the > checkasm --bench feature. > v3: Fix whitespace errors i

[FFmpeg-devel] ?????? [PATCH] avcodec/videotoolboxenc: replace VT_H264Profile with avctx profile

2023-05-21 Thread ??????
It's my mistake that forget to remove H264_PROF_AUTO. I will fix that. Any other suggestions about the profile_options? Thanks. --  -- ??:

[FFmpeg-devel] [PATCH v2] avfilter/vf_subtitles: add wrap_unicode option

2023-05-21 Thread Zhao Zhili
From: Zhao Zhili So CJK can be wrapped automatically. Signed-off-by: Zhao Zhili --- v2: Don't overwrite wrap automatically for native ASS libavfilter/version.h | 2 +- libavfilter/vf_subtitles.c | 14 ++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/libavfil

[FFmpeg-devel] [PATCH] lavc/qsvenc: the height is aligned to 32 for AV1

2023-05-21 Thread Xiang, Haihao
From: Haihao Xiang Signed-off-by: Haihao Xiang --- libavcodec/qsvenc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 0ed1f757d4..c47f423acb 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -834,7 +834,9 @@ sta

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: replace VT_H264Profile with avctx profile

2023-05-21 Thread zhilizhao(赵志立)
> On May 21, 2023, at 22:41, xufuji456 <839789...@qq.com> wrote: > > For compatibility with constrained_baseline in the future, > replace VT_H264Profile/VT_HEVCProfile with avctx->profile. > > Signed-off-by: xufuji456 <839789...@qq.com> > --- > libavcodec/videotoolboxenc.c | 55 +++-

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: replace VT_H264Profile with avctx profile

2023-05-21 Thread zhilizhao(赵志立)
> On May 22, 2023, at 11:05, zhilizhao(赵志立) wrote: > >> On May 21, 2023, at 22:41, xufuji456 <839789...@qq.com> wrote: >> >> For compatibility with constrained_baseline in the future, >> replace VT_H264Profile/VT_HEVCProfile with avctx->profile. >> >> Signed-off-by: xufuji456 <839789...@qq.co

Re: [FFmpeg-devel] [PATCH 02/14] vvcdec: add vvc decoder stub

2023-05-21 Thread Nuo Mi
On Mon, May 22, 2023 at 1:30 AM Michael Niedermayer wrote: > On Sun, May 21, 2023 at 09:03:07PM +0800, Nuo Mi wrote: > [...] > > --- /dev/null > > +++ b/libavcodec/vvc/vvcdec.c > > @@ -0,0 +1,84 @@ > > +/* > > + * VVC video decoder > > + * > > + * Copyright (C) 2021 Nuo Mi > > + * Copyright (C) 2

Re: [FFmpeg-devel] [PATCH 1/3] lavc/qsvenc: use the right alignment instead of hard coded value

2023-05-21 Thread Xiang, Haihao
On Do, 2023-05-18 at 14:54 +0800, Xiang, Haihao wrote: > From: Haihao Xiang > > Signed-off-by: Haihao Xiang > --- >  libavcodec/qsvenc.c | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c > index 0ed1f757d4..2c38fbf0dc 100644 > ---

Re: [FFmpeg-devel] [PATCH] lavc/qsv: fallback to the default mfx implementation for internal session on Windows

2023-05-21 Thread Xiang, Haihao
On Ma, 2023-05-15 at 08:47 +, Xiang, Haihao wrote: > On Ma, 2023-05-15 at 08:33 +0200, Hendrik Leppkes wrote: > > On Mon, May 15, 2023 at 8:04 AM Xiang, Haihao > > wrote: > > > > > > From: Haihao Xiang > > > > > > The mfx implementation based on D3D11 is expected for an internal > > > sessi

Re: [FFmpeg-devel] [PATCH 1/3] avutil/dict: add av_dict_pop

2023-05-21 Thread Stefano Sabatini
On date Monday 2023-05-01 13:44:54 +0200, Marvin Scholz wrote: > This new API allows to remove an entry and obtain ownership of the > key/value that was associated with the removed entry. > --- > doc/APIchanges | 4 > libavutil/dict.c | 27 +++ > libavut

Re: [FFmpeg-devel] [PATCH] Optimization: support for libx264's mb_info

2023-05-21 Thread Stefano Sabatini
On date Friday 2023-05-19 10:19:03 +, Carotti, Elias wrote: > > Hi again, > I am sending this patch again (I had missed a check for NULL), could > somebody please have a look at it?  > > It is mainly an optimization when the encoder knows in advance that > only portions of the whole frame cha

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread Paul B Mahol
On 5/21/23, James Almer wrote: > On 5/21/2023 5:02 PM, Paul B Mahol wrote: >> On 5/21/23, James Almer wrote: >>> On 5/21/2023 4:25 PM, Paul B Mahol wrote: On 5/21/23, Paul B Mahol wrote: > Attached patches. > > This finally removes giant hacks in gif demuxer and allows using gif

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/rka: use 64bit for srate_pad computation

2023-05-21 Thread Paul B Mahol
On 5/21/23, Michael Niedermayer wrote: > On Sun, Mar 05, 2023 at 08:02:20PM +0100, Michael Niedermayer wrote: >> On Sun, Mar 05, 2023 at 05:37:09PM +0100, Paul B Mahol wrote: >> > On 3/5/23, Michael Niedermayer wrote: >> > > Fixes: left shift of 538976288 by 13 places cannot be represented in >>

Re: [FFmpeg-devel] [PATCH] avcodec/bonk: Avoid undefined integer overflow in predictor_calc_error()

2023-05-21 Thread Michael Niedermayer
On Sat, Apr 22, 2023 at 11:25:55PM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: -159584 * 5105950 cannot be represented in > type 'int' > Fixes: > 55165/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BONK_fuzzer-5796023719297024 > > Found-by: continuous fuzzing process

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/rka: use 64bit for srate_pad computation

2023-05-21 Thread Michael Niedermayer
On Sun, Mar 05, 2023 at 08:02:20PM +0100, Michael Niedermayer wrote: > On Sun, Mar 05, 2023 at 05:37:09PM +0100, Paul B Mahol wrote: > > On 3/5/23, Michael Niedermayer wrote: > > > Fixes: left shift of 538976288 by 13 places cannot be represented in type > > > 'int' > > > Fixes: > > > 56148/cluste

Re: [FFmpeg-devel] [PATCH 2/2] avformat/wavdec: Check that smv block fits in available space

2023-05-21 Thread Michael Niedermayer
On Sun, Mar 05, 2023 at 12:43:46PM +0100, Michael Niedermayer wrote: > Fixes: OOM > Fixes: > 56271/clusterfuzz-testcase-minimized-ffmpeg_dem_WAV_fuzzer-5290810045497344 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Mich

Re: [FFmpeg-devel] [PATCH 1/4] avformat/format: Remove redundant FFMIN() in ff_match_url_ext()

2023-05-21 Thread Michael Niedermayer
On Tue, May 16, 2023 at 02:49:15AM +0200, Michael Niedermayer wrote: > Found-by: Leo Izen > > Signed-off-by: Michael Niedermayer > --- > libavformat/format.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply patchset [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BA

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread James Almer
On 5/21/2023 5:02 PM, Paul B Mahol wrote: On 5/21/23, James Almer wrote: On 5/21/2023 4:25 PM, Paul B Mahol wrote: On 5/21/23, Paul B Mahol wrote: Attached patches. This finally removes giant hacks in gif demuxer and allows using gif files via pipe reliably. Better patches attached, no m

Re: [FFmpeg-devel] [PATCH] avfilter/trim: switch to activate

2023-05-21 Thread Paul B Mahol
On 5/18/23, Paul B Mahol wrote: > To provide EOF pts and also signal EOF to its inputs when dropping all > remaining frames. > > Attached. > Will push. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-deve

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread Paul B Mahol
On 5/21/23, James Almer wrote: > On 5/21/2023 4:25 PM, Paul B Mahol wrote: >> On 5/21/23, Paul B Mahol wrote: >>> Attached patches. >>> >>> This finally removes giant hacks in gif demuxer and allows using gif >>> files via pipe reliably. >>> >> >> Better patches attached, no more sets time_base i

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread James Almer
On 5/21/2023 4:25 PM, Paul B Mahol wrote: On 5/21/23, Paul B Mahol wrote: Attached patches. This finally removes giant hacks in gif demuxer and allows using gif files via pipe reliably. Better patches attached, no more sets time_base in gif parser. Samples report 100fps now. _

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread Paul B Mahol
On 5/21/23, Michael Niedermayer wrote: > On Sun, May 21, 2023 at 01:24:06PM +0200, Paul B Mahol wrote: >> libavcodec/gifdec.c| 11 - >> libavformat/gifdec.c | 245 +-- >> tests/ref/fate/gif-color | 348 >>

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread Michael Niedermayer
On Sun, May 21, 2023 at 01:24:06PM +0200, Paul B Mahol wrote: > libavcodec/gifdec.c| 11 - > libavformat/gifdec.c | 245 +-- > tests/ref/fate/gif-color | 348 > - > tests/ref/fate/gif-deal

Re: [FFmpeg-devel] [PATCH 02/14] vvcdec: add vvc decoder stub

2023-05-21 Thread Michael Niedermayer
On Sun, May 21, 2023 at 09:03:07PM +0800, Nuo Mi wrote: [...] > --- /dev/null > +++ b/libavcodec/vvc/vvcdec.c > @@ -0,0 +1,84 @@ > +/* > + * VVC video decoder > + * > + * Copyright (C) 2021 Nuo Mi > + * Copyright (C) 2022 Xu Mu > + * > + * This file is part of FFmpeg. > + * > + * FFmpeg is free sof

Re: [FFmpeg-devel] [PATCH 01/14] vvcdec: add thread executor

2023-05-21 Thread Nuo Mi
On Sun, May 21, 2023 at 11:07 PM Lynne wrote: > May 21, 2023, 17:06 by nuomi2...@gmail.com: > > > On Sun, May 21, 2023 at 10:11 PM Lynne wrote: > > > >> May 21, 2023, 15:03 by nuomi2...@gmail.com: > >> > >> > The executor design pattern was inroduced by java > >> > < > >> > https://docs.oracle.c

Re: [FFmpeg-devel] [PATCH 01/14] vvcdec: add thread executor

2023-05-21 Thread Lynne
May 21, 2023, 17:06 by nuomi2...@gmail.com: > On Sun, May 21, 2023 at 10:11 PM Lynne wrote: > >> May 21, 2023, 15:03 by nuomi2...@gmail.com: >> >> > The executor design pattern was inroduced by java >> > < >> https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/concurrent/Execut

Re: [FFmpeg-devel] [PATCH 01/14] vvcdec: add thread executor

2023-05-21 Thread Nuo Mi
On Sun, May 21, 2023 at 10:11 PM Lynne wrote: > May 21, 2023, 15:03 by nuomi2...@gmail.com: > > > 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 adapted by python > >

Re: [FFmpeg-devel] [PATCH 01/14] vvcdec: add thread executor

2023-05-21 Thread Nuo Mi
On Sun, May 21, 2023 at 9:15 PM Rémi Denis-Courmont wrote: > Le sunnuntaina 21. toukokuuta 2023, 16.03.06 EEST Nuo Mi a écrit : > > The executor design pattern was inroduced by java > > < > https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/conc > > urrent/Executor.html> it al

[FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: replace VT_H264Profile with avctx profile

2023-05-21 Thread xufuji456
For compatibility with constrained_baseline in the future, replace VT_H264Profile/VT_HEVCProfile with avctx->profile. Signed-off-by: xufuji456 <839789...@qq.com> --- libavcodec/videotoolboxenc.c | 55 +++- 1 file changed, 16 insertions(+), 39 deletions(-) diff --g

Re: [FFmpeg-devel] [PATCH 01/14] vvcdec: add thread executor

2023-05-21 Thread Nuo Mi
Hi Rémi, Thank you for the cmments On Sun, May 21, 2023 at 9:15 PM Rémi Denis-Courmont wrote: > Le sunnuntaina 21. toukokuuta 2023, 16.03.06 EEST Nuo Mi a écrit : > > The executor design pattern was inroduced by java > > < > https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/

Re: [FFmpeg-devel] [PATCH 03/14] vvcdec: add sps, pps, sh parser

2023-05-21 Thread James Almer
On 5/21/2023 10:03 AM, Nuo Mi wrote: --- libavcodec/vvc/Makefile |4 +- libavcodec/vvc/vvc_data.c | 3295 libavcodec/vvc/vvc_data.h | 69 + libavcodec/vvc/vvc_ps.c | 3379 + libavcodec/vvc/vvc_ps.h | 811 +

Re: [FFmpeg-devel] [PATCH 01/14] vvcdec: add thread executor

2023-05-21 Thread Lynne
May 21, 2023, 15:03 by nuomi2...@gmail.com: > The executor design pattern was inroduced by java > > it also adapted by python > > Compared t

[FFmpeg-devel] ?????? [PATCH] avcodec/videotoolboxenc: add CBP/CHP profile

2023-05-21 Thread ??????
Thank you for your review, Kern. I will remove VT_H264Profile and VT_HEVCProfile, replace with avctx->profile. And submit a new patch of CBP/CHP after that. --  -- ??:

[FFmpeg-devel] [PATCH] lavfi/vf_libplacebo: add RGB colorspace sanity

2023-05-21 Thread Niklas Haas
From: Niklas Haas Explicitly forbid using a non-RGB colorspace with RGB pixel format or vice versa. This mirrors identical logic from vf_scale. --- libavfilter/vf_libplacebo.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavfilter/vf_libplacebo.c b/libavfilter/vf_libplacebo.c ind

Re: [FFmpeg-devel] [PATCH 01/14] vvcdec: add thread executor

2023-05-21 Thread Rémi Denis-Courmont
Le sunnuntaina 21. toukokuuta 2023, 16.03.06 EEST Nuo Mi a écrit : > The executor design pattern was inroduced by java > urrent/Executor.html> it also adapted by python >

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: add CBP/CHP profile

2023-05-21 Thread Rick Kern
On Sun, May 21, 2023 at 7:22 AM xufuji456 <839789...@qq.com> wrote: > The CBP/CHP profile has available with H264 in iOS 15.0. > Official Doc: > https://developer.apple.com/documentation/videotoolbox/kvtprofilelevel_h264_constrainedbaseline_autolevel > > Signed-off-by: xufuji456 <839789...@qq.com>

[FFmpeg-devel] [PATCH 14/14] vvcdec: add full vvc decoder

2023-05-21 Thread Nuo Mi
vvc decoder plug-in to avcodec. split frames into slices/tiles and send them to vvc_thread for further decoding reorder and wait for the frame decoding to be done and output the frame Features: + C code only + Support I, P, B frames, 8/10 bits, chroma 400,420, 422, and 444, + Support V

[FFmpeg-devel] [PATCH 13/14] vvcdec: add CTU thread logical

2023-05-21 Thread Nuo Mi
This is the main entry point for the CTU (Coding Tree Unit) decoder. The code will divide the CTU decoder into several stages. It will check the stage dependencies and run the stage decoder. --- libavcodec/vvc/Makefile | 3 +- libavcodec/vvc/vvc_thread.c | 761 +++

[FFmpeg-devel] [PATCH 12/14] vvcdec: add CTU(Coding Tree Unit) parser

2023-05-21 Thread Nuo Mi
--- libavcodec/vvc/vvc_ctu.c | 2123 +- libavcodec/vvc/vvc_ctu.h | 11 + 2 files changed, 2133 insertions(+), 1 deletion(-) diff --git a/libavcodec/vvc/vvc_ctu.c b/libavcodec/vvc/vvc_ctu.c index a5fb788f6e..20f25f7ef8 100644 --- a/libavcodec/vvc/vvc_ctu.c +++

[FFmpeg-devel] [PATCH 11/14] vvcdec: add dsp init and inv transform

2023-05-21 Thread Nuo Mi
--- libavcodec/vvc/Makefile | 3 +- libavcodec/vvc/vvcdsp.c | 316 +++ libavcodec/vvc/vvcdsp_template.c | 119 3 files changed, 437 insertions(+), 1 deletion(-) create mode 100644 libavcodec/vvc/vvcdsp.c create mode 100644 libavcodec/v

[FFmpeg-devel] [PATCH 07/14] vvcdec: add inter prediction

2023-05-21 Thread Nuo Mi
--- libavcodec/vvc/Makefile |3 +- libavcodec/vvc/vvc_inter.c | 1051 +++ libavcodec/vvc/vvc_inter.h | 50 + libavcodec/vvc/vvc_inter_template.c | 1510 +++ libavcodec/vvc/vvcdec.h |2 + libavcodec/vvc/vvcd

[FFmpeg-devel] [PATCH 09/14] vvcdec: add intra prediction

2023-05-21 Thread Nuo Mi
--- libavcodec/vvc/Makefile |3 +- libavcodec/vvc/vvc_ctu.c| 40 ++ libavcodec/vvc/vvc_ctu.h|2 + libavcodec/vvc/vvc_intra.c | 763 libavcodec/vvc/vvc_intra.h | 49 ++ libavcodec/vvc/vvc_intra_template.c | 1018

[FFmpeg-devel] [PATCH 06/14] vvcdec: add motion vector decoder

2023-05-21 Thread Nuo Mi
--- libavcodec/vvc/Makefile |4 +- libavcodec/vvc/vvc_ctu.c | 41 + libavcodec/vvc/vvc_ctu.h |4 + libavcodec/vvc/vvc_mvs.c | 1807 ++ libavcodec/vvc/vvc_mvs.h | 46 + 5 files changed, 1901 insertions(+), 1 deletion(-) create mode 100644 libavcodec

[FFmpeg-devel] [PATCH 08/14] vvcdec: add inv transform 1d

2023-05-21 Thread Nuo Mi
--- libavcodec/vvc/Makefile | 3 +- libavcodec/vvc/vvc_itx_1d.c | 712 libavcodec/vvc/vvc_itx_1d.h | 51 +++ 3 files changed, 765 insertions(+), 1 deletion(-) create mode 100644 libavcodec/vvc/vvc_itx_1d.c create mode 100644 libavcodec/vvc/vvc_itx_1d.h

[FFmpeg-devel] [PATCH 05/14] vvcdec: add reference management

2023-05-21 Thread Nuo Mi
--- libavcodec/vvc/Makefile | 3 +- libavcodec/vvc/vvc_refs.c | 498 ++ libavcodec/vvc/vvc_refs.h | 44 3 files changed, 544 insertions(+), 1 deletion(-) create mode 100644 libavcodec/vvc/vvc_refs.c create mode 100644 libavcodec/vvc/vvc_refs.h diff

[FFmpeg-devel] [PATCH 04/14] vvcdec: add cabac decoder

2023-05-21 Thread Nuo Mi
add Context-based Adaptive Binary Arithmetic Coding (CABAC) decoder --- libavcodec/vvc/Makefile|1 + libavcodec/vvc/vvc_cabac.c | 2423 libavcodec/vvc/vvc_cabac.h | 126 ++ libavcodec/vvc/vvc_ctu.h | 387 ++ libavcodec/vvc/vvcdec.h|5 +

[FFmpeg-devel] [PATCH 02/14] vvcdec: add vvc decoder stub

2023-05-21 Thread Nuo Mi
--- configure | 1 + libavcodec/allcodecs.c | 1 + libavcodec/vvc/Makefile | 3 +- libavcodec/vvc/vvcdec.c | 84 +++ libavcodec/vvc/vvcdec.h | 304 5 files changed, 392 insertions(+), 1 deletion(-) create mode 100644 libavcode

[FFmpeg-devel] [PATCH 01/14] vvcdec: add thread executor

2023-05-21 Thread Nuo Mi
The executor design pattern was inroduced by java it also adapted by python Compared to handcrafted thread pool management, it greatly simpli

[FFmpeg-devel] [PATCH 00/14] add vvc decoder c code

2023-05-21 Thread Nuo Mi
Hi Gurus: Please help review vvc decoder You can comment on maling list or github link: https://github.com/ffvvc/FFmpeg/pull/79 thank you Features: + C code only + Support I, P, B frames, 8/10 bits, chroma 400, 420, 422, and 444, + Support VVC new tools like MIP, CCLM, AFFINE, GPM, DM

[FFmpeg-devel] [PATCH 4/4] lavfi/vf_libplacebo: don't intrude on pl_ namespace

2023-05-21 Thread Niklas Haas
From: Niklas Haas No reason to use this prefix here. --- libavfilter/vf_libplacebo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_libplacebo.c b/libavfilter/vf_libplacebo.c index dda6f6279c2..6ff30948a78 100644 --- a/libavfilter/vf_libplacebo.c +++ b/lib

[FFmpeg-devel] [PATCH 3/4] lavfi/vf_libplacebo: update peak detection options

2023-05-21 Thread Niklas Haas
From: Niklas Haas Upstream peak detection lost one option and gained one option. Update code and documentation as required. --- doc/filters.texi| 9 + libavfilter/vf_libplacebo.c | 11 +-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/doc/filters.te

[FFmpeg-devel] [PATCH 2/4] lavfi/vf_libplacebo: update for new tone mapping API

2023-05-21 Thread Niklas Haas
From: Niklas Haas This algorithm has once again been refactored, this time leading to a dropping of the old `tone_mapping_mode` field, to be replaced by a single tunable hybrid mode with configurable strength. We can approximately map the old modes onto the new API for backwards compatibility. R

[FFmpeg-devel] [PATCH 1/4] lavfi/vf_libplacebo: switch to new gamut mapping API

2023-05-21 Thread Niklas Haas
From: Niklas Haas Upstream deprecated the old ad-hoc, enum/intent-based gamut mapping API and added a new API based on colorimetrically accurate gamut mapping functions. The relevant change for us is the addition of several new modes, as well as deprecation of the old options. Update the documen

[FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: add CBP/CHP profile

2023-05-21 Thread xufuji456
The CBP/CHP profile has available with H264 in iOS 15.0. Official Doc: https://developer.apple.com/documentation/videotoolbox/kvtprofilelevel_h264_constrainedbaseline_autolevel Signed-off-by: xufuji456 <839789...@qq.com> --- libavcodec/videotoolboxenc.c | 24 ++-- 1 file chan

Re: [FFmpeg-devel] [PATCH] lavfi/vf_libplacebo: allow linking to shared library with dllimport

2023-05-21 Thread Niklas Haas
On Wed, 17 May 2023 21:45:03 +0200 Kacper Michajłow wrote: > Address of dll imported variables can't be used for constant > initialization in C language modes. > --- > libavfilter/vf_libplacebo.c | 39 - > 1 file changed, 21 insertions(+), 18 deletions(-) > >

[FFmpeg-devel] [PATCH] lavfi/libplacebo: properly handle EOF

2023-05-21 Thread Niklas Haas
From: Niklas Haas The current code relied on pl_queue eventually returning EOF back to the caller, which didn't work in all situations (e.g. single frame input). Also, the current code assumed that ff_inlink_acknowledge_status only fired once, which was patently not true, as the above edge cases

Re: [FFmpeg-devel] [REFUND-REQUEST] Travel cost & more for CLT 2023

2023-05-21 Thread Stefano Sabatini
On date Wednesday 2023-05-17 15:08:37 +0200, Michael Niedermayer wrote: > On Wed, May 10, 2023 at 03:36:17AM +0200, Thomas Volkert wrote: > > Hi, > > > > > > Am 15.03.2023 um 20:30 schrieb Thilo Borgmann: > > > > > > > > for our recent appearance at the Chemnitzer Linux Tage, I'd like to > > >

Re: [FFmpeg-devel] [PATCH] avformat/gifdec: cleanup

2023-05-21 Thread Anton Khirnov
Quoting Paul B Mahol (2023-05-21 11:38:09) > From cbc9c6ea4df153caece779b9052761f23d6d31a1 Mon Sep 17 00:00:00 2001 > From: Paul B Mahol > Date: Sun, 21 May 2023 02:14:35 +0200 > Subject: [PATCH 2/3] avcodec/gifdec: set frame time_base > > Signed-off-by: Paul B Mahol > --- > libavcodec/gifdec.c

Re: [FFmpeg-devel] [IMPORTANT] Missing documentation

2023-05-21 Thread Paul B Mahol
On 5/20/23, Gyan Doshi wrote: > > On 2023-05-20 05:20 pm, Paul B Mahol wrote: >> Hi, >> >> What is about muxer/demuxer documentation? More than half is not >> documented at all. >> >> I'm busy working on other things, what are doc maintainers doing? > > I was in the middle of doing this in the sum

[FFmpeg-devel] [PATCH] lavc/vaapi_encode: add "quality" option to all encoders

2023-05-21 Thread David Rosca
Move "quality" option from h264_vaapi to common options. --- libavcodec/vaapi_encode.c | 3 +++ libavcodec/vaapi_encode.h | 8 +++- libavcodec/vaapi_encode_h264.c | 5 - 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_e