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

2021-10-05 Thread mindmark
From: Mark Reid I spotted an interesting pattern that I didn't see before that leads to the implementation being faster. The bit shifting table I was using before is no longer needed, and was able to remove quite a few lines.  I also add use of FMA on the AVX2 version. f32 1920x1080 1 thread

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

2021-10-05 Thread Soft Works
Repro Example: ffprobe -show_entries stream=closed_captions:disposition=:side_data= "http://streams.videolan.org/streams/ts/CC/NewsStream-608-ac3.ts; While the codec string includes "Closed Captions", the stream data is showing: closed_captions=0 The test ref was incorrect as the test media

[FFmpeg-devel] [PATCH v2 1/2] avcodec/codec_par: Add codec properties field to AVCodecParameters

2021-10-05 Thread Soft Works
Signed-off-by: softworkz --- v2: include codec properties in AVCodecParameters instead of adding an API to retrieve it doc/APIchanges | 3 +++ libavcodec/codec_par.c | 2 ++ libavcodec/codec_par.h | 4 libavcodec/version.h | 2 +- 4 files changed, 10 insertions(+), 1 deletion(-)

Re: [FFmpeg-devel] [PATCH 2/5] avformat/imf: CPL processor

2021-10-05 Thread Pierre-Anthony Lemieux
On Tue, Oct 5, 2021 at 5:03 PM Lynne wrote: > > 5 Oct 2021, 17:22 by p...@sandflow.com: > > > Hi Lynne, > > > > Can you be more specific? > > > > The file header we used look consistent with the header of other > > BSD-licensed files, like aacdec.c. > > > > Thanks, > > > > -- Pierre > > > > On

Re: [FFmpeg-devel] [PATCH 2/5] avformat/imf: CPL processor

2021-10-05 Thread Lynne
5 Oct 2021, 17:22 by p...@sandflow.com: > Hi Lynne, > > Can you be more specific? > > The file header we used look consistent with the header of other > BSD-licensed files, like aacdec.c. > > Thanks, > > -- Pierre > > On Thu, Sep 30, 2021 at 6:40 AM Lynne wrote: > >> >> 29 Sept 2021, 22:47 by

[FFmpeg-devel] [PATCH] avformat/http: parse Content-Range responses with unknown document size

2021-10-05 Thread Aman Karmani
From: Aman Karmani The HTTP spec allows '*' for document size in Content-Range response headers, to specify that the file size is unknown: Content-Range: -/ Content-Range: -/* Content-Range: */ In the case where the filesize is unknown, this patch keeps track of a new fileend

[FFmpeg-devel] [PATCH v2 1/1] avformat: Add probe_streams option

2021-10-05 Thread Nicolas Gaullier
Allow user to disable codec probing: - spdif (and s337m incl. s-adm in the future) is not sub-demuxed and may pass-through to a muxer - disable any stream probing in wav files (dts detection). - mpeg-ts files missing PAT/PMT are considered invalid. Signed-off-by: Nicolas Gaullier ---

[FFmpeg-devel] [PATCH v2 0/1] Add-probe_streams-option

2021-10-05 Thread Nicolas Gaullier
This V2 is just a rebase. See my post yesterday for details. Nicolas Gaullier (1): avformat: Add probe_streams option doc/formats.texi| 3 +++ libavformat/avformat.h | 9 + libavformat/mpeg.c | 5 +++-- libavformat/mpegts.c| 10 ++

Re: [FFmpeg-devel] [PATCH] avcodec/amr_parser: passthrough if channels is unknown

2021-10-05 Thread Paul B Mahol
On Tue, Oct 5, 2021 at 11:03 PM James Almer wrote: > On 10/5/2021 5:51 PM, Michael Niedermayer wrote: > > Fixes: division by 0 > > Fixes: > 39562/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AMRWB_fuzzer-5448834960982016 > > Fixes: >

Re: [FFmpeg-devel] [PATCH] avcodec/amr_parser: passthrough if channels is unknown

2021-10-05 Thread James Almer
On 10/5/2021 5:51 PM, Michael Niedermayer wrote: Fixes: division by 0 Fixes: 39562/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AMRWB_fuzzer-5448834960982016 Fixes: 39589/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AMRWB_fuzzer-6119205334810624 Found-by: continuous fuzzing process

Re: [FFmpeg-devel] [PATCH] avcodec/amr_parser: passthrough if channels is unknown

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

[FFmpeg-devel] [PATCH 8/8] avfilter/vf_thumbnail_cuda: Reindent after the previous commit

2021-10-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_thumbnail_cuda.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/libavfilter/vf_thumbnail_cuda.c b/libavfilter/vf_thumbnail_cuda.c index 7c86203227..c8dd905123 100644 ---

[FFmpeg-devel] [PATCH 7/8] avfilter/vf_thumbnail_cuda: Fix segfaults on uninit

2021-10-05 Thread Andreas Rheinhardt
Uninit crashed if an array containing frames could not be allocated or config_props() has never been called. Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_thumbnail_cuda.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavfilter/vf_thumbnail_cuda.c

[FFmpeg-devel] [PATCH 6/8] avfilter/tests/filtfmts: Check for existence of formats/channel layouts

2021-10-05 Thread Andreas Rheinhardt
Fixes segfaults with filters that either return AVERROR(EAGAIN) (or another error) or that do not set everything and rely on filter_query_formats() to set the rest. Signed-off-by: Andreas Rheinhardt --- libavfilter/tests/filtfmts.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[FFmpeg-devel] [PATCH 5/8] avfilter/vf_scale: Reindentation

2021-10-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_scale.c | 45 +- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 993fd18620..44f85cb019 100644 --- a/libavfilter/vf_scale.c +++

[FFmpeg-devel] [PATCH 4/8] avfilter/vf_scale: Remove always-true checks

2021-10-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_scale.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 5411289894..993fd18620 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -344,7 +344,6

[FFmpeg-devel] [PATCH 3/8] avfilter/vf_transpose: Don't call av_pix_fmt_desc_get() twice

2021-10-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_transpose.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c index b0354b938f..f9f0d70cd5 100644 --- a/libavfilter/vf_transpose.c +++ b/libavfilter/vf_transpose.c

[FFmpeg-devel] [PATCH 2/8] examples/remuxing: Fix use of uninitialized value

2021-10-05 Thread Andreas Rheinhardt
Fixes Coverity ticket 1492326. Regression since 53f374c08d5cc97158c17ea34b1c8ee0116c0578. Signed-off-by: Andreas Rheinhardt --- Sorry for this. doc/examples/remuxing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/remuxing.c b/doc/examples/remuxing.c index

[FFmpeg-devel] [PATCH] avcodec/amr_parser: passthrough if channels is unknown

2021-10-05 Thread Michael Niedermayer
Fixes: division by 0 Fixes: 39562/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AMRWB_fuzzer-5448834960982016 Fixes: 39589/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AMRWB_fuzzer-6119205334810624 Found-by: continuous fuzzing process

[FFmpeg-devel] [PATCH 1/8] avfilter/tests/filtfmts: Replace macro by ordinary function

2021-10-05 Thread Andreas Rheinhardt
This is possible now that AVFilterFormatsConfig exists. Signed-off-by: Andreas Rheinhardt --- libavfilter/tests/filtfmts.c | 77 1 file changed, 42 insertions(+), 35 deletions(-) diff --git a/libavfilter/tests/filtfmts.c b/libavfilter/tests/filtfmts.c index

Re: [FFmpeg-devel] [PATCH] avcodec/rasc: Fix potential use of uninitialized value

2021-10-05 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Fixes Coverity issue #1439566. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/rasc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/rasc.c b/libavcodec/rasc.c > index 7fedf73878..b328e219bb 100644 > --- a/libavcodec/rasc.c > +++

Re: [FFmpeg-devel] [PATCH 4/4] libavfilter/vf_avgblur_vulkan: fix incorrect conditional judgement

2021-10-05 Thread Wu Jianhua
Jianhua wrote: > Signed-off-by: Wu Jianhua intel.com> > --- > libavfilter/vf_avgblur_vulkan.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/vf_avgblur_vulkan.c b/libavfilter/vf_avgblur_vulkan.c >

Re: [FFmpeg-devel] [PATCH 2/5] avformat/imf: CPL processor

2021-10-05 Thread Pierre-Anthony Lemieux
Hi Lynne, Can you be more specific? The file header we used look consistent with the header of other BSD-licensed files, like aacdec.c. Thanks, -- Pierre On Thu, Sep 30, 2021 at 6:40 AM Lynne wrote: > > 29 Sept 2021, 22:47 by p...@sandflow.com: > > > From: Pierre-Anthony Lemieux > > > >

Re: [FFmpeg-devel] [PATCH 004/218] avfilter: Replace query_formats callback with union of list and callback

2021-10-05 Thread Nicolas George
Andreas Rheinhardt (12021-09-30): > If one looks at the many query_formats callbacks in existence, > one will immediately recognize that there is one type of default > callback for video and a slightly different default callback for > audio: It is "return ff_set_common_formats_from_list(ctx,

Re: [FFmpeg-devel] [PATCH 003/218] avfilter/formats: Add function to create AVFilterFormats with one entry

2021-10-05 Thread Nicolas George
Andreas Rheinhardt (12021-09-30): > Most instances ff_add_formats() actually only ever add one format; > this function can be used to simplify those callers. > > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/formats.c | 6 ++ > libavfilter/formats.h | 6 ++ > 2 files changed, 12

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/wmaprodec: Do not initialize unused variable to out of array value

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