Re: [FFmpeg-devel] [PATCH] avcodec/v410enc: Use ff_alloc_packet() instead of ff_alloc_packet2()

2015-07-06 Thread wm4
On Sun, 5 Jul 2015 23:03:24 +0200 Michael Niedermayer wrote: > the later is not optimal when the buffer size is well known at allocation time > > This avoids a memcpy() > > about 1% faster > > Signed-off-by: Michael Niedermayer > --- > libavcodec/v410enc.c |2 +- > 1 file changed, 1 ins

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc.c: More correct selection of alignment of a frame height depending whether an encoded sequence progressive or not.

2015-07-06 Thread Ivan Uskov
Hello Michael, For any case there is need a way to encode h.264 with or without active frame_mbs_only_flag into SPS. If I understanding correct, the purpose of CODEC_FLAG_INTERLACED_DCT is exactly for this. Monday, July 6, 2015, 3:26:16 AM, you wrote: MN> the CODEC_FLAG_INTERLACED_DCT flag is i

[FFmpeg-devel] [PATCH 1/2] configure: loongson enabled local aligned 32

2015-07-06 Thread 周晓勇
From 7cef687fac2f056a0f1a6e7cf65df5358b16a642 Mon Sep 17 00:00:00 2001 From: ZhouXiaoyong Date: Mon, 6 Jul 2015 09:42:17 +0800 Subject: [PATCH 1/2] configure: loongson enabled local aligned 32 Signed-off-by: ZhouXiaoyong --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[FFmpeg-devel] [PATCH 2/2] avcodec: loongson optimized mpegvideo dct unquantize with

2015-07-06 Thread 周晓勇
From cc51287aa33d095595f1373de2b0191a2180428c Mon Sep 17 00:00:00 2001 From: ZhouXiaoyong Date: Mon, 6 Jul 2015 16:45:56 +0800 Subject: [PATCH 2/2] avcodec: loongson optimized mpegvideo dct unquantize with mmi Signed-off-by: ZhouXiaoyong --- libavcodec/mips/Makefile | 1 + liba

Re: [FFmpeg-devel] implement process_command for vf_scale and vf_crop

2015-07-06 Thread Paul B Mahol
On 6/25/15, Bernd Blessmann wrote: > Hi all, > > I want to implement process_command for vf_scale.c and vf_crop.c in order to > use zmq to change > scaling and cropping dynamically. > > I have implemented it using av_opt_set() and calling config_props() for > scale and config_input() and > config_

Re: [FFmpeg-devel] [PATCH] avcodec/v410enc: Use ff_alloc_packet() instead of ff_alloc_packet2()

2015-07-06 Thread Michael Niedermayer
On Mon, Jul 06, 2015 at 09:37:34AM +0200, wm4 wrote: > On Sun, 5 Jul 2015 23:03:24 +0200 > Michael Niedermayer wrote: > > > the later is not optimal when the buffer size is well known at allocation > > time > > > > This avoids a memcpy() > > > > about 1% faster > > > > Signed-off-by: Michael

[FFmpeg-devel] [PATCH 1/3] avcodec/v410enc: do not use internal->byte_buffer

2015-07-06 Thread Michael Niedermayer
it is not optimal when the buffer size is well known at allocation time This avoids a memcpy() about 1% faster Signed-off-by: Michael Niedermayer --- libavcodec/v410enc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/v410enc.c b/libavcodec/v410enc.c index f2

[FFmpeg-devel] [PATCH 2/3] avcodec/internal: Deprecate ff_alloc_packet() in favor of ff_alloc_packet2()

2015-07-06 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/internal.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index cea5355..2feb68b 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -221,7 +221,7 @@ int avpriv_un

[FFmpeg-devel] [PATCH 3/3] avcodec/internal: Document how to avoid the internal->byte_buffer with ff_alloc_packet2()

2015-07-06 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/internal.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 2feb68b..c410f8b 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -210,6 +210,9 @@ int avpriv_unlock_avformat

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/internal: Document how to avoid the internal->byte_buffer with ff_alloc_packet2()

2015-07-06 Thread Hendrik Leppkes
On Mon, Jul 6, 2015 at 12:07 PM, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/internal.h |3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavcodec/internal.h b/libavcodec/internal.h > index 2feb68b..c410f8b 100644 > --- a/libavcodec/internal.

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/internal: Document how to avoid the internal->byte_buffer with ff_alloc_packet2()

2015-07-06 Thread Paul B Mahol
On 7/6/15, Hendrik Leppkes wrote: > On Mon, Jul 6, 2015 at 12:07 PM, Michael Niedermayer > wrote: >> Signed-off-by: Michael Niedermayer >> --- >> libavcodec/internal.h |3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/libavcodec/internal.h b/libavcodec/internal.h >> index 2feb68

[FFmpeg-devel] [PATCH 3/3] swscale: ayuv16le output support

2015-07-06 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libswscale/output.c | 48 libswscale/utils.c | 2 +- tests/ref/fate/filter-pixfmts-copy | 1 + tests/ref/fate/filter-pixfmts-crop | 1 + tests/ref/fate/filter-pixfmts-field

Re: [FFmpeg-devel] [PATCH] fate/api: simplify

2015-07-06 Thread George Boyle
This has a couple of implications for the running of these tests in certain circumstances. Whether these circumstances are important or realistic, I do not know. In particular, I tested by configuring with "--disable-avformat" and in that case, "make fate" works fine, but necessarily excludes all A

Re: [FFmpeg-devel] [PATCH 2/3] swscale: ayuv16 input support

2015-07-06 Thread Carl Eugen Hoyos
Paul B Mahol gmail.com> writes: > +static void read_ayuv16le_Y_c Wasn't the original request for output-only? Is the input useful? Imo, AYUV64 is more consistent. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mai

Re: [FFmpeg-devel] [PATCH] api-seek-test: first version

2015-07-06 Thread Michael Niedermayer
On Sun, Jul 05, 2015 at 02:29:49AM +0300, Ludmila Glinskih wrote: > Works only with video stream. > --- > tests/api/Makefile| 1 + > tests/api/api-seek-test.c | 194 > ++ > tests/fate/api.mak| 4 + > tests/ref/fate/api-seek | 147 +

Re: [FFmpeg-devel] [PATCH 2/3] swscale: ayuv16 input support

2015-07-06 Thread Carl Eugen Hoyos
Carl Eugen Hoyos ag.or.at> writes: > Imo, AYUV64 is more consistent. Or YUVA64? Please mention the ticket in the commit message for the swscaler output. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/list

Re: [FFmpeg-devel] [PATCH 3/3] swscale: ayuv16le output support

2015-07-06 Thread Carl Eugen Hoyos
Paul B Mahol gmail.com> writes: > +static void > +yuv2ayuv16le_X_c Where you able to test this with the Apple encoder? Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

2015-07-06 Thread Michael Niedermayer
On Fri, Jul 03, 2015 at 06:13:25PM +0800, 周晓勇 wrote: > From dc50d05ba8a4d40e17f15a52237f33cff0205fea Mon Sep 17 00:00:00 2001 > From: ZhouXiaoyong > Date: Fri, 3 Jul 2015 16:56:01 +0800 > Subject: [PATCH 4/4] avcodec: loongson optimized h264pred with mmi > > > Signed-off-by: ZhouXiaoyong > ---

Re: [FFmpeg-devel] [PATCH 3/3] swscale: ayuv16le output support

2015-07-06 Thread Robert Krüger
On Mon, Jul 6, 2015 at 2:27 PM, Carl Eugen Hoyos wrote: > Paul B Mahol gmail.com> writes: > > > +static void > > +yuv2ayuv16le_X_c > > Where you able to test this with the Apple > encoder? > > I will try to get a test setup running and post the results here, probably tomorrow. __

Re: [FFmpeg-devel] [PATCH 2/3] swscale: ayuv16 input support

2015-07-06 Thread Paul B Mahol
On 7/6/15, Carl Eugen Hoyos wrote: > Paul B Mahol gmail.com> writes: > >> +static void read_ayuv16le_Y_c > > Wasn't the original request for output-only? > Is the input useful? Mostly for testing purposes. > > Imo, AYUV64 is more consistent. Yes, I think about that too. > > Carl Eugen > > ___

Re: [FFmpeg-devel] [PATCH 2/3] swscale: ayuv16 input support

2015-07-06 Thread Paul B Mahol
On 7/6/15, Carl Eugen Hoyos wrote: > Carl Eugen Hoyos ag.or.at> writes: > >> Imo, AYUV64 is more consistent. > > Or YUVA64? YUVA is different from AYUV like RGBA is different from ARGB. > > Please mention the ticket in the commit message > for the swscaler output. Will, do. Although y416 have

Re: [FFmpeg-devel] [PATCH 2/3] swscale: ayuv16 input support

2015-07-06 Thread Carl Eugen Hoyos
Paul B Mahol gmail.com> writes: > > Please mention the ticket in the commit message > > for the swscaler output. > > Will, do. Although y416 have nothing to do with 16 bit ayuv. I completely agree but I think it turned out the the OP wasn't really interested in y416 but in your patch;-) Carl

Re: [FFmpeg-devel] [PATCH 3/3] swscale: ayuv16le output support

2015-07-06 Thread Michael Niedermayer
On Mon, Jul 06, 2015 at 11:56:21AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libswscale/output.c | 48 > > libswscale/utils.c | 2 +- > tests/ref/fate/filter-pixfmts-copy | 1 + > tests/ref

Re: [FFmpeg-devel] [PATCH 3/3] swscale: ayuv16le output support

2015-07-06 Thread Michael Niedermayer
On Mon, Jul 06, 2015 at 03:10:41PM +0200, Michael Niedermayer wrote: > On Mon, Jul 06, 2015 at 11:56:21AM +, Paul B Mahol wrote: > > Signed-off-by: Paul B Mahol > > --- > > libswscale/output.c | 48 > > > > libswscale/utils.c

Re: [FFmpeg-devel] [PATCH 2/3] swscale: ayuv16 input support

2015-07-06 Thread Robert Krüger
On Mon, Jul 6, 2015 at 3:08 PM, Carl Eugen Hoyos wrote: > Paul B Mahol gmail.com> writes: > > > > Please mention the ticket in the commit message > > > for the swscaler output. > > > > Will, do. Although y416 have nothing to do with 16 bit ayuv. > > I completely agree but I think it turned out t

Re: [FFmpeg-devel] implement process_command for vf_scale and vf_crop

2015-07-06 Thread Bernd Blessmann
Am 06.07.2015 um 11:17 schrieb Paul B Mahol: On 6/25/15, Bernd Blessmann wrote: Hi all, I want to implement process_command for vf_scale.c and vf_crop.c in order to use zmq to change scaling and cropping dynamically. I have implemented it using av_opt_set() and calling config_props() for scal

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc.c: More correct selection of alignment of a frame height depending whether an encoded sequence progressive or not.

2015-07-06 Thread Michael Niedermayer
On Mon, Jul 06, 2015 at 11:52:21AM +0300, Ivan Uskov wrote: > Hello Michael, > > For any case there is need a way to encode h.264 with or without > active frame_mbs_only_flag into SPS. > If I understanding correct, the purpose of CODEC_FLAG_INTERLACED_DCT > is exactly for this. yes applied than

Re: [FFmpeg-devel] [PATCHv4] avcodec: Add support for Closed Caption export in h264

2015-07-06 Thread Michael Niedermayer
On Mon, Jul 06, 2015 at 01:05:01AM +0100, Kieran Kunhya wrote: > --- > libavcodec/h264.c | 9 + > libavcodec/h264.h | 2 ++ > libavcodec/h264_sei.c | 39 +-- > 3 files changed, 48 insertions(+), 2 deletions(-) applied thanks [...] -- Michael

Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

2015-07-06 Thread 周晓勇
the new FC21 download address: http://loongnix.org/ftp/os/Fedora21/ the fault caused by ARCH_MIPS64 in configure doesn't match with O32 API in old FC19. it's different on loongson arch(or other mips arch) and x86 arch that 32bit system can only use mips32 instruction set. to achieve high perform

Re: [FFmpeg-devel] [PATCH] ffmpeg_opt: allow the user to ignore unused stream maps

2015-07-06 Thread Michael Niedermayer
On Wed, Jul 01, 2015 at 02:14:26PM -0500, Rodger Combs wrote: > --- > ffmpeg_opt.c | 12 ++-- > 1 file changed, 10 insertions(+), 2 deletions(-) applied please post a patch to update docs thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Old sch

Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

2015-07-06 Thread 周晓勇
upgrade the new FC21 with these steps: 1.mount Fedora21-xfce-Loongson-20150706.iso to /mnt 2.mkfs.ext3(ext4 may not supported by loongson pmon) the usb disk 3.copy all two folders in /mnt to usb 4.reboot and plug in usb disk 5.press key "u" until select menu 6.enter in usb disk(first men

[FFmpeg-devel] [PATCH] avfilter/vf_colormatrix: add yuv444p support

2015-07-06 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_colormatrix.c | 53 +++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c index 4971cac..c0ca9ee 100644 --- a/libavfilter/vf_colormatrix.

[FFmpeg-devel] [PATCH] libavcodec/qsvenc.c: A warning message when library will work at partial hardware acceleration

2015-07-06 Thread Ivan Uskov
Hello All, There is the patch attached which add warning message for case when QSV/MFX encoder has been initialized to work with partial hardware acceleration. -- Best regards, Ivan mailto:ivan.us...@nablet.com 0001-libavcodec-qsvenc.c-A-warning-message-when-library-w.

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc.c: A warning message when library will work at partial hardware acceleration

2015-07-06 Thread Michael Niedermayer
On Mon, Jul 06, 2015 at 05:15:24PM +0300, Ivan Uskov wrote: > Hello All, > > There is the patch attached which add warning message for case when > QSV/MFX encoder has been initialized to work with partial hardware > acceleration. > > -- > Best regards, > Ivan mailto:iva

[FFmpeg-devel] [PATCH]Tell users about Closed Captions in video streams

2015-07-06 Thread Carl Eugen Hoyos
Hi! Attached patch adds "Closed Captions" to the codec dump if the video stream contains them. Please comment, Carl Eugen diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index e367399..c39a241 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3171,6 +3171,14 @@ typedef st

Re: [FFmpeg-devel] [PATCH]Tell users about Closed Captions in video streams

2015-07-06 Thread Hendrik Leppkes
On Mon, Jul 6, 2015 at 5:53 PM, Carl Eugen Hoyos wrote: > Hi! > > Attached patch adds "Closed Captions" to the codec dump if > the video stream contains them. > Adding fields to a public context which should never be accessed by the public is a big no-no. - Hendrik __

Re: [FFmpeg-devel] [PATCH]Allow native jpeg 2000 encoding yuv42x and yuv41x

2015-07-06 Thread Michael Niedermayer
On Fri, Jul 03, 2015 at 05:18:03PM +, Paul B Mahol wrote: > On 7/3/15, Michael Niedermayer wrote: > > On Fri, Jul 03, 2015 at 12:34:21PM +0200, Carl Eugen Hoyos wrote: > >> Hi! > >> > >> Attached patch allows lossless encoding of lena.pnm > >> in yuv420p, yuv422p, yuv410p and yuv411p with the

Re: [FFmpeg-devel] [PATCH]Tell users about Closed Captions in video streams

2015-07-06 Thread Carl Eugen Hoyos
Hendrik Leppkes gmail.com> writes: > > Attached patch adds "Closed Captions" to the codec > > dump if the video stream contains them. > > Adding fields to a public context which should never > be accessed by the public is a big no-no. What is the alternative? Carl Eugen

Re: [FFmpeg-devel] [PATCH]Allow native jpeg 2000 encoding yuv42x and yuv41x

2015-07-06 Thread Carl Eugen Hoyos
Carl Eugen Hoyos ag.or.at> writes: > AV_PIX_FMT_RGB24, AV_PIX_FMT_YUV444P, AV_PIX_FMT_GRAY8, > -/* AV_PIX_FMT_YUV420P, > -AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV444P, > -AV_PIX_FMT_YUV410P, AV_PIX_FMT_YUV411P,*/ > +AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV422P, > +

Re: [FFmpeg-devel] [PATCH]Tell users about Closed Captions in video streams

2015-07-06 Thread Carl Eugen Hoyos
On Monday 06 July 2015 06:18:14 pm Carl Eugen Hoyos wrote: > Hendrik Leppkes gmail.com> writes: > > > Attached patch adds "Closed Captions" to the codec > > > dump if the video stream contains them. > > > > Adding fields to a public context which should never > > be accessed by the public is a big

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for mpegvideoencdsp functions

2015-07-06 Thread Michael Niedermayer
On Mon, Jun 29, 2015 at 08:57:13PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > This patch adds MSA (MIPS-SIMD-Arch) optimizations for mpegvideoencdsp > functions in new file mpegvideoencdsp_msa.c > > Signed-off-by: Shivraj Patil > --- > libavcodec/mips/Makefile

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for me_cmp functions

2015-07-06 Thread Michael Niedermayer
On Mon, Jun 29, 2015 at 08:57:14PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > This patch adds MSA (MIPS-SIMD-Arch) optimizations for me_cmp functions in > new file me_cmp_msa.c > > Signed-off-by: Shivraj Patil > --- > libavcodec/me_cmp.c | 2 + > libavc

[FFmpeg-devel] [PATCH] movtextdec.c: Add support for highlight and hilightcolor box

2015-07-06 Thread Niklesh Lalwani
From: Niklesh Signed-off-by: Niklesh --- libavcodec/movtextdec.c | 254 +--- 1 file changed, 173 insertions(+), 81 deletions(-) diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c index a3afd91..7e9e4f5 100644 --- a/libavcodec/movtextdec.c

Re: [FFmpeg-devel] [PATCH 1/4] concatdec: add support for specifying inpoint of files

2015-07-06 Thread Nicolas George
L'octidi 18 messidor, an CCXXIII, Marton Balint a écrit : > Signed-off-by: Marton Balint > --- > doc/demuxers.texi | 17 + > libavformat/concatdec.c | 48 +++- > 2 files changed, 52 insertions(+), 13 deletions(-) I like the featur

Re: [FFmpeg-devel] [PATCH 2/4] concatdec: store eof condition in context

2015-07-06 Thread Nicolas George
L'octidi 18 messidor, an CCXXIII, Marton Balint a écrit : > This is needed later for outpoint support which may leave the last file in a > not-eof state. > > Signed-off-by: Marton Balint > --- > libavformat/concatdec.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) Ok. Regards

Re: [FFmpeg-devel] [PATCH 3/4] concatdec: add support for specifying outpoint of files

2015-07-06 Thread Nicolas George
L'octidi 18 messidor, an CCXXIII, Marton Balint a écrit : > Signed-off-by: Marton Balint > --- > doc/demuxers.texi | 13 + > libavformat/concatdec.c | 22 -- > 2 files changed, 33 insertions(+), 2 deletions(-) > > diff --git a/doc/demuxers.texi b/doc/demuxer

Re: [FFmpeg-devel] [PATCH] fate/api: simplify

2015-07-06 Thread James Almer
On 06/07/15 9:10 AM, George Boyle wrote: > This has a couple of implications for the running of these tests in > certain circumstances. Whether these circumstances are important or > realistic, I do not know. In particular, I tested by configuring with > "--disable-avformat" and in that case, "make

Re: [FFmpeg-devel] [PATCH 4/4] concatdec: add support for injecting packet metadata

2015-07-06 Thread Nicolas George
L'octidi 18 messidor, an CCXXIII, Marton Balint a écrit : > Signed-off-by: Marton Balint > --- > doc/demuxers.texi | 4 > libavformat/concatdec.c | 30 ++ > 2 files changed, 34 insertions(+) > > diff --git a/doc/demuxers.texi b/doc/demuxers.texi > index 4b

Re: [FFmpeg-devel] [PATCH 4/9] lavf/tcp: add tcp_accept

2015-07-06 Thread Nicolas George
Le sextidi 16 messidor, an CCXXIII, Stephan Holljes a écrit : > Signed-off-by: Stephan Holljes > --- > libavformat/tcp.c | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git a/libavformat/tcp.c b/libavformat/tcp.c > index f24cad2..71dff7a 100644 > --- a/libavformat/tcp.c >

Re: [FFmpeg-devel] [PATCH 4/9] lavf/tcp: add tcp_accept

2015-07-06 Thread Stephan Holljes
On Mon, Jul 6, 2015 at 7:58 PM, Nicolas George wrote: > Le sextidi 16 messidor, an CCXXIII, Stephan Holljes a écrit : >> Signed-off-by: Stephan Holljes >> --- >> libavformat/tcp.c | 18 ++ >> 1 file changed, 18 insertions(+) >> >> diff --git a/libavformat/tcp.c b/libavformat/tcp.

Re: [FFmpeg-devel] [PATCH 9/9] Add http multi-client example code

2015-07-06 Thread Nicolas George
Le sextidi 16 messidor, an CCXXIII, Stephan Holljes a écrit : > Yes, I tested it with multiple simultaneous wget instances and with > siege (a benchmark tool for webservers). Good. Although you should also test manually, with socat / nc / telnet. > I see that I missed closing the client context i

[FFmpeg-devel] Subject: [PATCH] libavcodec/qsv.c: Linux-only code part has been moved to separate function in order to avoid the "ISO C90 forbids mixed declarations and code" compiler warning.

2015-07-06 Thread Ivan Uskov
Hello All, Unfortunately, previous patch for libavcodec/qsv.c at the commit db89f45535aa3e99bceb5f6bf957c90e7ca39841 does initiate the compiler warning "ISO C90 forbids mixed declarations and code" under linux platform, because there is declaration block under preprocessor condition. Looks like i

Re: [FFmpeg-devel] [PATCH 1/4] avcodec: loongson remove useless macros in mipsfpu optimization

2015-07-06 Thread Michael Niedermayer
On Fri, Jul 03, 2015 at 06:10:41PM +0800, 周晓勇 wrote: > From be9c7fd9b3ddcba9c122c933717f54437d2e1c8a Mon Sep 17 00:00:00 2001 > From: ZhouXiaoyong > Date: Fri, 3 Jul 2015 15:59:00 +0800 > Subject: [PATCH 1/4] avcodec: loongson remove useless macros in mipsfpu > optimization > > > Loongson has d

Re: [FFmpeg-devel] [PATCH]Tell users about Closed Captions in video streams

2015-07-06 Thread Anshul
We had long disscussion last year for same thing, and i ended up in libavfilter movie, though i dont have any problem with this patch. We also used side data for same thing if u want u can look in that directions. my opinion would be to treat h264 caption in same way as it is treated in mpeg, m

[FFmpeg-devel] [PATCH] avcodec/libdcadec: export matrix encoding side data

2015-07-06 Thread James Almer
Signed-off-by: James Almer --- libavcodec/libdcadec.c | 21 + 1 file changed, 21 insertions(+) diff --git a/libavcodec/libdcadec.c b/libavcodec/libdcadec.c index 890d270..9d4b9e8 100644 --- a/libavcodec/libdcadec.c +++ b/libavcodec/libdcadec.c @@ -41,6 +41,7 @@ static int dca

Re: [FFmpeg-devel] [PATCH]Tell users about Closed Captions in video streams

2015-07-06 Thread Carl Eugen Hoyos
Anshul gmail.com> writes: > We had long disscussion last year for same thing, > and i ended up in libavfilter movie, Do you mean a discussion about telling users about Closed Captions in video streams or a discussion about patches to implement decoding of Closed Captions? I am (currently) on

Re: [FFmpeg-devel] [PATCH 1/4] concatdec: add support for specifying inpoint of files

2015-07-06 Thread Marton Balint
On Mon, 6 Jul 2015, Nicolas George wrote: L'octidi 18 messidor, an CCXXIII, Marton Balint a écrit : Signed-off-by: Marton Balint --- doc/demuxers.texi | 17 + libavformat/concatdec.c | 48 +++- 2 files changed, 52 insertions(+)

Re: [FFmpeg-devel] [PATCH] avfilter: add removegrain

2015-07-06 Thread James Darnley
On 2015-07-05 20:14, Paul B Mahol wrote: > + * TODO: add SIMD If you and nobody else is working assembly then I am volunteering (and have literally just started). signature.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing list ffmpe

Re: [FFmpeg-devel] [PATCH 3/4] concatdec: add support for specifying outpoint of files

2015-07-06 Thread Marton Balint
On Mon, 6 Jul 2015, Nicolas George wrote: L'octidi 18 messidor, an CCXXIII, Marton Balint a écrit : Signed-off-by: Marton Balint --- doc/demuxers.texi | 13 + libavformat/concatdec.c | 22 -- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH] movtextdec.c: Add support for highlight and hilightcolor box

2015-07-06 Thread Clément Bœsch
On Mon, Jul 06, 2015 at 10:27:47PM +0530, Niklesh Lalwani wrote: > From: Niklesh > > Signed-off-by: Niklesh > --- > libavcodec/movtextdec.c | 254 > +--- > 1 file changed, 173 insertions(+), 81 deletions(-) > > diff --git a/libavcodec/movtextdec.c b

Re: [FFmpeg-devel] [PATCH] avcodec/libdcadec: export matrix encoding side data

2015-07-06 Thread Hendrik Leppkes
On Mon, Jul 6, 2015 at 10:25 PM, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/libdcadec.c | 21 + > 1 file changed, 21 insertions(+) > > diff --git a/libavcodec/libdcadec.c b/libavcodec/libdcadec.c > index 890d270..9d4b9e8 100644 > --- a/libavcodec/libdc

Re: [FFmpeg-devel] [PATCH]Tell users about Closed Captions in video streams

2015-07-06 Thread Hendrik Leppkes
On Mon, Jul 6, 2015 at 6:32 PM, Carl Eugen Hoyos wrote: > On Monday 06 July 2015 06:18:14 pm Carl Eugen Hoyos wrote: >> Hendrik Leppkes gmail.com> writes: >> > > Attached patch adds "Closed Captions" to the codec >> > > dump if the video stream contains them. >> > >> > Adding fields to a public c

Re: [FFmpeg-devel] [PATCH] avfilter: add removegrain

2015-07-06 Thread Paul B Mahol
Dana 6. 7. 2015. 23:29 osoba "James Darnley" napisala je: > > On 2015-07-05 20:14, Paul B Mahol wrote: > > + * TODO: add SIMD > > If you and nobody else is working assembly then I am volunteering (and > have literally just started). The original, from VapourSynth. src/filters/removegrain have afa

Re: [FFmpeg-devel] [PATCH]Tell users about Closed Captions in video streams

2015-07-06 Thread Carl Eugen Hoyos
Hendrik Leppkes gmail.com> writes: > On Mon, Jul 6, 2015 at 6:32 PM, Carl Eugen Hoyos wrote: > > On Monday 06 July 2015 06:18:14 pm Carl Eugen Hoyos wrote: > >> Hendrik Leppkes gmail.com> writes: > >> > > Attached patch adds "Closed Captions" to the codec > >> > > dump if the video stream contai

Re: [FFmpeg-devel] [PATCH]Make jp2 output Kakadu-compatible

2015-07-06 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > > Attached patch makes the output of > > ffmpeg -i lena.pnm -strict -2 out.jp2 > > compatible with Kakadu, fixes ticket #4689. > > > > Please comment, Carl Eugen > > > j2kenc.c |1 + > > 1 file changed, 1 insertion(+) > > 7fe04b2a6ae6fc046144cc6d4879

Re: [FFmpeg-devel] [PATCH 4/4] concatdec: add support for injecting packet metadata

2015-07-06 Thread Marton Balint
On Mon, 6 Jul 2015, Nicolas George wrote: L'octidi 18 messidor, an CCXXIII, Marton Balint a écrit : Signed-off-by: Marton Balint --- doc/demuxers.texi | 4 libavformat/concatdec.c | 30 ++ 2 files changed, 34 insertions(+) diff --git a/doc/demuxers.t

Re: [FFmpeg-devel] [RFC]Add some docs for j2k encoding and remove experimental (instead of: Change the default j2k prediction to 5/3)

2015-07-06 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > > So instead I suggest the attached documentation > > update and the removal of the experimental flag. > > the docs change LGTM The documentation update was merged. I will probably send a patch for removal of strict soon. Carl Eugen ___

Re: [FFmpeg-devel] [PATCH]Silence a warning when decoding hap

2015-07-06 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > > hapdec.c |3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > 126826ea8c86d05606122d00f4f8d633829f94f9 patchhap.diff > > probably the call can be removed entirely but this > is strictly taken safer > LGTM The patch was merged. Thank you,

Re: [FFmpeg-devel] [PATCH] avcodec/libdcadec: export matrix encoding side data

2015-07-06 Thread James Almer
On 06/07/15 7:02 PM, Hendrik Leppkes wrote: > On Mon, Jul 6, 2015 at 10:25 PM, James Almer wrote: >> Signed-off-by: James Almer >> --- >> libavcodec/libdcadec.c | 21 + >> 1 file changed, 21 insertions(+) >> >> diff --git a/libavcodec/libdcadec.c b/libavcodec/libdcadec.c >> i

Re: [FFmpeg-devel] [PATCH] avfilter: add removegrain

2015-07-06 Thread James Darnley
On 2015-07-05 20:14, Paul B Mahol wrote: > +static int mode01(int c, int a1, int a2, int a3, int a4, int a5, int a6, int > a7, int a8) > +{ > +const int mi = FFMIN(FFMIN(FFMIN(a1, a2), FFMIN(a3, a4)), > FFMIN(FFMIN(a5, a6), FFMIN(a7, a8))); > +const int ma = FFMAX(FFMAX(FFMAX(a1, a2), FFM

Re: [FFmpeg-devel] [PATCH] avfilter: add removegrain

2015-07-06 Thread James Almer
On 05/07/15 3:14 PM, Paul B Mahol wrote: > +static int mode06(int c, int a1, int a2, int a3, int a4, int a5, int a6, int > a7, int a8) > +{ > +REMOVE_GRAIN_SORT_AXIS > + > +const int d1 = ma1 - mi1; > +const int d2 = ma2 - mi2; > +const int d3 = ma3 - mi3; > +const int d4 = ma4

Re: [FFmpeg-devel] [PATCH 2/4] concatdec: store eof condition in context

2015-07-06 Thread Michael Niedermayer
On Mon, Jul 06, 2015 at 07:26:11PM +0200, Nicolas George wrote: > L'octidi 18 messidor, an CCXXIII, Marton Balint a écrit : > > This is needed later for outpoint support which may leave the last file in a > > not-eof state. > > > > Signed-off-by: Marton Balint > > --- > > libavformat/concatdec.c

Re: [FFmpeg-devel] [PATCH 2/4] use mmi instead of loongson3 as simd-optimization flag

2015-07-06 Thread Michael Niedermayer
On Fri, Jul 03, 2015 at 06:11:27PM +0800, 周晓勇 wrote: > From 0b953ff84cce87c2b988852aa59c899e2fa23309 Mon Sep 17 00:00:00 2001 > From: ZhouXiaoyong > Date: Fri, 3 Jul 2015 16:27:48 +0800 > Subject: [PATCH 2/4] use mmi instead of loongson3 as simd-optimization flag applied thanks [...] -- Michae

Re: [FFmpeg-devel] [PATCH 3/4] configure: add loongson2 cpu support

2015-07-06 Thread Michael Niedermayer
On Fri, Jul 03, 2015 at 06:12:07PM +0800, 周晓勇 wrote: > From c6c4faaab7c598ce0fb6f7a4afab825f7a86 Mon Sep 17 00:00:00 2001 > From: ZhouXiaoyong > Date: Fri, 3 Jul 2015 16:44:12 +0800 > Subject: [PATCH 3/4] configure: add loongson2 cpu support applied thanks [...] -- Michael GnuPG fingerp

Re: [FFmpeg-devel] [PATCH] avfilter: add removegrain

2015-07-06 Thread Paul B Mahol
Dana 7. 7. 2015. 01:36 osoba "James Darnley" napisala je: > > On 2015-07-05 20:14, Paul B Mahol wrote: > > +static int mode01(int c, int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8) > > +{ > > +const int mi = FFMIN(FFMIN(FFMIN(a1, a2), FFMIN(a3, a4)), FFMIN(FFMIN(a5, a6), FFMIN(

Re: [FFmpeg-devel] [RFC]Add some docs for j2k encoding and remove experimental (instead of: Change the default j2k prediction to 5/3)

2015-07-06 Thread Paul B Mahol
Dana 7. 7. 2015. 00:25 osoba "Carl Eugen Hoyos" napisala je: > > Michael Niedermayer gmx.at> writes: > > > > So instead I suggest the attached documentation > > > update and the removal of the experimental flag. > > > > the docs change LGTM > > The documentation update was merged. > > I will prob

[FFmpeg-devel] [PATCH 1/2] avcodec/libdcadec: export matrix encoding side data

2015-07-06 Thread James Almer
Signed-off-by: James Almer --- libavcodec/libdcadec.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/libavcodec/libdcadec.c b/libavcodec/libdcadec.c index 890d270..4bc3765 100644 --- a/libavcodec/libdcadec.c +++ b/libavcodec/libdcadec.c @@ -41,6 +41,7 @@ static int dcade

[FFmpeg-devel] [PATCH 2/2] avcodev/libdcadec: implement request_channel_layout

2015-07-06 Thread James Almer
Signed-off-by: James Almer --- libavcodec/libdcadec.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/libavcodec/libdcadec.c b/libavcodec/libdcadec.c index 4bc3765..796826e 100644 --- a/libavcodec/libdcadec.c +++ b/libavcodec/libdcadec.c @@ -36,6 +36,8 @@ t