Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/jpeg2000dec: Enhance pix fmt selection

2020-07-01 Thread Gautam Ramakrishnan
On Thu, Jul 2, 2020 at 3:42 AM Carl Eugen Hoyos wrote: > > Am Mi., 1. Juli 2020 um 20:34 Uhr schrieb : > > > > From: Gautam Ramakrishnan > > > > This patch assigns default pix format values when > > a match does not take place. > > --- > > libavcodec/jpeg2000dec.c | 9 + > > 1 file

[FFmpeg-devel] [PATCH] avcodec/libaomenc: fix build w/libaom v1.0.0

2020-07-01 Thread James Zern
broken since: aa5c6f382b avcodec/libaomenc: Add command-line options to control the use of partition tools + remove control related options when it's unavailable Signed-off-by: James Zern --- libavcodec/libaomenc.c | 70 ++ 1 file changed, 70

Re: [FFmpeg-devel] [PATCH 3/5] libavcodec/libaomenc.c: Add command-line options for intra-coding tools

2020-07-01 Thread James Zern
On Wed, Jul 1, 2020 at 4:39 PM James Almer wrote: > > On 7/1/2020 3:57 PM, James Zern wrote: > > On Mon, Jun 29, 2020 at 11:15 AM James Zern wrote: > >> > >> On Thu, Jun 25, 2020 at 5:55 PM Wang Cao wrote: > >>> > >>> Signed-off-by: Wang Cao > >>> --- > >>> doc/encoders.texi | 21

[FFmpeg-devel] [PATCH] FATE: fix colorbalance fate test failed on x86_32

2020-07-01 Thread lance . lmwang
From: Limin Wang floating point precision will cause rgb*max generate different value on x86_32 and x86_64. have pass fate test on x86_32 and x86_64 by using lrintf to get the nearest integral value for rgb * max before av_clip. Signed-off-by: Limin Wang --- libavfilter/vf_colorbalance.c

Re: [FFmpeg-devel] [PATCH 2/2] dnn_backend_native: check operand index

2020-07-01 Thread Guo, Yejun
> -Original Message- > From: Michael Niedermayer > Sent: 2020年7月2日 7:45 > To: FFmpeg development discussions and patches ; > Guo, Yejun > Subject: Re: [FFmpeg-devel] [PATCH 2/2] dnn_backend_native: check operand > index > > On Wed, Jun 17, 2020 at 03:23:34AM +, Guo, Yejun wrote: >

[FFmpeg-devel] [ffmpeg-devel][GSoC][PATCH 1/2] libavfilter/vf_colorconstancy.c : Cleanup code for new filter

2020-07-01 Thread Yatendra Singh
Signed-off-by: Yatendra Singh --- libavfilter/vf_colorconstancy.c | 46 ++--- 1 file changed, 13 insertions(+), 33 deletions(-) diff --git a/libavfilter/vf_colorconstancy.c b/libavfilter/vf_colorconstancy.c index eae62204b5..d974317a48 100644 ---

Re: [FFmpeg-devel] [PATCH v3] avformat/icecast: Add option to use TLS connection

2020-07-01 Thread Marvin Scholz
Ping for merge, again :) On 28 Jun 2020, at 22:43, Marvin Scholz wrote: Ping On 18 Jun 2020, at 23:16, Marvin Scholz wrote: Ping? Anything else needed to get this merged? On 14 Jun 2020, at 22:23, Marvin Scholz wrote: On 14 Jun 2020, at 15:42, Michael Niedermayer wrote: On Sun, Jun 14,

Re: [FFmpeg-devel] [PATCH 2/2] dnn_backend_native: check operand index

2020-07-01 Thread Michael Niedermayer
On Wed, Jun 17, 2020 at 03:23:34AM +, Guo, Yejun wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of Carl > > Eugen Hoyos > > Sent: 2020年6月16日 18:57 > > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH 2/2] dnn_backend_native:

[FFmpeg-devel] [ffmpeg-devel][GSoC][PATCH 2/2] libavfilter/vf_colorconstancy.c : Adding weighted greyedge

2020-07-01 Thread Yatendra Singh
Signed-off-by: Yatendra Singh --- doc/filters.texi| 36 ++ libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/vf_colorconstancy.c | 220 4 files changed, 258 insertions(+) diff --git

Re: [FFmpeg-devel] [PATCH 3/5] libavcodec/libaomenc.c: Add command-line options for intra-coding tools

2020-07-01 Thread James Almer
On 7/1/2020 3:57 PM, James Zern wrote: > On Mon, Jun 29, 2020 at 11:15 AM James Zern wrote: >> >> On Thu, Jun 25, 2020 at 5:55 PM Wang Cao wrote: >>> >>> Signed-off-by: Wang Cao >>> --- >>> doc/encoders.texi | 21 +++ >>> libavcodec/libaomenc.c | 47

Re: [FFmpeg-devel] [PATCH] drawtext: Allow textfile path to be expanded per frame

2020-07-01 Thread David Andreoletti
**Help needed**: I am still hopeful the patch will get some attention but hope is fading now (due to summer) :-). It's an easy patch and probably takes 10-20min to review. Quick patch's status:- it compiles on the latest ffmpeg 4.3,- it passes the tests,- the associated documentation has been

[FFmpeg-devel] [PATCH 1/2] avcodec/tiff: Do not overrun the array ends in dng_blit()

2020-07-01 Thread Michael Niedermayer
Fixes: out of array access Fixes: 23589/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5110559589793792.fuzz Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/tiff.c | 5 - 1

[FFmpeg-devel] [PATCH 2/2] avcodec/scpr3: Fix out of array access with dectab

2020-07-01 Thread Michael Niedermayer
Fixes: 23721/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5914074721550336 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/scpr3.c | 17 ++--- 1 file changed, 14

Re: [FFmpeg-devel] [PATCH v3] fbdetile cpu based detiling of framebuffers v03

2020-07-01 Thread Lynne
Jul 1, 2020, 17:37 by hanish...@gmail.com: > Hi Lynne, > > On Wed, Jul 1, 2020 at 3:37 PM Lynne wrote: > >> Jun 29, 2020, 18:58 by hanish...@gmail.com: >> >> > v03-20200629IST2208 fbdetile >> > >> > Added a generic detiling logic, which can be easily configured to >> > detile many different

Re: [FFmpeg-devel] [PATCH 1/3] lavu: add a template for refcounted objects.

2020-07-01 Thread Lynne
Jul 1, 2020, 19:20 by jamr...@gmail.com: > On 7/1/2020 12:05 PM, Anton Khirnov wrote: > >> Quoting Nicolas George (2020-06-27 17:16:44) >> >>> Signed-off-by: Nicolas George >>> --- >>> libavutil/avrefcount_template.h | 140 >>> tests/ref/fate/source |

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/jpeg2000dec: Enhance pix fmt selection

2020-07-01 Thread Carl Eugen Hoyos
Am Mi., 1. Juli 2020 um 20:34 Uhr schrieb : > > From: Gautam Ramakrishnan > > This patch assigns default pix format values when > a match does not take place. > --- > libavcodec/jpeg2000dec.c | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/libavcodec/jpeg2000dec.c

Re: [FFmpeg-devel] [PATCH] avcodec/dstdec: Replace AC overread check by sample rate check

2020-07-01 Thread Paul B Mahol
NAK There is DSD 512 variant On 7/1/20, Michael Niedermayer wrote: > Real files do skip coding 0 bits at the end, thus this kind of check > does not work reliable. > > Fixes: Ticket 8770 > Fixes: dst-256fs44-6ch-refdstencoder.dff > > The samplerate is specified in ISO/IEC 14496-3:2005(E) as one

[FFmpeg-devel] [PATCH] avcodec/dstdec: Replace AC overread check by sample rate check

2020-07-01 Thread Michael Niedermayer
Real files do skip coding 0 bits at the end, thus this kind of check does not work reliable. Fixes: Ticket 8770 Fixes: dst-256fs44-6ch-refdstencoder.dff The samplerate is specified in ISO/IEC 14496-3:2005(E) as one of 3 fixed values, this also can be used to limit the duration and avoid the

Re: [FFmpeg-devel] [PATCH v6 1/2] libavcodec/pgxdec: Add PGX decoder

2020-07-01 Thread Gautam Ramakrishnan
On Wed, Jul 1, 2020 at 6:10 PM Nicolas George wrote: > > gautamr...@gmail.com (12020-06-30): > > From: Gautam Ramakrishnan > > > > This patch adds a pgx decoder. > > --- > > Changelog | 1 + > > doc/general.texi| 2 + > > libavcodec/Makefile | 1 + > >

Re: [FFmpeg-devel] RfP Candidates

2020-07-01 Thread Alexander Strasser
On 2020-06-29 16:04 +0200, Jean-Baptiste Kempf wrote: > Hello, > > The next step in the community voting process is to re-elect the Community > and Technical Committees. > > Therefore, we need candidates. > > Reminders: > The community committee is here to help smooth things down between people

Re: [FFmpeg-devel] [PATCH] Replace 'FontName' with 'Fontname' in the documentation.

2020-07-01 Thread Gyan Doshi
On 02-07-2020 12:33 am, Joe Ratterman wrote: Ping. First time contributing to this project, so I'm not sure if I missed something? Will apply. Thanks, Gyan On Thu, May 28, 2020 at 10:32 AM Joe Ratterman wrote: This is the only use of 'FontName' with that capitalization, as both

Re: [FFmpeg-devel] [PATCH] Replace 'FontName' with 'Fontname' in the documentation.

2020-07-01 Thread Joe Ratterman
Ping. First time contributing to this project, so I'm not sure if I missed something? On Thu, May 28, 2020 at 10:32 AM Joe Ratterman wrote: > This is the only use of 'FontName' with that capitalization, as both > source-code and tests use 'Fontname'. Having consistent capitalization > makes it

Re: [FFmpeg-devel] [PATCH 1/2] lavc/aac_ac3_parser: fix the potential overflow

2020-07-01 Thread Alexander Strasser
Hi Anton, hi Jun! On 2020-07-01 16:23 +0200, Anton Khirnov wrote: > Quoting Jun Zhao (2020-06-29 15:23:10) > > From: Jun Zhao > > > > Fix the potential overflow. > > > > Suggested-by: Alexander Strasser > > Signed-off-by: Jun Zhao > > --- > > libavcodec/aac_ac3_parser.c | 9 +

Re: [FFmpeg-devel] [PATCH 2/5] libavcodec/libaomenc: Add command-line options to control the use of partition tools.

2020-07-01 Thread James Zern
On Mon, Jun 29, 2020 at 11:13 AM James Zern wrote: > > On Thu, Jun 25, 2020 at 6:02 PM Wang Cao wrote: > > > > This patch adds the control for enabling rectangular partitions, 1:4/4:1 > > partitions and AB shape partitions. > > > > Signed-off-by: Wang Cao > > --- > > doc/encoders.texi |

Re: [FFmpeg-devel] [PATCH v3] avcodec/libaomenc.c: Add super-resolution options to libaom wrapper

2020-07-01 Thread James Zern
On Tue, Jun 30, 2020 at 12:44 PM Wang Cao wrote: > > From: Wang Cao > > Signed-off-by: Wang Cao > --- > doc/encoders.texi | 36 + > libavcodec/libaomenc.c | 46 ++ > libavcodec/version.h | 2 +- > 3 files changed,

Re: [FFmpeg-devel] [PATCH 3/5] libavcodec/libaomenc.c: Add command-line options for intra-coding tools

2020-07-01 Thread James Zern
On Mon, Jun 29, 2020 at 11:15 AM James Zern wrote: > > On Thu, Jun 25, 2020 at 5:55 PM Wang Cao wrote: > > > > Signed-off-by: Wang Cao > > --- > > doc/encoders.texi | 21 +++ > > libavcodec/libaomenc.c | 47 -- > >

Re: [FFmpeg-devel] [PATCH 1/3] lavu: add a template for refcounted objects.

2020-07-01 Thread Nicolas George
Anton Khirnov (12020-07-01): > You do not dereference buf->opaque. You pass it to the free callback > when the refcount reaches zero, that is the only way it should ever be > used. You are talking about the implementation of the refcounted structure. I was talking about when we use the refcounted

[FFmpeg-devel] [PATCH 2/2] libavcodec/jpeg2000dec.c: Enable image offsets

2020-07-01 Thread gautamramk
From: Gautam Ramakrishnan This patch enables support for image offsets. --- libavcodec/jpeg2000dec.c | 4 1 file changed, 4 deletions(-) diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index 86f9170723..f91406ab9e 100644 --- a/libavcodec/jpeg2000dec.c +++

[FFmpeg-devel] [PATCH 1/2] libavcodec/jpeg2000dec: Enhance pix fmt selection

2020-07-01 Thread gautamramk
From: Gautam Ramakrishnan This patch assigns default pix format values when a match does not take place. --- libavcodec/jpeg2000dec.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index 3f4a9ef96c..86f9170723 100644 ---

Re: [FFmpeg-devel] [PATCH 1/3] lavu: add a template for refcounted objects.

2020-07-01 Thread Nicolas George
James Almer (12020-07-01): > I very much prefer this approach, being clean looking, public, and free > of macros from unguarded headers Please do not forget the major drawback: This version makes the creation of the refcounted structure simpler, and every single use more complex. One creation,

Re: [FFmpeg-devel] [PATCH 1/3] lavu: add a template for refcounted objects.

2020-07-01 Thread Anton Khirnov
Quoting Nicolas George (2020-07-01 18:47:15) > Anton Khirnov (12020-07-01): > > instead of > > #define AVRC_TYPE AVBuffer > > #define AVRC_PREFIX prefix > > #define AVRC_FIELD refcount > > you'd have > > av_refcount_init(>refcount, buf, buffer_free); > > Does not look more annoying to me, to the

Re: [FFmpeg-devel] [PATCH 1/3] lavu: add a template for refcounted objects.

2020-07-01 Thread James Almer
On 7/1/2020 12:05 PM, Anton Khirnov wrote: > Quoting Nicolas George (2020-06-27 17:16:44) >> Signed-off-by: Nicolas George >> --- >> libavutil/avrefcount_template.h | 140 >> tests/ref/fate/source | 1 + >> 2 files changed, 141 insertions(+) >>

[FFmpeg-devel] libavutil/imgutils: UBSan nullptr-with-offset in av_image_fill_pointer

2020-07-01 Thread Brian Kim
While running under Clang's UndefinedBehaviorSanitizer, I found a few places where av_image_fill_pointers is called before buffers for the image are allocated, so ptr is passed in as NULL. This leads to (currently harmless) UB when the plane sizes are added to the null pointer, so I was wondering

[FFmpeg-devel] [PATCH] libavfilter/vf_codecview: add block structure visualization

2020-07-01 Thread Yongle Lin
example command line to visualize block decomposition: ./ffmpeg -export_side_data +venc_params -i input.webm -vf codecview=bs=true output.webm --- doc/filters.texi | 3 +++ libavcodec/vp9.c | 8 +++- libavfilter/vf_codecview.c | 41 ++

Re: [FFmpeg-devel] [PATCH v3] ffprobe: Allow unknown format private AVOptions

2020-07-01 Thread Marton Balint
On Wed, 1 Jul 2020, Derek Buitenhuis wrote: This useful, because by ffprobe's very nature, you use it to probe a file and find out what it is. Requiring every format private option to be known to the demuxer forces one to run ffprobe twice, if one wants to use ffprobe in a generic way. For

[FFmpeg-devel] [PATCH v3] ffprobe: Allow unknown format private AVOptions

2020-07-01 Thread Derek Buitenhuis
This useful, because by ffprobe's very nature, you use it to probe a file and find out what it is. Requiring every format private option to be known to the demuxer forces one to run ffprobe twice, if one wants to use ffprobe in a generic way. For example, say one wants to probe all user-uploaded

Re: [FFmpeg-devel] [PATCH 1/3] lavu: add a template for refcounted objects.

2020-07-01 Thread Nicolas George
Anton Khirnov (12020-07-01): > instead of > #define AVRC_TYPE AVBuffer > #define AVRC_PREFIX prefix > #define AVRC_FIELD refcount > you'd have > av_refcount_init(>refcount, buf, buffer_free); > Does not look more annoying to me, to the contrary macro templates > require more effort to understand

Re: [FFmpeg-devel] [PATCH v3] fbdetile cpu based detiling of framebuffers v03

2020-07-01 Thread C Hanish Menon
Hi Lynne, On Wed, Jul 1, 2020 at 3:37 PM Lynne wrote: > Jun 29, 2020, 18:58 by hanish...@gmail.com: > > > v03-20200629IST2208 fbdetile > > > > Added a generic detiling logic, which can be easily configured to > > detile many different tiling schemes. > > > > The same is inturn used to detile

[FFmpeg-devel] [PATCH v04] fbdetile cpu based detiling of framebuffers v04

2020-07-01 Thread hanishkvc
v04-20200701IST2132, fbdetile Optimised Generic Detile logic to detile multiple tiles in parallel, logically speaking. This reduces cross check overheads to some extent and thus improves speed a bit. While in a hardware or multicore setup, it can be used to parallelise the detiling operations in

Re: [FFmpeg-devel] [PATCH 1/3] lavu: add a template for refcounted objects.

2020-07-01 Thread Anton Khirnov
Quoting Nicolas George (2020-07-01 17:13:22) > Anton Khirnov (12020-07-01): > > Why a template? It seems simpler to add a struct like > > typedef struct AVRefcount { > > atomic_uint refcount; > > void *opaque; > > void (*free)(void *opaque); > > } AVRefcount; > > and then

Re: [FFmpeg-devel] [PATCH v2] ffprobe: Allow unknown format private AVOptions

2020-07-01 Thread Derek Buitenhuis
On 30/06/2020 21:48, Marton Balint wrote: > This only logs the first skipped option. I think it is best if you > iterate through all of them. Done. v3 sent. - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH] libavformat/hlsenc: Remove duplicate close of the output stream.

2020-07-01 Thread Andrey Semashev
The result of the first close attempt is ignored and may be lost. By removing it we ensure the close result code is properly analyzed. --- libavformat/hlsenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 71fa3db060..88b58a1ba8 100644 ---

Re: [FFmpeg-devel] [PATCH 1/3] lavu: add a template for refcounted objects.

2020-07-01 Thread Nicolas George
Anton Khirnov (12020-07-01): > Why a template? It seems simpler to add a struct like > typedef struct AVRefcount { > atomic_uint refcount; > void *opaque; > void (*free)(void *opaque); > } AVRefcount; > and then embed it in everything that wants to be refcounted. All just >

Re: [FFmpeg-devel] [PATCH 1/3] lavu: add a template for refcounted objects.

2020-07-01 Thread Anton Khirnov
Quoting Nicolas George (2020-06-27 17:16:44) > Signed-off-by: Nicolas George > --- > libavutil/avrefcount_template.h | 140 > tests/ref/fate/source | 1 + > 2 files changed, 141 insertions(+) > create mode 100644 libavutil/avrefcount_template.h > >

Re: [FFmpeg-devel] [PATCH 1/2] lavc/aac_ac3_parser: fix the potential overflow

2020-07-01 Thread Anton Khirnov
Quoting Jun Zhao (2020-06-29 15:23:10) > From: Jun Zhao > > Fix the potential overflow. > > Suggested-by: Alexander Strasser > Signed-off-by: Jun Zhao > --- > libavcodec/aac_ac3_parser.c | 9 + > libavcodec/aac_ac3_parser.h | 4 ++-- >

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Video Codec SDK 10 features support

2020-07-01 Thread Timo Rothenpieler
On 30.06.2020 16:08, Roman Arzumanyan wrote: Hello, This patch adds Video Codec SDK 10 features support: * Presets and tuning info * Multipass encode modes * Low Delay Key Frame Scale Applied with some stylistic amendments and minor fixes. Thanks! We now need to figure

Re: [FFmpeg-devel] [PATCH v3] fbdetile cpu based detiling of framebuffers v03

2020-07-01 Thread Lynne
Jun 29, 2020, 18:58 by hanish...@gmail.com: > v03-20200629IST2208 fbdetile > > Added a generic detiling logic, which can be easily configured to > detile many different tiling schemes. > > The same is inturn used to detile Intel Tile-Yf layout. > > NOTE: This is a full patch, it contains the

Re: [FFmpeg-devel] [PATCH v2 1/3] avformat/isom: add comment to mov_mdhd_language_map

2020-07-01 Thread zhilizhao
Hi Michael, > On Jul 1, 2020, at 5:27 PM, Michael Niedermayer > wrote: > > On Sat, Jun 27, 2020 at 10:26:43PM +0800, Zhao Zhili wrote: >> --- >> The following code is used to do the reformat: >> https://gist.github.com/quink-black/8643d8fab8b3f49ff6ace6916111d2c4 >> >> libavformat/isom.c |

Re: [FFmpeg-devel] [PATCH] avcodec/cbs_h2645: keep separate parameter set lists for reading and writing

2020-07-01 Thread James Almer
On 7/1/2020 6:40 AM, Michael Niedermayer wrote: > On Sun, Jun 07, 2020 at 12:45:15PM -0300, James Almer wrote: >> On 6/7/2020 12:20 PM, James Almer wrote: >>> On 6/7/2020 11:45 AM, Michael Niedermayer wrote: On Sun, Jun 07, 2020 at 10:27:37AM -0300, James Almer wrote: > Similar logic as

[FFmpeg-devel] [PATCH v6 3/3] avdevice/decklink_dec: export timecode with s12m side data

2020-07-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavdevice/decklink_dec.cpp | 16 1 file changed, 16 insertions(+) diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index 82106aa..0fc1489 100644 --- a/libavdevice/decklink_dec.cpp +++

[FFmpeg-devel] [PATCH v6 1/3] avutil/timecode: add description for SMPTE binary format

2020-07-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavutil/frame.h| 4 ++-- libavutil/timecode.h | 12 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/libavutil/frame.h b/libavutil/frame.h index 3fb8c56..3bd240f 100644 --- a/libavutil/frame.h +++

[FFmpeg-devel] [PATCH v6 2/3] API: add AV_PKT_DATA_S12M_TIMECODE to AVPacketSideDataType

2020-07-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/APIchanges| 3 +++ libavcodec/avpacket.c | 1 + libavcodec/decode.c | 1 + libavcodec/packet.h | 8 libavcodec/version.h | 2 +- libavformat/dump.c| 21 + 6 files changed, 35 insertions(+), 1

Re: [FFmpeg-devel] [PATCH v6 1/2] libavcodec/pgxdec: Add PGX decoder

2020-07-01 Thread Nicolas George
gautamr...@gmail.com (12020-06-30): > From: Gautam Ramakrishnan > > This patch adds a pgx decoder. > --- > Changelog | 1 + > doc/general.texi| 2 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/codec_desc.c | 7 ++ >

Re: [FFmpeg-devel] [PATCH] Ticket #8750 Add inline function for the vec_xl intrinsic in non-VSX environments

2020-07-01 Thread Chip Kerchner
ffmpeg_altivec_yuv2rgb_novsx.patch Description: Binary data ___ 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

Re: [FFmpeg-devel] [PATCH] avcodec/cbs_h2645: keep separate parameter set lists for reading and writing

2020-07-01 Thread Andreas Rheinhardt
James Almer: > Similar logic as 4e2bef6a82. In scearios where an Access Unit is written right > after reading it using the same CBS context (hevc_metadata), the list of > parsed > parameters sets used by the writer must not be the one that's the result of > the > reader having already parsed the

Re: [FFmpeg-devel] [PATCH 2/2] libavfilter/vf_colorconstancy.c : Adding weighted greyedge

2020-07-01 Thread Yatendra Singh
> > If you are setting initial estimation to normal white, does it make any >> difference to do a chromatic adaptation? >> > I was trying to reproduce the same values as the official code in matlab > and hence this was done. > It might provide a very minor improvement in speed but having an

Re: [FFmpeg-devel] [PATCH 2/4] avutil/avsscanf: Add () to avoid integer overflow in scanexp()

2020-07-01 Thread Michael Niedermayer
On Thu, Jun 18, 2020 at 02:20:24PM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: 2147483610 + 52 cannot be represented in type > 'int' > Fixes: > 23260/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PBM_fuzzer-5187871274434560 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH] avcodec/cbs_h2645: keep separate parameter set lists for reading and writing

2020-07-01 Thread Michael Niedermayer
On Sun, Jun 07, 2020 at 12:45:15PM -0300, James Almer wrote: > On 6/7/2020 12:20 PM, James Almer wrote: > > On 6/7/2020 11:45 AM, Michael Niedermayer wrote: > >> On Sun, Jun 07, 2020 at 10:27:37AM -0300, James Almer wrote: > >>> Similar logic as 4e2bef6a82. In scearios where an Access Unit is

Re: [FFmpeg-devel] [PATCH] avformat/utils: reorder duration computation to avoid overflow

2020-07-01 Thread Michael Niedermayer
On Sun, Jun 21, 2020 at 07:07:53PM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: 8 * 9223372036854774783 cannot be represented > in type 'long' > Fixes: > 23381/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-4818340509122560 > > Found-by: continuous fuzzing process

Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: Check for fctl after idat

2020-07-01 Thread Michael Niedermayer
On Thu, Jun 25, 2020 at 08:13:08PM +0200, Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 23554/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APNG_fuzzer-4796622520451072.fuzz > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH] avformat/hls: Pass a copy of the URL for probing

2020-07-01 Thread Michael Niedermayer
On Mon, Jun 29, 2020 at 09:18:18PM +0200, Michael Niedermayer wrote: > On Mon, Jun 29, 2020 at 09:08:07PM +0200, Andreas Rheinhardt wrote: > > Michael Niedermayer: > > > The segments / url can be modified by the io read when reloading > > > > > > This may be an alternative or additional fix for

[FFmpeg-devel] [PATCH v3] avdevice/xcbgrab: Add select_region option

2020-07-01 Thread Omar Emara
This patch adds a select_region option to the xcbgrab input device. If set to 1, the user will be prompted to select the grabbing area graphically by clicking and dragging. A rectangle will be drawn to mark the grabbing area. A single click with no dragging will select the whole screen. The option

Re: [FFmpeg-devel] [PATCH v2 1/3] avformat/isom: add comment to mov_mdhd_language_map

2020-07-01 Thread Michael Niedermayer
On Sat, Jun 27, 2020 at 10:26:43PM +0800, Zhao Zhili wrote: > --- > The following code is used to do the reformat: > https://gist.github.com/quink-black/8643d8fab8b3f49ff6ace6916111d2c4 > > libavformat/isom.c | 158 +++-- > 1 file changed, 139

Re: [FFmpeg-devel] [PATCH v6 1/2] libavcodec/pgxdec: Add PGX decoder

2020-07-01 Thread Michael Niedermayer
On Tue, Jun 30, 2020 at 07:23:46PM +0530, gautamr...@gmail.com wrote: > From: Gautam Ramakrishnan > > This patch adds a pgx decoder. > --- > Changelog | 1 + > doc/general.texi| 2 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + >

Re: [FFmpeg-devel] [PATCH v2] avdevice/xcbgrab: Add select_region option.

2020-07-01 Thread Omar Emara
Hi Andriy, > > > +#include > > this include is not used > The string.h include is needed by the strlen function. Is it not? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit