[FFmpeg-devel] libavcodec/exr : add x86 SIMD for predictor

2017-09-22 Thread Martin Vignali
Hello, in attach a patch with a port to asm of the predictor part of this patch : https://github.com/openexr/openexr/pull/229/commits/4198128397c033d4f69e5cc0833195da500c31cf Tested on OSX, pass fate test for me Check asm also pass for me Results with reorder simd disable : SSSE3 : 94.5s

[FFmpeg-devel] Supporting DirecTV captioning.

2017-09-22 Thread Joseph Van Riper
On Thu, Sep 21, 2017 at 6:25 PM, Hendrik Leppkes wrote: >On Thu, Sep 21, 2017 at 11:54 PM, Joseph Van Riper > wrote: >> >> I would normally not want to request of an open source team a fast response >> to something like this, but I sense some urgency

Re: [FFmpeg-devel] [Patch] CUDA Thumbnail Filter

2017-09-22 Thread Timo Rothenpieler
Am 04.09.2017 um 14:59 schrieb Yogender Gupta: Taken care of all comments except the documentation. applied Will send out a separate patch for both the CUDA filters documentation. ok smime.p7s Description: S/MIME Cryptographic Signature ___

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/svq3: Fix overflow in svq3_add_idct_c()

2017-09-22 Thread Michael Niedermayer
On Tue, Sep 19, 2017 at 01:04:52AM +0200, Michael Niedermayer wrote: > Fixes: runtime error: signed integer overflow: 2147392585 + 524288 cannot be > represented in type 'int' > Fixes: 3348/clusterfuzz-testcase-minimized-4809500517203968 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH] avcodec/dirac_dwt: Fix integer overflow in COMPOSE_FIDELITYi*()

2017-09-22 Thread Michael Niedermayer
On Mon, Sep 18, 2017 at 02:54:58AM +0200, Michael Niedermayer wrote: > Fixes: runtime error: signed integer overflow: 161 * 13872281 cannot be > represented in type 'int' > > Fixes: 3295/clusterfuzz-testcase-minimized-4738998142500864 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Remove generic func use in hevc non-uni copy mc msa functions

2017-09-22 Thread Michael Niedermayer
On Thu, Sep 21, 2017 at 11:57:16AM +, Manojkumar Bhosale wrote: > LGTM applied [] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB While the State exists there can be no freedom; when there is freedom there will be no State. -- Vladimir Lenin signature.asc

Re: [FFmpeg-devel] [PATCH] avcodec/mips: preload data in hevc sao edge 90 degree filter msa functions

2017-09-22 Thread Michael Niedermayer
On Thu, Sep 21, 2017 at 12:01:45PM +, Manojkumar Bhosale wrote: > LGTM applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I am the wisest man alive, for I know one thing, and that is that I know nothing. -- Socrates signature.asc Description: Digital

Re: [FFmpeg-devel] [PATCH] configure: support static libnpp [v3]

2017-09-22 Thread Andreas Håkon
Hi Timo, As for the deprecation of libnpp, I suggest to keeping it. We use it a lot! In addition, we have some improvements for the current scale_npp... however, before publishing it it's necesssary to solve the question of the linking with libnpp. Regarding the static linking with libnpp, I

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_fps: clean-up filter options

2017-09-22 Thread Tobias Rapp
On 22.09.2017 01:58, Michael Niedermayer wrote: On Thu, Sep 21, 2017 at 04:55:51PM +0200, Tobias Rapp wrote: Align order of "start_time" option to documentation and add missing AV_OPT_FLAG_FILTERING_PARAM flag. Fix indent of "round" named constants and clear unused field values. Also fix some

Re: [FFmpeg-devel] [PATCH] vdpau: Fix buffer overflow with old hwaccel_context API

2017-09-22 Thread wm4
On Fri, 8 Sep 2017 21:08:13 +0200 Błażej Szczygieł wrote: > VDPAUHWContext struct is used internally, so allocate required amount > of memory. Also move hwctx->reset as it was prior to > 7e4ba776a2240d40124d5540ea6b2118fa2fe26a to make sure that buffer > overflow doesn't happen if

Re: [FFmpeg-devel] libavcodec/als: remove check for predictor order of a block

2017-09-22 Thread Umair Khan
On Thu, Sep 21, 2017 at 6:30 PM, Paul B Mahol wrote: > On 9/21/17, Umair Khan wrote: >> Hi Ronald, >> >> On Mon, Sep 11, 2017 at 10:27 PM, Ronald S. Bultje >> wrote: >>> Hi Umair, >>> >>> On Mon, Sep 11, 2017 at 4:06 AM, Umair Khan

Re: [FFmpeg-devel] [PATCH] option: allow to set slice_flags to video decoder

2017-09-22 Thread Li, Zhong
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Michael Niedermayer > Sent: Friday, September 22, 2017 6:30 AM > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH] option: allow

[FFmpeg-devel] [PATCH] avformat/async: allow to set buffer size [v2]

2017-09-22 Thread Takayuki 'January June' Suwa
- add "-asyncbufsize" option to async: - refactor async.c - remove READ_BACK_CAPACITY and the 3rd arg of ring_init() - replace some magicnums with symconst macros --- doc/protocols.texi | 6 ++ libavformat/async.c | 18 +++--- 2 files changed, 17 insertions(+), 7

[FFmpeg-devel] [PATCH 2/2] avcodec/snowenc: Replace "return -1" by named constants

2017-09-22 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/snowenc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index bb113d0a2b..f5497f958c 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c

[FFmpeg-devel] [PATCH 1/2] avcodec/flacenc: Replace "return -1" by named constant

2017-09-22 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/flacenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 3575f5391d..170c3caf48 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -268,7

Re: [FFmpeg-devel] [PATCH 2/2] opusenc: (WIP) add a new psychoacoustic system for the native Opus encoder

2017-09-22 Thread Ricardo Constantino
On 23 September 2017 at 00:46, Rostislav Pehlivanov wrote: > On 12 April 2017 at 23:26, Rostislav Pehlivanov > wrote: > > > > > > Here's the latest version, which I consider to be non-WIP now. > I plan to push it tomorrow morning if there are no

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/snowenc: Replace "return -1" by named constants

2017-09-22 Thread James Almer
On 9/22/2017 10:01 PM, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/snowenc.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c > index

Re: [FFmpeg-devel] [PATCH 2/2] opusenc: (WIP) add a new psychoacoustic system for the native Opus encoder

2017-09-22 Thread Rostislav Pehlivanov
On 12 April 2017 at 23:26, Rostislav Pehlivanov wrote: > > Here's the latest version, which I consider to be non-WIP now. I plan to push it tomorrow morning if there are no objections. From 62dcd1e7e4db391c30c3893fde82bc205ebb7bfe Mon Sep 17 00:00:00 2001 From: Rostislav

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Improve hevc uni-w copy mc msa functions

2017-09-22 Thread Manojkumar Bhosale
LGTM -Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of kaustubh.ra...@imgtec.com Sent: Thursday, September 21, 2017 1:46 PM To: ffmpeg-devel@ffmpeg.org Cc: Kaustubh Raste Subject: [FFmpeg-devel] [PATCH] avcodec/mips: Improve hevc uni-w copy mc

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Unrolled loops avc intra msa functions

2017-09-22 Thread Manojkumar Bhosale
LGTM -Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of kaustubh.ra...@imgtec.com Sent: Thursday, September 21, 2017 7:03 PM To: ffmpeg-devel@ffmpeg.org Cc: Kaustubh Raste Subject: [FFmpeg-devel] [PATCH] avcodec/mips: Unrolled loops avc intra msa

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Improve avc chroma horiz mc msa functions

2017-09-22 Thread Manojkumar Bhosale
LGTM -Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of kaustubh.ra...@imgtec.com Sent: Thursday, September 21, 2017 7:30 PM To: ffmpeg-devel@ffmpeg.org Cc: Kaustubh Raste Subject: [FFmpeg-devel] [PATCH] avcodec/mips: Improve avc chroma horiz mc

Re: [FFmpeg-devel] [PATCH] change of deprecated log to debug level

2017-09-22 Thread Thomas Hartwig
Attached is the clean patchfile. I want to give some small background: the problem happens in javacpp. It looks like there is a problem handling pixelformats not correct at all when used for pixel grabbing. This is why I mentioned it in a streaming context. However this patch is a small

Re: [FFmpeg-devel] [PATCH] swscale_unscaled: fix DITHER_COPY macro, use it only for dst_depth == 8

2017-09-22 Thread Hendrik Leppkes
On Fri, Sep 22, 2017 at 2:10 AM, Mateusz wrote: > To reduce bit depth in planar YUV or gray pixel formats ffmpeg uses > DITHER_COPY macro. > Now it makes images greener and with visible dither pattern. > > In my opinion there is no point to use dither tables for

[FFmpeg-devel] [PATCH] swscale_unscaled: fix and speed up DITHER_COPY macro for x86 with SSE2

2017-09-22 Thread Mateusz
New version of the patch -- now it uses the same logic independent of the target bitdepth. For x86_64 it is much faster than current code (with perfect quality), for x86_32 it is fast if you add to configure: --extra-cflags="-msse2" (for x86_32 with default configure options it is slower than

Re: [FFmpeg-devel] [PATCH] swscale_unscaled: fix and speed up DITHER_COPY macro for x86 with SSE2

2017-09-22 Thread James Almer
On 9/22/2017 12:23 PM, Mateusz wrote: > New version of the patch -- now it uses the same logic independent of the > target bitdepth. > > For x86_64 it is much faster than current code (with perfect quality), for > x86_32 it is fast > if you add to configure: --extra-cflags="-msse2" > (for

Re: [FFmpeg-devel] [PATCH] swscale_unscaled: fix and speed up DITHER_COPY macro for x86 with SSE2

2017-09-22 Thread Mateusz
W dniu 2017-09-22 o 17:47, James Almer pisze: > On 9/22/2017 12:23 PM, Mateusz wrote: >> New version of the patch -- now it uses the same logic independent of the >> target bitdepth. >> >> For x86_64 it is much faster than current code (with perfect quality), for >> x86_32 it is fast >> if you

Re: [FFmpeg-devel] [PATCH] swscale_unscaled: fix and speed up DITHER_COPY macro for x86 with SSE2

2017-09-22 Thread James Almer
On 9/22/2017 2:06 PM, Mateusz wrote: > W dniu 2017-09-22 o 17:47, James Almer pisze: >> On 9/22/2017 12:23 PM, Mateusz wrote: >>> New version of the patch -- now it uses the same logic independent of the >>> target bitdepth. >>> >>> For x86_64 it is much faster than current code (with perfect

[FFmpeg-devel] [PATCH 2/3] avcodec/takdec: Fix integer overflow in decode_lpc()

2017-09-22 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: 16748560 + 2143729712 cannot be represented in type 'int' Fixes: 3202/clusterfuzz-testcase-minimized-4988291642294272 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael

[FFmpeg-devel] [PATCH 3/3] avcodec/proresdec2: Check bits in DECODE_CODEWORD(), fixes invalid shift

2017-09-22 Thread Michael Niedermayer
Fixes: runtime error: shift exponent 42 is too large for 32-bit type 'unsigned int' Fixes: 3410/clusterfuzz-testcase-minimized-5313377960198144 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer

[FFmpeg-devel] [PATCH 1/3] avcodec/takdec: Fix integer overflows in decode_subframe()

2017-09-22 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: -1562477869 + -691460395 cannot be represented in type 'int' Fixes: 3196/clusterfuzz-testcase-minimized-4528307146063872 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael