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 michae...@gmx.at 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 michae...@gmx.at --- libavcodec/v410enc.c |2 +-

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

[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 michae...@gmx.at --- 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

[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 michae...@gmx.at --- libavcodec/v410enc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/v410enc.c

[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 michae...@gmx.at --- 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

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 michae...@gmx.at 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

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 michae...@gmx.at wrote: Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavcodec/internal.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 2feb68b..c410f8b 100644

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 h.lepp...@gmail.com wrote: On Mon, Jul 6, 2015 at 12:07 PM, Michael Niedermayer michae...@gmx.at wrote: Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavcodec/internal.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/internal.h

[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 zhouxiaoy...@loongson.cn Date: Mon, 6 Jul 2015 09:42:17 +0800 Subject: [PATCH 1/2] configure: loongson enabled local aligned 32 Signed-off-by: ZhouXiaoyong zhouxiaoy...@loongson.cn --- configure | 2 +- 1

[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 zhouxiaoy...@loongson.cn 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 zhouxiaoy...@loongson.cn ---

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 b...@it-entwicklung.de 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

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

2015-07-06 Thread Carl Eugen Hoyos
Paul B Mahol onemda at 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

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 3/3] swscale: ayuv16le output support

2015-07-06 Thread Carl Eugen Hoyos
Paul B Mahol onemda at 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 2/3] swscale: ayuv16 input support

2015-07-06 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos at 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

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 API

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 zhouxiaoy...@loongson.cn Date: Fri, 3 Jul 2015 16:56:01 +0800 Subject: [PATCH 4/4] avcodec: loongson optimized h264pred with mmi Signed-off-by:

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

2015-07-06 Thread Carl Eugen Hoyos
Paul B Mahol onemda at 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;-)

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 one...@gmail.com --- libswscale/output.c | 48 libswscale/utils.c

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 b...@it-entwicklung.de 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

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 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 ceho...@ag.or.at wrote: Paul B Mahol onemda at 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 ceho...@ag.or.at wrote: Paul B Mahol onemda at 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

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

2015-07-06 Thread Paul B Mahol
On 7/6/15, Carl Eugen Hoyos ceho...@ag.or.at wrote: Carl Eugen Hoyos cehoyos at 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.

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 one...@gmail.com --- libswscale/output.c | 48 libswscale/utils.c | 2 +- tests/ref/fate/filter-pixfmts-copy | 1 +

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 thanks

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

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

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 menu) 7.enter

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

2015-07-06 Thread Paul B Mahol
Signed-off-by: Paul B Mahol one...@gmail.com --- 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 ---

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

2015-07-06 Thread James Almer
Signed-off-by: James Almer jamr...@gmail.com --- 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

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

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

2015-07-06 Thread Carl Eugen Hoyos
Anshul anshul.ffmpeg at 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

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

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 c...@passwd.hu --- doc/demuxers.texi | 13 + libavformat/concatdec.c | 22 -- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/doc/demuxers.texi

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 fate

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,

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 h.leppkes at 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 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 klaxa1...@googlemail.com --- libavformat/tcp.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/libavformat/tcp.c b/libavformat/tcp.c index f24cad2..71dff7a 100644 ---

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

2015-07-06 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos at 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
Hendrik Leppkes h.leppkes at 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 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 c...@passwd.hu --- doc/demuxers.texi | 17 + libavformat/concatdec.c | 48 +++- 2 files changed, 52 insertions(+), 13 deletions(-) I like

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

2015-07-06 Thread Niklesh Lalwani
From: Niklesh niklesh.lalw...@iitb.ac.in Signed-off-by: Niklesh niklesh.lalw...@iitb.ac.in --- libavcodec/movtextdec.c | 254 +--- 1 file changed, 173 insertions(+), 81 deletions(-) diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c index

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 c...@passwd.hu --- doc/demuxers.texi | 4 libavformat/concatdec.c | 30 ++ 2 files changed, 34 insertions(+) diff --git a/doc/demuxers.texi b/doc/demuxers.texi

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 shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for mpegvideoencdsp functions in new file mpegvideoencdsp_msa.c Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com

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 c...@passwd.hu --- libavformat/concatdec.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) Ok.

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 geo...@nsup.org wrote: Le sextidi 16 messidor, an CCXXIII, Stephan Holljes a écrit : Signed-off-by: Stephan Holljes klaxa1...@googlemail.com --- libavformat/tcp.c | 18 ++ 1 file changed, 18 insertions(+) diff --git

[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 it

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 zhouxiaoy...@loongson.cn Date: Fri, 3 Jul 2015 15:59:00 +0800 Subject: [PATCH 1/4] avcodec: loongson remove useless macros in mipsfpu optimization

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 c...@passwd.hu ---

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 jamr...@gmail.com wrote: Signed-off-by: James Almer jamr...@gmail.com --- libavcodec/libdcadec.c | 21 + 1 file changed, 21 insertions(+) diff --git a/libavcodec/libdcadec.c

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),

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 - mi4;

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 jamr...@gmail.com wrote: Signed-off-by: James Almer jamr...@gmail.com --- libavcodec/libdcadec.c | 21 + 1 file changed, 21 insertions(+) diff --git a/libavcodec/libdcadec.c b/libavcodec/libdcadec.c index 890d270..9d4b9e8

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

2015-07-06 Thread Carl Eugen Hoyos
Michael Niedermayer michaelni at 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(+)

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

2015-07-06 Thread Carl Eugen Hoyos
Michael Niedermayer michaelni at 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

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

2015-07-06 Thread Paul B Mahol
Dana 6. 7. 2015. 23:29 osoba James Darnley james.darn...@gmail.com 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.

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 c...@passwd.hu --- doc/demuxers.texi | 4 libavformat/concatdec.c | 30 ++ 2 files changed, 34 insertions(+) diff --git

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 michaelni at 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] 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 niklesh.lalw...@iitb.ac.in Signed-off-by: Niklesh niklesh.lalw...@iitb.ac.in --- libavcodec/movtextdec.c | 254 +--- 1 file changed, 173 insertions(+), 81

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 ceho...@ag.or.at wrote: On Monday 06 July 2015 06:18:14 pm Carl Eugen Hoyos wrote: Hendrik Leppkes h.leppkes at gmail.com writes: Attached patch adds Closed Captions to the codec dump if the video stream contains them. Adding fields to a

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

2015-07-06 Thread Carl Eugen Hoyos
Hendrik Leppkes h.leppkes at 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 h.leppkes at gmail.com writes: Attached patch adds Closed Captions to the codec dump if the video stream

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

2015-07-06 Thread Paul B Mahol
Dana 7. 7. 2015. 01:36 osoba James Darnley james.darn...@gmail.com 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)),

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 ceho...@ag.or.at napisala je: Michael Niedermayer michaelni at 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

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

2015-07-06 Thread Bernd Blessmann
Am 25.06.2015 um 16:20 schrieb Bernd Blessmann: 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

[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

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 ceho...@ag.or.at 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