Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Michael Niedermayer
On Sat, Feb 13, 2016 at 06:01:21AM +0100, Mats Peterson wrote: > On 02/13/2016 05:39 AM, Mats Peterson wrote: > >On 02/13/2016 12:51 AM, Michael Niedermayer wrote: > > > >>>+if (context->has_pkt_pal) { > >>>+memcpy(context->palette->data, > >>>+ avpkt->data +

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 11:22 AM, Michael Niedermayer wrote: On Sat, Feb 13, 2016 at 06:01:21AM +0100, Mats Peterson wrote: On 02/13/2016 05:39 AM, Mats Peterson wrote: On 02/13/2016 12:51 AM, Michael Niedermayer wrote: +if (context->has_pkt_pal) { +memcpy(context->palette->data, +

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 11:28 AM, Mats Peterson wrote: Once again, how are we supposed to know how many colors the palette consists of at the end of avpkt->data? palette size = packet size - width*height Nope. You have to take the stride in account as well, not just the width and height, and it

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Paul B Mahol
On 2/13/16, Mats Peterson wrote: > On 02/13/2016 11:28 AM, Mats Peterson wrote: Once again, how are we supposed to know how many colors the palette consists of at the end of avpkt->data? >>> >>> palette size = packet size - width*height >>> >> >> Nope.

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 11:39 AM, Paul B Mahol wrote: On 2/13/16, Mats Peterson wrote: On 02/13/2016 11:28 AM, Mats Peterson wrote: Once again, how are we supposed to know how many colors the palette consists of at the end of avpkt->data? palette size = packet size -

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 11:40 AM, Mats Peterson wrote: On 02/13/2016 11:39 AM, Paul B Mahol wrote: On 2/13/16, Mats Peterson wrote: On 02/13/2016 11:28 AM, Mats Peterson wrote: Once again, how are we supposed to know how many colors the palette consists of at the end

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 11:44 AM, Mats Peterson wrote: On 02/13/2016 11:40 AM, Mats Peterson wrote: On 02/13/2016 11:39 AM, Paul B Mahol wrote: On 2/13/16, Mats Peterson wrote: On 02/13/2016 11:28 AM, Mats Peterson wrote: Once again, how are we supposed to know how

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 12:54 PM, Mats Peterson wrote: On 02/13/2016 12:52 PM, Mats Peterson wrote: just double checked, this is not the case in written pal8 nut files nor does the nut spec say anything about that. Then check an odd-width nut file like the one below. And FFmpeg doesn't care about

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 12:57 PM, Mats Peterson wrote: On 02/13/2016 12:54 PM, Mats Peterson wrote: On 02/13/2016 12:52 PM, Mats Peterson wrote: just double checked, this is not the case in written pal8 nut files nor does the nut spec say anything about that. Then check an odd-width nut file like the

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 12:58 PM, Mats Peterson wrote: On 02/13/2016 12:57 PM, Mats Peterson wrote: On 02/13/2016 12:54 PM, Mats Peterson wrote: On 02/13/2016 12:52 PM, Mats Peterson wrote: just double checked, this is not the case in written pal8 nut files nor does the nut spec say anything about

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 01:00 PM, Mats Peterson wrote: On 02/13/2016 12:58 PM, Mats Peterson wrote: On 02/13/2016 12:57 PM, Mats Peterson wrote: On 02/13/2016 12:54 PM, Mats Peterson wrote: On 02/13/2016 12:52 PM, Mats Peterson wrote: just double checked, this is not the case in written pal8 nut files

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 01:03 PM, Mats Peterson wrote: On 02/13/2016 01:00 PM, Mats Peterson wrote: On 02/13/2016 12:58 PM, Mats Peterson wrote: On 02/13/2016 12:57 PM, Mats Peterson wrote: On 02/13/2016 12:54 PM, Mats Peterson wrote: On 02/13/2016 12:52 PM, Mats Peterson wrote: just double checked,

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread wm4
On Sat, 13 Feb 2016 13:09:48 +0100 Mats Peterson wrote: > On 02/13/2016 01:03 PM, Mats Peterson wrote: > > On 02/13/2016 01:00 PM, Mats Peterson wrote: > >> On 02/13/2016 12:58 PM, Mats Peterson wrote: > >>> On 02/13/2016 12:57 PM, Mats Peterson wrote: >

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 01:24 PM, wm4 wrote: Why are you talking with yourself on the ML? Nobody is going to read everything you post. You just replied to yourself 7 times! If you want input from others, you need to properly communicate your issues. This includes: - thinking before posting - summarizing

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 01:09 PM, Mats Peterson wrote: On 02/13/2016 01:03 PM, Mats Peterson wrote: On 02/13/2016 01:00 PM, Mats Peterson wrote: On 02/13/2016 12:58 PM, Mats Peterson wrote: On 02/13/2016 12:57 PM, Mats Peterson wrote: On 02/13/2016 12:54 PM, Mats Peterson wrote: On 02/13/2016 12:52

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 01:46 PM, Mats Peterson wrote: On 02/13/2016 01:09 PM, Mats Peterson wrote: On 02/13/2016 01:03 PM, Mats Peterson wrote: On 02/13/2016 01:00 PM, Mats Peterson wrote: On 02/13/2016 12:58 PM, Mats Peterson wrote: On 02/13/2016 12:57 PM, Mats Peterson wrote: On 02/13/2016 12:54

Re: [FFmpeg-devel] [PATCH] lavc/rawdec: Remove temporary monowhite switching code for 1 bpp raw AVI

2016-02-13 Thread Mats Peterson
On 02/13/2016 07:25 AM, Mats Peterson wrote: What it sounds like. Remove the temporary monowhite switching code for 1 bpp raw AVI. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel That is, this

Re: [FFmpeg-devel] [PATCH v9] lavc/rawdec: Remove monowhite switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
On 02/13/2016 01:49 PM, Mats Peterson wrote: Sorry, wm4, I got heated up here. I understand your feelings. I will try to limit the spam-like postings. Michael, given that there is no padding of the lines for pal8 in nut, I understand that it's possible to calculate the stride by dividing the

Re: [FFmpeg-devel] [PATCH] avutil/avstring: add a "ALL" entry and the possibility to negate matches to av_match_name()

2016-02-13 Thread Stefano Sabatini
On date Thursday 2016-02-11 20:49:05 +0100, Michael Niedermayer encoded: > This will extend the whitelist features to allow blacklisting individual > protocols and to > explicitly force everything to be enabled. > > Signed-off-by: Michael Niedermayer > --- >

[FFmpeg-devel] [PATCH 2/2] avutil/imgutils: only align the palette in av_image_copy_to_buffer() if there is enough space

2016-02-13 Thread Michael Niedermayer
This allows disabling the alignment by using a compact buffer Signed-off-by: Michael Niedermayer --- libavutil/imgutils.c |5 + libavutil/version.h |2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libavutil/imgutils.c

[FFmpeg-devel] [PATCH 1/2] avutil/imgutils: do not ignore align parameter for pseudo-pal in av_image_get_buffer_size()

2016-02-13 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavutil/imgutils.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c index 3320664..5c28703 100644 --- a/libavutil/imgutils.c +++ b/libavutil/imgutils.c @@ -370,7

[FFmpeg-devel] [PATCH] doc/protocols: document protocol_whitelist

2016-02-13 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- doc/protocols.texi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index 05c4bdb..41b43d4 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -1,3 +1,22 @@

Re: [FFmpeg-devel] [PATCH] fate/source: Do not use GNU extensions in sed

2016-02-13 Thread Timothy Gu
On Sat, Feb 13, 2016 at 02:35:22AM +0100, Michael Niedermayer wrote: > On Fri, Feb 12, 2016 at 05:07:20PM -0800, Timothy Gu wrote: > > --- > > > > Tested on FreeBSD 10.2. > > patch should be ok Pushed, thanks. Timothy ___ ffmpeg-devel mailing list

[FFmpeg-devel] [PATCH] libavdevice/dshow.c: Correct CoGetMalloc check

2016-02-13 Thread FearThe1337
Fixes a typo in a return code conditional check. 0001-libavdevice-dshow.c-Correct-CoGetMalloc-check.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 2/2] avutil/imgutils: only align the palette in av_image_copy_to_buffer() if there is enough space

2016-02-13 Thread Stefano Sabatini
On date Saturday 2016-02-13 15:32:58 +0100, Michael Niedermayer encoded: > This allows disabling the alignment by using a compact buffer > > Signed-off-by: Michael Niedermayer > --- > libavutil/imgutils.c |5 + > libavutil/version.h |2 +- > 2 files changed,

Re: [FFmpeg-devel] [PATCH] doc/protocols: document protocol_whitelist

2016-02-13 Thread Stefano Sabatini
On date Saturday 2016-02-13 17:01:59 +0100, Michael Niedermayer encoded: > Signed-off-by: Michael Niedermayer > --- > doc/protocols.texi | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git a/doc/protocols.texi b/doc/protocols.texi > index

Re: [FFmpeg-devel] [PATCH 2/2] avutil/imgutils: only align the palette in av_image_copy_to_buffer() if there is enough space

2016-02-13 Thread Michael Niedermayer
On Sat, Feb 13, 2016 at 05:53:17PM +0100, Stefano Sabatini wrote: > On date Saturday 2016-02-13 15:32:58 +0100, Michael Niedermayer encoded: > > This allows disabling the alignment by using a compact buffer > > > > Signed-off-by: Michael Niedermayer > > --- > >

Re: [FFmpeg-devel] [RFC][WIP][PATCH] avfilter: add luascript filter

2016-02-13 Thread Stefano Sabatini
On date Thursday 2016-02-04 19:40:18 +0100, Paul B Mahol encoded: > On 2/2/16, Paul B Mahol wrote: > > Hi, > > > > patch attached. > > > > Much more useful version attached. > > Simple demo demonstrating functionality currently missing in lavfi: I toyed with this idea three

Re: [FFmpeg-devel] [PATCH] lavc/lavf: transmit stream_id information for mpegts KLV data packets

2016-02-13 Thread Stefano Sabatini
On date Monday 2016-02-08 19:18:26 +0100, Stefano Sabatini encoded: > On date Friday 2016-02-05 01:15:47 +0100, Marton Balint encoded: > > > > On Thu, 4 Feb 2016, Stefano Sabatini wrote: > > > > >On date Wednesday 2016-02-03 10:18:34 +0100, Stefano Sabatini encoded: > > >[...] > > >>Note: since

Re: [FFmpeg-devel] [PATCH] lavf/mux: do not fail in case of non monotonically increasing DTS values for data packets

2016-02-13 Thread Stefano Sabatini
On date Friday 2015-05-01 19:10:17 +0200, Stefano Sabatini encoded: > On date Thursday 2015-04-30 16:24:08 +0200, Michael Niedermayer encoded: > > On Thu, Apr 30, 2015 at 02:20:52PM +0200, Stefano Sabatini wrote: > > > Disable monotonicity test for data packets. Data packets are not supposed > > >

[FFmpeg-devel] [PATCH] avutil/imgutils: av_image_get_buffer_size(): do not insert padding between stride*height and palette

2016-02-13 Thread Michael Niedermayer
This fixes the layout that is stored in pal8 nut with odd width*height Signed-off-by: Michael Niedermayer --- libavcodec/avpicture.c |2 ++ libavutil/imgutils.c |4 2 files changed, 6 insertions(+) diff --git a/libavcodec/avpicture.c

Re: [FFmpeg-devel] [PATCH 2/2] avutil/imgutils: only align the palette in av_image_copy_to_buffer() if there is enough space

2016-02-13 Thread Michael Niedermayer
On Sat, Feb 13, 2016 at 05:53:17PM +0100, Stefano Sabatini wrote: > On date Saturday 2016-02-13 15:32:58 +0100, Michael Niedermayer encoded: > > This allows disabling the alignment by using a compact buffer > > > > Signed-off-by: Michael Niedermayer > > --- > >

Re: [FFmpeg-devel] [PATCH] avcodec: only warn about hwaccel with frame threads

2016-02-13 Thread Michael Niedermayer
On Thu, Feb 11, 2016 at 11:59:31PM +0100, Michael Niedermayer wrote: > On Mon, Feb 08, 2016 at 04:35:05PM -0500, Ronald S. Bultje wrote: > > Hi, > > > > On Tue, Jan 26, 2016 at 5:23 PM, Andreas Cadhalpun < > > andreas.cadhal...@googlemail.com> wrote: > > > > > On 25.01.2016 00:53, Hendrik

Re: [FFmpeg-devel] [RFC][WIP][PATCH] avfilter: add luascript filter

2016-02-13 Thread Paul B Mahol
On 2/13/16, Stefano Sabatini wrote: > On date Thursday 2016-02-04 19:40:18 +0100, Paul B Mahol encoded: >> On 2/2/16, Paul B Mahol wrote: >> > Hi, >> > >> > patch attached. >> > >> >> Much more useful version attached. >> >> Simple demo demonstrating

Re: [FFmpeg-devel] [PATCH] avcodec: only warn about hwaccel with frame threads

2016-02-13 Thread Michael Niedermayer
On Sat, Jan 23, 2016 at 11:42:54AM +0100, Hendrik Leppkes wrote: > On Sat, Jan 23, 2016 at 10:12 AM, Andreas Cadhalpun > wrote: > > VLC uses hwaccel with frame threads and it works fine, but returning > > an error here made it fail. > > > > This regression was

Re: [FFmpeg-devel] [PATCH] avutil/imgutils: av_image_get_buffer_size(): do not insert padding between stride*height and palette

2016-02-13 Thread wm4
On Sat, 13 Feb 2016 19:38:01 +0100 Michael Niedermayer wrote: > This fixes the layout that is stored in pal8 nut with odd width*height > > Signed-off-by: Michael Niedermayer > --- > libavcodec/avpicture.c |2 ++ > libavutil/imgutils.c |

Re: [FFmpeg-devel] [PATCH] lavc/lavf: transmit stream_id information for mpegts KLV data packets

2016-02-13 Thread Marton Balint
On Sat, 13 Feb 2016, Stefano Sabatini wrote: Subject: [PATCH] lavc/lavf: transmit stream_id information for mpegts KLV data packets [...] Someone else wants to have a look, or should I push as is? I had a look at the mpegtsenc part as well: --- a/libavformat/mpegtsenc.c +++

[FFmpeg-devel] [PATCH v2 2/2] lavc/ccaption_dec: implement special and extended character sets

2016-02-13 Thread Aman Gupta
From: Aman Gupta character sets implemented as defined in https://en.wikipedia.org/wiki/EIA-608#Characters --- libavcodec/ccaption_dec.c | 152 +- 1 file changed, 149 insertions(+), 3 deletions(-) diff --git

[FFmpeg-devel] [PATCH v2 1/2] lavc/ccaption_dec: do not ignore repeated character commands

2016-02-13 Thread Aman Gupta
From: Aman Gupta control codes in a cc stream can be repeated, and must be ignored. however, repeated characters must not be ignored. the code attempted to wipe prev_cmd in handle_char to allow repeated characters to be processed, but prev_cmd would previously get reset _after_

Re: [FFmpeg-devel] [PATCH v2 2/2] lavc/ccaption_dec: implement special and extended character sets

2016-02-13 Thread Clément Bœsch
On Sat, Feb 13, 2016 at 12:35:18PM -0800, Aman Gupta wrote: [...] > +static const char *charset_overrides[4][128] = > +{ > +[CCSET_BASIC_AMERICAN] = { > +[0x27] = "’", > +[0x2a] = "á", > +[0x5c] = "é", > +[0x5e] = "í", > +[0x5f] = "ó", > +[0x60]

Re: [FFmpeg-devel] [PATCH] avutil/imgutils: av_image_get_buffer_size(): do not insert padding between stride*height and palette

2016-02-13 Thread Michael Niedermayer
On Sat, Feb 13, 2016 at 08:46:34PM +0100, wm4 wrote: > On Sat, 13 Feb 2016 19:38:01 +0100 > Michael Niedermayer wrote: > > > This fixes the layout that is stored in pal8 nut with odd width*height > > > > Signed-off-by: Michael Niedermayer > > ---

Re: [FFmpeg-devel] Fwd: Fwd: libavformat/segment : add option to increment timecode

2016-02-13 Thread Martin Vignali
2016-02-08 20:04 GMT+01:00 Stefano Sabatini : > On date Friday 2016-02-05 11:41:06 +0100, Martin Vignali encoded: > > 2016-01-30 10:44 GMT+01:00 Stefano Sabatini : > > > > > On date Friday 2016-01-29 17:38:13 +0100, Martin Vignali encoded: > > > >

Re: [FFmpeg-devel] [PATCH] libavdevice/dshow.c: Correct CoGetMalloc check

2016-02-13 Thread Michael Niedermayer
On Sat, Feb 13, 2016 at 05:23:27PM +0100, FearThe1337 wrote: > Fixes a typo in a return code conditional check. > dshow.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > f75116cffe806352539bc5a90dc8fb3365a4a26e > 0001-libavdevice-dshow.c-Correct-CoGetMalloc-check.patch > From

Re: [FFmpeg-devel] [PATCH] avutil/imgutils: av_image_get_buffer_size(): do not insert padding between stride*height and palette

2016-02-13 Thread wm4
On Sat, 13 Feb 2016 21:51:48 +0100 Michael Niedermayer wrote: > On Sat, Feb 13, 2016 at 08:46:34PM +0100, wm4 wrote: > > On Sat, 13 Feb 2016 19:38:01 +0100 > > Michael Niedermayer wrote: > > > > > This fixes the layout that is stored in pal8

[FFmpeg-devel] [PATCH] checkasm: Add vf_blend tests

2016-02-13 Thread Timothy Gu
--- tests/checkasm/Makefile | 1 + tests/checkasm/checkasm.c | 3 ++ tests/checkasm/checkasm.h | 1 + tests/checkasm/vf_blend.c | 130 ++ 4 files changed, 135 insertions(+) create mode 100644 tests/checkasm/vf_blend.c diff --git

Re: [FFmpeg-devel] [PATCH] lavc/hevc Parse SEI_TYPE_MASTERING_DISPLAY_INFO and propagate contents into the AVMasteringDisplayMetadata side data.

2016-02-13 Thread Michael Niedermayer
On Mon, Feb 08, 2016 at 09:36:42AM -0800, Neil Birkbeck wrote: > I'm sending an updated patch that persists the data within the CVS > (between IRAP access units with no_rasl_output_flag=1). If this seems > like overkill, we can fallback to Hendrik's suggestion of just sending > it once. I did

Re: [FFmpeg-devel] [PATCH]levc/hevc_cabac Optimise ff_hevc_hls_residual_coding (v2)

2016-02-13 Thread Michael Niedermayer
On Wed, Feb 03, 2016 at 12:47:47PM +, John Cox wrote: > On Tue, 2 Feb 2016 12:52:15 +0100, you wrote: > > >Hi, > > > >as a motus operandi for this review, I have no time for a proper one, > >or at least not fitting with John's timeframe. I'll try to close as > >many pending discussions, and

[FFmpeg-devel] [PATCH 1/2] vf_blend: Templatize identity function and use a better name

2016-02-13 Thread Timothy Gu
--- libavfilter/vf_blend.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/libavfilter/vf_blend.c b/libavfilter/vf_blend.c index 2b734b4..c24013d 100644 --- a/libavfilter/vf_blend.c +++ b/libavfilter/vf_blend.c @@ -118,15 +118,21 @@ static const

[FFmpeg-devel] [PATCH 2/2] vf_blend: Use memcpy when opacity is 0

2016-02-13 Thread Timothy Gu
For xor mode, 1.8x faster on Haswell. --- libavfilter/vf_blend.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavfilter/vf_blend.c b/libavfilter/vf_blend.c index c24013d..599084f 100644 --- a/libavfilter/vf_blend.c +++ b/libavfilter/vf_blend.c @@ -130,6 +130,7 @@ static void

Re: [FFmpeg-devel] [PATCH v2 2/2] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

2016-02-13 Thread Mark Reid
On Fri, Feb 12, 2016 at 6:12 AM, Michael Niedermayer wrote: > On Thu, Feb 11, 2016 at 08:41:16PM -0800, Mark Reid wrote: >> --- >> libavcodec/dnxhd_parser.c | 11 +++ >> libavformat/dnxhddec.c| 7 --- >> 2 files changed, 11 insertions(+), 7 deletions(-) >

Re: [FFmpeg-devel] [PATCH] avcodec: only warn about hwaccel with frame threads

2016-02-13 Thread Ronald S. Bultje
Hi, On Sat, Feb 13, 2016 at 2:38 PM, Michael Niedermayer wrote: > On Sat, Jan 23, 2016 at 11:42:54AM +0100, Hendrik Leppkes wrote: > > On Sat, Jan 23, 2016 at 10:12 AM, Andreas Cadhalpun > > wrote: > > > VLC uses hwaccel with frame

[FFmpeg-devel] [PATCH] x86/vf_blend: Add SSE4.1 optimization for divide

2016-02-13 Thread Timothy Gu
--- The reason why this function uses SSE4.1 is the roundps instruction. Would love to find a way to truncate a float to integer in SSE2. --- libavfilter/x86/vf_blend.asm| 32 libavfilter/x86/vf_blend_init.c | 6 ++ 2 files changed, 38 insertions(+)

Re: [FFmpeg-devel] [PATCH] Add mkdir support for HLS localtime-generated segment files

2016-02-13 Thread Michael Niedermayer
On Wed, Feb 03, 2016 at 10:44:28PM +0100, Johan Ström wrote: > Hi, > > this patch adds -use_localtime_mkdir option to the HLS encoder. > Use with -use_localtime, and set -hls_segment_filename to a path > which contains a subdirectory i.e. > /some/path/%Y%m%d/%Y%m%dT%H%M%S-%s.ts > This will mkdir

Re: [FFmpeg-devel] [PATCH] avutil: Remove x86_cpu.h

2016-02-13 Thread Timothy Gu
On Sun, Feb 07, 2016 at 09:29:23AM -0800, Timothy Gu wrote: > It is private (uninstalled) and unused. > --- > libavutil/x86_cpu.h | 1 - > 1 file changed, 1 deletion(-) > delete mode 100644 libavutil/x86_cpu.h Pushed. Timothy ___ ffmpeg-devel mailing

[FFmpeg-devel] [PATCH v3] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

2016-02-13 Thread Mark Reid
--- libavcodec/dnxhd_parser.c | 7 +++ libavcodec/dnxhddata.c| 8 libavcodec/dnxhddata.h| 18 +- libavcodec/dnxhddec.c | 12 libavformat/dnxhddec.c| 7 --- 5 files changed, 36 insertions(+), 16 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH 1/2] avformat/img2enc: return error if image rename fails

2016-02-13 Thread Marton Balint
On Thu, 11 Feb 2016, Michael Niedermayer wrote: On Thu, Feb 11, 2016 at 02:23:10AM +0100, Marton Balint wrote: Signed-off-by: Marton Balint --- libavformat/img2enc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) should be ok Applied, thanks. Marton

[FFmpeg-devel] [PATCH v3] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

2016-02-13 Thread Mark Reid
changes since v2: removed table and enums, using defines for prefixes instead. parser now uses a inline function. Mark Reid (1): libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats libavcodec/dnxhd_parser.c | 7 +++ libavcodec/dnxhddata.c| 8

Re: [FFmpeg-devel] [PATCH 2/2] avformat/img2enc: disable atomic file creation by default

2016-02-13 Thread Marton Balint
On Sat, 13 Feb 2016, Marton Balint wrote: On Thu, 11 Feb 2016, Marton Balint wrote: Currently it is broken when explicitly using the file protocol, it uses an insecure temporary file name, and in commit b4431c80 disabling the option by default was already considered. Also it is not very

[FFmpeg-devel] [PATCH] x86/vc1dsp: Port vc1_*_hor_16b_shift2 to NASM format

2016-02-13 Thread Timothy Gu
--- libavcodec/x86/vc1dsp.asm | 92 - libavcodec/x86/vc1dsp_mmx.c | 61 -- 2 files changed, 99 insertions(+), 54 deletions(-) diff --git a/libavcodec/x86/vc1dsp.asm b/libavcodec/x86/vc1dsp.asm index 91a1991..2e9f067 100644

[FFmpeg-devel] [PATCH] LICENSE: Thorough editing

2016-02-13 Thread Timothy Gu
The changes in "Incompatible libraries" section are strictly based on what our configure script says. --- LICENSE.md | 64 +- 1 file changed, 38 insertions(+), 26 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 0c53d0f..a70f486

Re: [FFmpeg-devel] [PATCH 12/12] ffmpeg: remove hardcoded 'now' creation_time support

2016-02-13 Thread Marton Balint
On Sat, 6 Feb 2016, Marton Balint wrote: Every date parsing routine now uses av_parse_time which handles 'now' and provides greater precision as well. This change also enables the segmenter muxer to set the proper 'now' creation time at the beginning of each segment. Signed-off-by: Marton

Re: [FFmpeg-devel] [PATCH] x86/vf_blend: Add SSE2 optimization for divide

2016-02-13 Thread Timothy Gu
On Sat, Feb 13, 2016 at 07:21:25PM -0800, Timothy Gu wrote: > --- > libavfilter/x86/vf_blend.asm| 30 ++ > libavfilter/x86/vf_blend_init.c | 2 ++ > 2 files changed, 32 insertions(+) Locally added commit message: 4.5x faster than C float version with

[FFmpeg-devel] [PATCH] vf_blend: Reduce number of arguments for kernel function

2016-02-13 Thread Timothy Gu
--- libavfilter/blend.h | 2 +- libavfilter/vf_blend.c | 27 ++- libavfilter/x86/vf_blend.asm| 3 +-- libavfilter/x86/vf_blend_init.c | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/libavfilter/blend.h

[FFmpeg-devel] [PATCH] Improve os2threads

2016-02-13 Thread KO Myung-Hun
Hi/2. These are patches to improve os2threads. Review, please... [PATCH 1/3] compat/os2threads: Improve pthread_cond_xxx() functions [PATCH 2/3] compat/os2threads: support the return value of joined [PATCH 3/3] compat/os2threads: split long lines ___

[FFmpeg-devel] [PATCH 1/3] compat/os2threads: Improve pthread_cond_xxx() functions

2016-02-13 Thread KO Myung-Hun
1. Manipulate waiting count in pthread_cond_wait() 2. Use builtin atomic functions to manipulate waiting count --- compat/os2threads.h | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/compat/os2threads.h b/compat/os2threads.h index 7c0fe13..b461f83 100644

[FFmpeg-devel] [PATCH 3/3] compat/os2threads: split long lines

2016-02-13 Thread KO Myung-Hun
--- compat/os2threads.h | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/compat/os2threads.h b/compat/os2threads.h index f2e5d9f..5767190 100644 --- a/compat/os2threads.h +++ b/compat/os2threads.h @@ -70,7 +70,10 @@ static void thread_entry(void *arg)

[FFmpeg-devel] [PATCH 2/3] compat/os2threads: support the return value of joined thread

2016-02-13 Thread KO Myung-Hun
--- compat/os2threads.h | 39 ++- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/compat/os2threads.h b/compat/os2threads.h index b461f83..f2e5d9f 100644 --- a/compat/os2threads.h +++ b/compat/os2threads.h @@ -35,9 +35,15 @@ #include #include

Re: [FFmpeg-devel] [PATCH 01/12] avutil/parseutils: use microsecond precision when parsing "now" in av_parse_time()

2016-02-13 Thread Marton Balint
On Wed, 10 Feb 2016, Marton Balint wrote: On Sun, 7 Feb 2016, Marton Balint wrote: On Sun, 7 Feb 2016, Michael Niedermayer wrote: On Sat, Feb 06, 2016 at 08:13:12PM +0100, Marton Balint wrote: Use av_gettime() instead of time(0) for querying current time. Signed-off-by: Marton Balint

Re: [FFmpeg-devel] [PATCH] avformat/asfenc: write group_mutual_exclusion_objects on multiple languages

2016-02-13 Thread Michael Niedermayer
On Sun, Feb 07, 2016 at 11:02:56PM +0100, Marton Balint wrote: > Improves streaming compatibility with Windows Media Services. Also tested for > compatilbility in Windows Media Player, Windows Media ASF Viewer and VLC. > > Signed-off-by: Marton Balint > --- > libavformat/asf.c

[FFmpeg-devel] [PATCH] vf_blend: Use integers for divide mode

2016-02-13 Thread Timothy Gu
2.5x faster for 8-bit mode without autovectorization in GCC, 2x slower with it on x86. However, since the platforms we enable GCC autovectorization on most probably has support for SSE2 optimization (added in the subsequent commit), this commit should in general do good. ---

[FFmpeg-devel] [PATCH] x86/vf_blend: Add SSE2 optimization for divide

2016-02-13 Thread Timothy Gu
--- libavfilter/x86/vf_blend.asm| 30 ++ libavfilter/x86/vf_blend_init.c | 2 ++ 2 files changed, 32 insertions(+) diff --git a/libavfilter/x86/vf_blend.asm b/libavfilter/x86/vf_blend.asm index a5ea74c..303ea3a 100644 --- a/libavfilter/x86/vf_blend.asm +++

Re: [FFmpeg-devel] [PATCH] x86/vf_blend: Add SSE4.1 optimization for divide

2016-02-13 Thread Timothy Gu
I've already answered these on IRC but for the sake of completion I'll include the answers here as well. On Sat, Feb 13, 2016 at 10:26:58PM -0300, James Almer wrote: > On 2/13/2016 9:27 PM, Timothy Gu wrote: > > --- > > > > The reason why this function uses SSE4.1 is the roundps instruction.

[FFmpeg-devel] [PATCH 3/3] lavf/mpjpeg: do not include CRLF preceding boundary as, part of the returned frame

2016-02-13 Thread Alexander Agranovsky
From b2ef061db32933e896dbeecb68268a62c47d6e0a Mon Sep 17 00:00:00 2001 From: Alex Agranovsky Date: Sat, 13 Feb 2016 23:16:45 -0500 Subject: [PATCH 3/3] lavf/mpjpeg: do not include CRLF preceding boundary as part of the returned frame Signed-off-by: Alex Agranovsky

[FFmpeg-devel] [PATCH 1/2] lavc/rawdec: Remove temporary switching code for 1 bpp AVI without a palette

2016-02-13 Thread Mats Peterson
Old stuff, new shape. -- Mats Peterson http://matsp888.no-ip.org/~mats/ >From 28d176395cb1ad7f1e4ee3120c5d0404eb45a93b Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Sun, 14 Feb 2016 06:50:00 +0100 Subject: [PATCH 1/2] lavc/rawdec: Remove temporary switching code for 1

[FFmpeg-devel] [PATCH 2/2] lavc/rawdec: Retrieve nut palette in packets

2016-02-13 Thread Mats Peterson
Since we're creating a new frame due to the alignment requirement of 16 bytes, we'll have to retrieve the nut palette from the end of the packet data. Mats >From 9627c56c50f5928e04345e5e62b123f2dbe4109c Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Sun, 14 Feb 2016

Re: [FFmpeg-devel] [PATCH 2/2] lavc/rawdec: Retrieve nut palette in packets

2016-02-13 Thread Mats Peterson
On 02/14/2016 07:05 AM, Mats Peterson wrote: This one is incorrect. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 2/2 v2] lavc/rawdec: Retrieve nut palette in packets

2016-02-13 Thread Mats Peterson
Since we're creating a new frame due to the alignment requirement of 16 bytes, we'll have to retrieve the nut palette from the end of the packet data. Mats -- Mats Peterson http://matsp888.no-ip.org/~mats/ >From c5c3c84be927c8dc04708746aa725b73cf1659b5 Mon Sep 17 00:00:00 2001 From: Mats

Re: [FFmpeg-devel] [PATCH] x86/vf_blend: Add SSE4.1 optimization for divide

2016-02-13 Thread James Almer
On 2/13/2016 9:27 PM, Timothy Gu wrote: > --- > > The reason why this function uses SSE4.1 is the roundps instruction. Would > love to find a way to truncate a float to integer in SSE2. > > --- > libavfilter/x86/vf_blend.asm| 32 >

Re: [FFmpeg-devel] [PATCH v3] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

2016-02-13 Thread Michael Niedermayer
On Sat, Feb 13, 2016 at 04:35:24PM -0800, Mark Reid wrote: > --- > libavcodec/dnxhd_parser.c | 7 +++ > libavcodec/dnxhddata.c| 8 > libavcodec/dnxhddata.h| 18 +- > libavcodec/dnxhddec.c | 12 > libavformat/dnxhddec.c| 7 --- > 5

[FFmpeg-devel] [PATCH v4] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

2016-02-13 Thread Mark Reid
--- libavcodec/dnxhd_parser.c | 7 +++ libavcodec/dnxhddata.c| 8 libavcodec/dnxhddata.h| 18 +- libavcodec/dnxhddec.c | 12 libavformat/dnxhddec.c| 7 --- 5 files changed, 36 insertions(+), 16 deletions(-) diff --git

[FFmpeg-devel] [PATCH v4] libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats

2016-02-13 Thread Mark Reid
changes since v3: fixed inconsistent indentation. Mark Reid (1): libavcodec/dnxhd_parser: add parser and probe support raw 444 and dnxhr formats libavcodec/dnxhd_parser.c | 7 +++ libavcodec/dnxhddata.c| 8 libavcodec/dnxhddata.h| 18 +-

[FFmpeg-devel] [PATCH 2/2 v3] lavc/rawdec: Retrieve nut palette in packets

2016-02-13 Thread Mats Peterson
Small fix. -- Mats Peterson http://matsp888.no-ip.org/~mats/ >From d292ac7030c5e46eb92a1dd13ace1a000c0fb16f Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Sun, 14 Feb 2016 08:11:27 +0100 Subject: [PATCH 2/2 v3] lavc/rawdec: Retrieve nut palette in packets ---