[FFmpeg-devel] DXVA Question.

2015-04-26 Thread Anton Fedchin
Hi, I'm working on porting our project Kodi to DirectX11. We also use ffmpeg and I've implemented patch to ffmpeg dxva related code to work with d3d11 video API. It works good. Before we send the patch we have a question. Question is what you prefer a configure switch or something else? _

Re: [FFmpeg-devel] DXVA Question.

2015-04-26 Thread Hendrik Leppkes
On Sun, Apr 26, 2015 at 8:45 AM, Anton Fedchin wrote: > Hi, > > I'm working on porting our project Kodi to DirectX11. We also use ffmpeg > and I've implemented patch to ffmpeg dxva related code to work with d3d11 > video API. It works good. Before we send the patch we have a question. > > Question

Re: [FFmpeg-devel] [PATCH] Using struct for StyleRecords and implementing support for large boxes(>32 bit) for 3gpp timed text

2015-04-26 Thread Niklesh Lalwani
On 26-Apr-2015 10:46 AM, "Philip Langdale" wrote: > > On Sun, 26 Apr 2015 05:04:07 +0200 > Michael Niedermayer wrote: > > > On Sun, Apr 26, 2015 at 08:22:56AM +0530, Niklesh Lalwani wrote: > > > On Sun, Apr 26, 2015 at 6:56 AM, Michael Niedermayer > > > > > > > wrote: > > > > > > > >> > > > >> >

Re: [FFmpeg-devel] [PATCH] libavcodec/exr.c : exr lossy compression B44 added

2015-04-26 Thread Michael Niedermayer
On Sun, Apr 26, 2015 at 11:11:58AM +0530, greeshma wrote: > Updated Patch [...] > 0001-exr-lossy-compression-B44-added.patch | 151 > + > 1 file changed, 151 insertions(+) > 0efe2282ed40546e0736c2e46f092a9ddd2c5808 > 0001-B44-compression-techinique-added.patch > F

Re: [FFmpeg-devel] [PATCH] Using struct for StyleRecords and implementing support for large boxes(>32 bit) for 3gpp timed text

2015-04-26 Thread wm4
On Sun, 26 Apr 2015 08:33:34 +0530 Niklesh Lalwani wrote: > > > > > > > > On Sun, Apr 26, 2015 at 7:05 AM, Carl Eugen Hoyos > > wrote: > > > > Niklesh Lalwani iitb.ac.in> writes: > > > > > >> > +if ((text_style + i)->face_style_flags > > > > > >> This looks very strange imo... >

Re: [FFmpeg-devel] DXVA Question.

2015-04-26 Thread Matt Oliver
On 26 April 2015 at 18:01, Hendrik Leppkes wrote: > On Sun, Apr 26, 2015 at 8:45 AM, Anton Fedchin wrote: > > Hi, > > > > I'm working on porting our project Kodi to DirectX11. We also use ffmpeg > > and I've implemented patch to ffmpeg dxva related code to work with d3d11 > > video API. It works

[FFmpeg-devel] [PATCH] avfoundation: do not report an I/O error if devices are listed

2015-04-26 Thread Thomas Volkert
From: ThomasVolkert --- libavdevice/avfoundation.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index 763e675..aa8e825 100644 --- a/libavdevice/avfoundation.m +++ b/libavdevice/avfoundation.m @@ -708,7 +708,9 @@ st

Re: [FFmpeg-devel] DXVA Question.

2015-04-26 Thread Hendrik Leppkes
On Sun, Apr 26, 2015 at 12:52 PM, Matt Oliver wrote: > On 26 April 2015 at 18:01, Hendrik Leppkes wrote: > >> On Sun, Apr 26, 2015 at 8:45 AM, Anton Fedchin wrote: >> > Hi, >> > >> > I'm working on porting our project Kodi to DirectX11. We also use ffmpeg >> > and I've implemented patch to ffmpe

Re: [FFmpeg-devel] [PATCH] libavcodec/exr.c : exr lossy compression B44 added

2015-04-26 Thread greeshma
Sorry,My mistake New patch attached. Greeshma On Sun, Apr 26, 2015 at 3:42 PM, Michael Niedermayer wrote: > On Sun, Apr 26, 2015 at 11:11:58AM +0530, greeshma wrote: > > Updated Patch > > [...] > > > 0001-exr-lossy-compression-B44-added.patch | 151 > + > > 1 fi

Re: [FFmpeg-devel] [PATCH] Using struct for StyleRecords and implementing support for large boxes(>32 bit) for 3gpp timed text

2015-04-26 Thread Niklesh Lalwani
On 26-Apr-2015 4:00 PM, "wm4" wrote: > > > We usually write: text_style[i].face_style_flags > > It's the same. Got it. Thank you. :) -Niklesh ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] libavcodec/exr.c : exr lossy compression B44 added

2015-04-26 Thread Michael Niedermayer
On Sun, Apr 26, 2015 at 05:55:55PM +0530, greeshma wrote: > Sorry,My mistake > New patch attached. segfaults with ./ffmpeg_g -i FFmpeg_Logo_B44_HalfRGBA.exr -f null - [...] ==22198== Invalid write of size 2 ==22198==at 0x4C2E1B4: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:877) ==22198==by 0x7

Re: [FFmpeg-devel] [PATCH] Using struct for StyleRecords and implementing support for large boxes(>32 bit) for 3gpp timed text

2015-04-26 Thread Philip Langdale
On Sun, 26 Apr 2015 14:32:31 +0530 Niklesh Lalwani wrote: > On 26-Apr-2015 10:46 AM, "Philip Langdale" wrote: > > No problem. I had never used packed structs before so it was good to > learn about them. So should I just post the patch for implementing > support for large boxes for now? Yes ple

[FFmpeg-devel] [PATCH 1/2] tests/subtitles: fix microdvd crlf in ref

2015-04-26 Thread Clément Bœsch
--- tests/ref/fate/sub-microdvd | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/ref/fate/sub-microdvd b/tests/ref/fate/sub-microdvd index 4a2e00c..d2170bc 100644 --- a/tests/ref/fate/sub-microdvd +++ b/tests/ref/fate/sub-microdvd @@ -7,12 +7,12 @@ PlayResY: 2

[FFmpeg-devel] [PATCH 2/2] tests: make sure subtitles test are run with a rawdiff

2015-04-26 Thread Clément Bœsch
This will test properly CRLF with make fate and any make fate-sub-* test. The rawdiff was currently triggered only by make fate-subtitles. --- tests/fate/subtitles.mak | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/fate/subtitles.mak b/tests/fate/subtitles.mak index 53cd4cb..3f9a3af 1

Re: [FFmpeg-devel] [PATCH 2/2] tests: make sure subtitles test are run with a rawdiff

2015-04-26 Thread Michael Niedermayer
On Sun, Apr 26, 2015 at 07:30:59PM +0200, Clément Bœsch wrote: > This will test properly CRLF with make fate and any make fate-sub-* > test. The rawdiff was currently triggered only by make fate-subtitles. > --- > tests/fate/subtitles.mak | 2 ++ > 1 file changed, 2 insertions(+) fails with: @@

Re: [FFmpeg-devel] [PATCH] avfoundation: do not report an I/O error if devices are listed

2015-04-26 Thread Thilo Borgmann
Am 26.04.15 um 12:59 schrieb Thomas Volkert: > From: ThomasVolkert > > --- > libavdevice/avfoundation.m | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m > index 763e675..aa8e825 100644 > --- a/libavdevice/avfound

Re: [FFmpeg-devel] [PATCH 2/2] tests: make sure subtitles test are run with a rawdiff

2015-04-26 Thread Clément Bœsch
On Sun, Apr 26, 2015 at 08:36:28PM +0200, Michael Niedermayer wrote: > On Sun, Apr 26, 2015 at 07:30:59PM +0200, Clément Bœsch wrote: > > This will test properly CRLF with make fate and any make fate-sub-* > > test. The rawdiff was currently triggered only by make fate-subtitles. > > --- > > tests

Re: [FFmpeg-devel] [PATCH 2/2] tests: make sure subtitles test are run with a rawdiff

2015-04-26 Thread Michael Niedermayer
On Sun, Apr 26, 2015 at 08:55:02PM +0200, Clément Bœsch wrote: > On Sun, Apr 26, 2015 at 08:36:28PM +0200, Michael Niedermayer wrote: > > On Sun, Apr 26, 2015 at 07:30:59PM +0200, Clément Bœsch wrote: > > > This will test properly CRLF with make fate and any make fate-sub-* > > > test. The rawdiff

Re: [FFmpeg-devel] [PATCH 2/2] tests: make sure subtitles test are run with a rawdiff

2015-04-26 Thread Michael Niedermayer
On Sun, Apr 26, 2015 at 10:07:09PM +0200, Michael Niedermayer wrote: > On Sun, Apr 26, 2015 at 08:55:02PM +0200, Clément Bœsch wrote: > > On Sun, Apr 26, 2015 at 08:36:28PM +0200, Michael Niedermayer wrote: > > > On Sun, Apr 26, 2015 at 07:30:59PM +0200, Clément Bœsch wrote: > > > > This will test

Re: [FFmpeg-devel] [PATCH 2/2] tests: make sure subtitles test are run with a rawdiff

2015-04-26 Thread Clément Bœsch
On Sun, Apr 26, 2015 at 10:18:24PM +0200, Michael Niedermayer wrote: > On Sun, Apr 26, 2015 at 10:07:09PM +0200, Michael Niedermayer wrote: > > On Sun, Apr 26, 2015 at 08:55:02PM +0200, Clément Bœsch wrote: > > > On Sun, Apr 26, 2015 at 08:36:28PM +0200, Michael Niedermayer wrote: > > > > On Sun, A

Re: [FFmpeg-devel] [PATCH 2/2] tests: make sure subtitles test are run with a rawdiff

2015-04-26 Thread Clément Bœsch
On Sun, Apr 26, 2015 at 10:30:14PM +0200, Clément Bœsch wrote: > On Sun, Apr 26, 2015 at 10:18:24PM +0200, Michael Niedermayer wrote: > > On Sun, Apr 26, 2015 at 10:07:09PM +0200, Michael Niedermayer wrote: > > > On Sun, Apr 26, 2015 at 08:55:02PM +0200, Clément Bœsch wrote: > > > > On Sun, Apr 26,

Re: [FFmpeg-devel] [PATCH 2/2] tests: make sure subtitles test are run with a rawdiff

2015-04-26 Thread Michael Niedermayer
On Sun, Apr 26, 2015 at 10:34:49PM +0200, Clément Bœsch wrote: > On Sun, Apr 26, 2015 at 10:30:14PM +0200, Clément Bœsch wrote: > > On Sun, Apr 26, 2015 at 10:18:24PM +0200, Michael Niedermayer wrote: > > > On Sun, Apr 26, 2015 at 10:07:09PM +0200, Michael Niedermayer wrote: > > > > On Sun, Apr 26,

[FFmpeg-devel] [PATCH 1/2] Support for large boxes(>32 bit) for 3gpp timed text

2015-04-26 Thread Niklesh Lalwani
From: Niklesh Signed-off-by: Niklesh --- libavcodec/movtextdec.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c index ab4efdb..a5d995d 100644 --- a/libavcodec/movtextdec.c +++ b/libavcodec/movtextdec.c @@ -96,7 +96,9

[FFmpeg-devel] [PATCH 2/2] Using size_t* instead of int** for dynarrays

2015-04-26 Thread Niklesh Lalwani
From: Niklesh Signed-off-by: Niklesh --- libavcodec/movtextdec.c | 45 - 1 file changed, 20 insertions(+), 25 deletions(-) diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c index a5d995d..ad1d324 100644 --- a/libavcodec/movtextdec.c +++

[FFmpeg-devel] [PATCH] avcodec/ffv1enc: Store the picture dimensions in v3.5+

2015-04-26 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c |6 -- tests/ref/seek/vsynth_lena-ffv1 | 40 ++--- tests/ref/vsynth/vsynth1-ffv1 |4 ++-- tests/ref/vsynth/vsynth2-ffv1 |4 ++-- tests/ref/vsynth/vsynth3-ffv1 |

Re: [FFmpeg-devel] Loongson Optimization Patchs and Machine Express Issuse

2015-04-26 Thread Michael Niedermayer
On Sun, Apr 26, 2015 at 11:38:10AM +0800, 周晓勇 wrote: > HAVE_LOONGSON is insteaded by HAVE_LOONGSON3. Even Loongson-2E and 2F support > Loongson SIMD instructs but have low performance for decoding. We plan to > fucus on optimizing Loongson-3A1000, 3B1500 and 3A1500, and modify the > configure fi

Re: [FFmpeg-devel] [PATCH 2/2] Using size_t* instead of int** for dynarrays

2015-04-26 Thread Michael Niedermayer
On Mon, Apr 27, 2015 at 04:56:45AM +0530, Niklesh Lalwani wrote: > From: Niklesh > > Signed-off-by: Niklesh > --- > libavcodec/movtextdec.c | 45 - > 1 file changed, 20 insertions(+), 25 deletions(-) this doesnt apply cleanly (can be applied with pat

Re: [FFmpeg-devel] [PATCH 2/2] Using size_t* instead of int** for dynarrays

2015-04-26 Thread Niklesh Lalwani
On Mon, Apr 27, 2015 at 7:10 AM, Michael Niedermayer >> wrote: >> >> > From: Niklesh >> > >> > Signed-off-by: Niklesh >> > --- >> > libavcodec/movtextdec.c | 45 >> - >> > 1 file changed, 20 insertions(+), 25 deletions(-) >> this doesnt apply cleanly

Re: [FFmpeg-devel] Loongson Optimization Patchs and Machine Express Issuse

2015-04-26 Thread 周晓勇
The imgtec's msa optimization had changed the Makefile earlier than me, it's ok now. > -原始邮件- > 发件人: "Michael Niedermayer" > 发送时间: 2015年4月25日 星期六 > 收件人: "FFmpeg development discussions and patches" > 抄送: gaoxiang , "孟小甫" > 主题: Re: [FFmpeg-devel] Loongson Optimization Patchs and Machin

Re: [FFmpeg-devel] [PATCH 1/3] avformat/avio: add resizeable field to AVIOContext

2015-04-26 Thread Michael Niedermayer
On Tue, Apr 21, 2015 at 02:23:19PM +0200, wm4 wrote: > On Tue, 21 Apr 2015 13:22:00 +0200 > Michael Niedermayer wrote: > > > This indicates that its safe to use av_free/av_malloc on the IO context > > > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/avio.h|7 +++ > >

Re: [FFmpeg-devel] [PATCH 2/2] Using size_t* instead of int** for dynarrays

2015-04-26 Thread Michael Niedermayer
On Mon, Apr 27, 2015 at 07:33:59AM +0530, Niklesh Lalwani wrote: > On Mon, Apr 27, 2015 at 7:10 AM, Michael Niedermayer > >> wrote: > >> > >> > From: Niklesh > >> > > >> > Signed-off-by: Niklesh > >> > --- > >> > libavcodec/movtextdec.c | 45 > >> - >

[FFmpeg-devel] [PATCH] Using size_t* instead of int** for dynarrays and add support for large boxes

2015-04-26 Thread Niklesh Lalwani
From: Niklesh Signed-off-by: Niklesh --- libavcodec/movtextdec.c | 54 + 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c index 3059599..b134ac5 100644 --- a/libavcodec/movtextdec.c

Re: [FFmpeg-devel] [PATCH] Using size_t* instead of int** for dynarrays and add support for large boxes

2015-04-26 Thread Niklesh Lalwani
This patch should apply properly. This contains both the patches- support for large boxes, and using size_t for dynarrays. I found out that the earlier patches was created against a branch which had a single line different from the master. Hence, the patch didn't apply. My bad. Apologies for the in

[FFmpeg-devel] Patch[1/2] to fix bug for PPC LE in file libswscale/ppc/swscale_altivec.c

2015-04-26 Thread rongyan
Hi, GCC tool has a bug of PPC intrinsic interpret, which has been fixed in GCC 4.9.1. This bug lead to errors in two of our previous patches. We found this when we update our GCC tools to 4.9.1 and by reading the related info on GCC website. We fix our previous error in two seperate patches: 1.

Re: [FFmpeg-devel] DXVA Question.

2015-04-26 Thread Anton Fedchin
Hendrik Leppkes gmail.com> writes: > > On Sun, Apr 26, 2015 at 8:45 AM, Anton Fedchin gmail.com> wrote: > > Hi, > > > > I'm working on porting our project Kodi to DirectX11. We also use ffmpeg > > and I've implemented patch to ffmpeg dxva related code to work with d3d11 > > video API. It work

[FFmpeg-devel] Patch[1/2]: Fix bug for PPC LE in file libswscale/ppc/swscale_altivec.c

2015-04-26 Thread rongyan
Hi, GCC tool has a bug of PPC intrinsic interpret, which has been fixed in GCC 4.9.1. This bug lead to errors in two of our previous patches. We found this when we update our GCC tools to 4.9.1 and by reading the related info on GCC website. We fix our previous error in two seperate patches: 1.

[FFmpeg-devel] Patch[2/2]: Fix bug for PPC LE in file libavcodec/ppc/fdctdsp.c

2015-04-26 Thread rongyan
Hi, GCC tool has a bug of PPC intrinsic interpret, which has been fixed in GCC 4.9.1. This bug lead to errors in two of our previous patches. We found this when we update our GCC tools to 4.9.1 and by reading the related info on GCC website. We fix our previous error in two seperate patches: 1.