Re: [FFmpeg-devel] [PATCH] avfilter/vf_lut3d: add x86-optimized tetrahedral interpolation

2021-10-03 Thread Mark Reid
On Wed, Sep 29, 2021 at 10:27 AM Mark Reid wrote: > > > On Tue, Sep 28, 2021 at 6:38 PM chen wrote: > >> Hello, >> >> >> Excuse me, how about FMADD on AVX2 platform? >> >> >> For example >> +mulps m7, m7, m14 >> +addps m0, m0, m7 >> >> ==> >> >> >> fmadd231ps m0,m7,m14 >> >> > Interestin

Re: [FFmpeg-devel] [PATCH] avformat/avio{, buf}: introduce public AVIOContext::bytes_read

2021-10-03 Thread Michael Niedermayer
On Mon, Oct 04, 2021 at 12:25:26AM +0300, Jan Ekström wrote: > On Sat, Oct 2, 2021 at 2:51 PM Michael Niedermayer > wrote: > > > > On Sat, Oct 02, 2021 at 02:42:52PM +0300, Jan Ekström wrote: > > > On Sat, Oct 2, 2021 at 1:32 PM Michael Niedermayer > > > wrote: > > > > > > > > On Sun, Sep 26, 202

Re: [FFmpeg-devel] [PATCH] avformat/avio{, buf}: introduce public AVIOContext::bytes_read

2021-10-03 Thread Jan Ekström
On Mon, Oct 4, 2021 at 12:25 AM Jan Ekström wrote: > > On Sat, Oct 2, 2021 at 2:51 PM Michael Niedermayer > wrote: > > > > On Sat, Oct 02, 2021 at 02:42:52PM +0300, Jan Ekström wrote: > > > On Sat, Oct 2, 2021 at 1:32 PM Michael Niedermayer > > > wrote: > > > > > > > > On Sun, Sep 26, 2021 at 06

Re: [FFmpeg-devel] [PATCH] avformat/avio{, buf}: introduce public AVIOContext::bytes_read

2021-10-03 Thread Jan Ekström
On Sat, Oct 2, 2021 at 2:51 PM Michael Niedermayer wrote: > > On Sat, Oct 02, 2021 at 02:42:52PM +0300, Jan Ekström wrote: > > On Sat, Oct 2, 2021 at 1:32 PM Michael Niedermayer > > wrote: > > > > > > On Sun, Sep 26, 2021 at 06:48:18PM +0300, Jan Ekström wrote: > > > > Such a field can be seen as

Re: [FFmpeg-devel] [PATCH v2 2/2] ffprobe: Fix incorrect display of closed_captions property

2021-10-03 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Soft Works > Sent: Monday, 20 September 2021 16:58 > To: FFmpeg development discussions and patches de...@ffmpeg.org>; James Almer > Subject: Re: [FFmpeg-devel] [PATCH v2 2/2] ffprobe: Fix incorrect > display of closed_captions

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/avfilter: Make ff_tlog_ref() static

2021-10-03 Thread Nicolas George
Andreas Rheinhardt (12021-10-02): > It allows compilers to inline the one and only call to this function > in its callers or even to optimize it away completely (this function > is empty in case TRACE is not defined). > > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/avfilter.c | 4 ++--

[FFmpeg-devel] [PATCH] avfilter/vf_subtitles: Since mkvmerge 19 has fonts types from RFC 8081 and mkvmerge 58 on windows use new file/magic library, add more mime types for fonts

2021-10-03 Thread SomeRGuy
Signed-off-by: SomeRGuy --- libavfilter/vf_subtitles.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c index f08a7fba9d..4168234e9e 100644 --- a/libavfilter/vf_subtitles.c +++ b/libavfilter/vf_subtitles.c @@ -270,

[FFmpeg-devel] [PATCH] avfilter/vf_subtitles: Since mkvmerge 19 has fonts types from RFC 8081 and mkvmerge 58 on windows use new file/magic library

2021-10-03 Thread SomeRGuy
Signed-off-by: SomeRGuy --- ...9-has-fonts-types-from-RFC-8081-and-.patch | 36 +++ libavfilter/vf_subtitles.c| 9 - 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 0001-Since-mkvmerge-19-has-fonts-types-from-RFC-8081-and-.patch diff

[FFmpeg-devel] [PATCH] Since mkvmerge 19 has fonts types from RFC 8081 and mkvmerge 58 on windows use new file/magic library

2021-10-03 Thread SomeRGuy
Signed-off-by: SomeRGuy --- libavfilter/vf_subtitles.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c index f08a7fba9d..4168234e9e 100644 --- a/libavfilter/vf_subtitles.c +++ b/libavfilter/vf_subtitles.c @@ -270,

Re: [FFmpeg-devel] [PATCH 3/3] swscale/swscale: Pass slice location into unscaled code also for dst scaling

2021-10-03 Thread Michael Niedermayer
On Sat, Oct 02, 2021 at 11:03:12PM +0200, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you fake or manipulate statistics in a paper in physics you will never get a job again. If you fake or manipulate statistics i

Re: [FFmpeg-devel] [PATCH 2/3] swscale/alphablend: Fix slice handling

2021-10-03 Thread Michael Niedermayer
On Sat, Oct 02, 2021 at 11:03:51PM +0200, Paul B Mahol wrote: > probably ok will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Asymptotically faster algorithms should always be preferred if you have asymptotical amounts of data signature.asc Descri

[FFmpeg-devel] [PATCH] Since mkvmerge 19 has fonts types from RFC 8081 and mkvmerge 58 on windows use new file/magic library

2021-10-03 Thread SomeRGuy
Signed-off-by: SomeRGuy --- libavfilter/vf_subtitles.c | 991 +++-- 1 file changed, 499 insertions(+), 492 deletions(-) diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c index f08a7fba9d..511722199c 100644 --- a/libavfilter/vf_subtitles.c +++ b/

[FFmpeg-devel] [PATCH 1/2] tools/target_dec_fuzzer: Disable MB debug after a few iterations

2021-10-03 Thread Michael Niedermayer
This debug code can be quite slow on constructed streams Fixes: Timeout Fixes: 38907/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-6334628852531200 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niederma

[FFmpeg-devel] [PATCH 2/2] avcodec/iff: limit written bytes to twice the output array size in decode_delta_l()

2021-10-03 Thread Michael Niedermayer
Fixes: Timeout Fixes: 39436/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-6624915520880640 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/iff.c | 5 + 1 file changed,

Re: [FFmpeg-devel] [PATCH 5/5] avfilter/af_(afftdn|agate), vf_(guided|morpho): Remove timeline support

2021-10-03 Thread Paul B Mahol
NAK, except for maybe guided. ___ 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".

Re: [FFmpeg-devel] [PATCH 3/5] avfilter/vf_morpho: Take pre-padding into account for LUT-reallocation

2021-10-03 Thread Paul B Mahol
ok ___ 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".

Re: [FFmpeg-devel] [PATCH 2/5] avfilter/vf_morpho: Factor out (re)allocating lut

2021-10-03 Thread Paul B Mahol
ok ___ 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".

Re: [FFmpeg-devel] [PATCH 4/5] avfilter/vf_morpho: Fix invalid frees on error

2021-10-03 Thread Paul B Mahol
ok, i guess it was tested ___ 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".

Re: [FFmpeg-devel] [PATCH 1/5] avfilter/vf_morpho: Fix leak of output frame on error

2021-10-03 Thread Paul B Mahol
ok ___ 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".

[FFmpeg-devel] [PATCH 5/5] avfilter/af_(afftdn|agate), vf_(guided|morpho): Remove timeline support

2021-10-03 Thread Andreas Rheinhardt
These filters trigger an av_assert1() in ff_filter_activate(). Signed-off-by: Andreas Rheinhardt --- libavfilter/af_afftdn.c | 3 +-- libavfilter/af_agate.c | 1 - libavfilter/vf_guided.c | 3 +-- libavfilter/vf_morpho.c | 1 - 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/liba

[FFmpeg-devel] [PATCH 4/5] avfilter/vf_morpho: Fix invalid frees on error

2021-10-03 Thread Andreas Rheinhardt
The current code used a pointer to an array (of arrays) that is offset relative to the start of the actually allocated buffer. Yet offsetting the pointer is only done on success, whereas the freeing code believes it to have happened even on error. So if any of the subarrays (or the subarrays' subar

[FFmpeg-devel] [PATCH 3/5] avfilter/vf_morpho: Take pre-padding into account for LUT-reallocation

2021-10-03 Thread Andreas Rheinhardt
Fixes heap-buffer underflows. Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_morpho.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_morpho.c b/libavfilter/vf_morpho.c index d5c4801006..8c1e084e7e 100644 --- a/libavfilter/vf_morpho.c +++ b/libavfilter/vf_morpho.c @@ -32

[FFmpeg-devel] [PATCH 2/5] avfilter/vf_morpho: Factor out (re)allocating lut

2021-10-03 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_morpho.c | 60 +++-- 1 file changed, 28 insertions(+), 32 deletions(-) diff --git a/libavfilter/vf_morpho.c b/libavfilter/vf_morpho.c index ac561c017b..d5c4801006 100644 --- a/libavfilter/vf_morpho.c +++ b/l

[FFmpeg-devel] [PATCH 1/5] avfilter/vf_morpho: Fix leak of output frame on error

2021-10-03 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_morpho.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_morpho.c b/libavfilter/vf_morpho.c index 13d58c4194..ac561c017b 100644 --- a/libavfilter/vf_morpho.c +++ b/libavfilter/vf_morpho.c @@ -932,6 +932,7 @@ copy: out->p

Re: [FFmpeg-devel] [PATCH 1/2] avcodec: GEM Raster image decoder

2021-10-03 Thread Paul B Mahol
probably ok ___ 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".

Re: [FFmpeg-devel] [PATCH 2/4] libavfilter/x86/vf_threshold_init: remove condition s->depth == 16

2021-10-03 Thread Wu Jianhua
Paul B Mahol wrote: > I can not test avx512 so someone lese needs to apply it. Gotcha. Much appreciated paying your attention to the patches. > And a ping for that, are there any other maintainers able to test avx512 and help review the patches? Best regards, Jianhua

Re: [FFmpeg-devel] [PATCH 2/4] libavfilter/x86/vf_threshold_init: remove condition s->depth == 16

2021-10-03 Thread Paul B Mahol
I can not test avx512 so someone lese needs to apply it. ___ 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 "unsub

Re: [FFmpeg-devel] [PATCH 2/4] libavfilter/x86/vf_threshold_init: remove condition s->depth == 16

2021-10-03 Thread Wu Jianhua
Paul B Mahol wrote: > NAK, the x86 code is not working correctly with other depths, as there is > fixed 0x80 (for 8bit and 0x8000 for 16bit) variable. Got it. Could this patch get dropped simply and others get applied? Thanks, Jianhua ___ ffmpeg-deve

Re: [FFmpeg-devel] [PATCH 2/4] libavfilter/x86/vf_threshold_init: remove condition s->depth == 16

2021-10-03 Thread Paul B Mahol
NAK, the x86 code is not working correctly with other depths, as there is fixed 0x80 (for 8bit and 0x8000 for 16bit) variable. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit li

Re: [FFmpeg-devel] [PATCH] avfilter/x86/vf_blend: unify indentation format

2021-10-03 Thread Paul B Mahol
applied ___ 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".