Re: [libav-devel] [PATCH] lavc: set the default rc_initial_buffer_occupancy

2013-01-11 Thread Luca Barbato
On 12/01/13 04:31, Luca Barbato wrote: > @@ -824,6 +824,9 @@ int attribute_align_arg avcodec_open2(AVCodecContext > *avctx, const AVCodec *code > } else if (avctx->channel_layout) { > avctx->channels = > av_get_channel_layout_nb_channels(avctx->channel_layout); > }

[libav-devel] [PATCH] ratecontrol: K&R cosmetic formatting

2013-01-11 Thread Luca Barbato
--- Please review in patch form. libavcodec/ratecontrol.c | 963 ++- 1 file changed, 525 insertions(+), 438 deletions(-) diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index e0b6e9b..0aecbc1 100644 --- a/libavcodec/ratecontrol.c +++

[libav-devel] [PATCH] lavc: set the default rc_initial_buffer_occupancy

2013-01-11 Thread Luca Barbato
rc_buffer_size is not set before. Solve the initial the rate control underflow issue reported in bug 222. CC: libav-sta...@libav.org --- avconv_opt.c | 2 -- libavcodec/utils.c | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/avconv_opt.c b/avconv_opt.c index ce32df6

Re: [libav-devel] [PATCH] lavfi: Add the alength audio length filter.

2013-01-11 Thread Justin Ruggles
On 01/11/2013 06:06 PM, Justin Ruggles wrote: > From: Alex Converse > > Signed-off-by: Justin Ruggles > --- > Fixed parsing of length string. > > doc/filters.texi | 34 +++ > libavfilter/Makefile |1 + > libavfilter/af_alength.c | 217 > +

[libav-devel] [PATCH] lavfi: Add the alength audio length filter.

2013-01-11 Thread Justin Ruggles
From: Alex Converse Signed-off-by: Justin Ruggles --- Fixed parsing of length string. doc/filters.texi | 34 +++ libavfilter/Makefile |1 + libavfilter/af_alength.c | 217 ++ libavfilter/allfilters.c |1 + libavfilter/versi

[libav-devel] [PATCH] lavfi: Add the alength audio length filter.

2013-01-11 Thread Justin Ruggles
From: Alex Converse Signed-off-by: Justin Ruggles --- doc/filters.texi | 34 +++ libavfilter/Makefile |1 + libavfilter/af_alength.c | 215 ++ libavfilter/allfilters.c |1 + libavfilter/version.h|2 +- 5 files change

[libav-devel] [PATCH 6/6] vdpau: add VC-1 hardware decoding via hwaccel

2013-01-11 Thread Rémi Denis-Courmont
--- configure |2 + libavcodec/Makefile|2 + libavcodec/allcodecs.c |2 + libavcodec/vdpau_vc1.c | 127 4 files changed, 133 insertions(+) create mode 100644 libavcodec/vdpau_vc1.c diff --git a/configure b/configure i

[libav-devel] [PATCH 4/6] vdpau: add H.264 decoding using hwaccel infrastructure

2013-01-11 Thread Rémi Denis-Courmont
--- configure |1 + libavcodec/Makefile |1 + libavcodec/allcodecs.c |1 + libavcodec/vdpau_h264.c | 194 +++ 4 files changed, 197 insertions(+) create mode 100644 libavcodec/vdpau_h264.c diff --git a/configure b/configu

[libav-devel] [PATCH 5/6] vdpau: add MPEG4 decoding through hwaccel

2013-01-11 Thread Rémi Denis-Courmont
--- configure|2 + libavcodec/Makefile |2 + libavcodec/allcodecs.c |2 + libavcodec/vdpau_mpeg4.c | 108 ++ 4 files changed, 114 insertions(+) create mode 100644 libavcodec/vdpau_mpeg4.c diff --git a/configure b/con

[libav-devel] [PATCH 3/6] vdpau: add MPEG-1/2 decoding using hwaccel infrastructure

2013-01-11 Thread Rémi Denis-Courmont
--- configure |2 + libavcodec/Makefile |2 + libavcodec/allcodecs.c|2 + libavcodec/mpegvideo.c|1 + libavcodec/vdpau_mpeg12.c | 114 + 5 files changed, 121 insertions(+) create mode 100644 libavcodec/vdpa

[libav-devel] [PATCH 2/6] vdpau: add common helpers for hwaccel support

2013-01-11 Thread Rémi Denis-Courmont
--- libavcodec/vdpau.c | 49 ++ libavcodec/vdpau.h | 69 +++ libavcodec/vdpau_internal.h | 15 ++ 3 files changed, 127 insertions(+), 6 deletions(-) diff --git a/libavcodec/vdpau.c b/libavcodec/vdp

[libav-devel] [PATCH 1/6] pixfmt: add picture format for VDPAU

2013-01-11 Thread Rémi Denis-Courmont
--- libavutil/pixdesc.c |6 ++ libavutil/pixfmt.h |1 + 2 files changed, 7 insertions(+) diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 06d5def..df906ac 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -1359,6 +1359,12 @@ const AVPixFmtDescriptor av_pix_fm

Re: [libav-devel] [PATCH 4/6] vdpau: add MPEG-1/2 decoding using hwaccel infrastructure

2013-01-11 Thread Rémi Denis-Courmont
Le vendredi 11 janvier 2013 22:06:02, Diego Biurrun a écrit : > On Fri, Jan 11, 2013 at 08:33:21PM +0200, Rémi Denis-Courmont wrote: > > --- a/configure > > +++ b/configure > > @@ -1608,10 +1608,12 @@ h264_vaapi_hwaccel_select="vaapi h264_decoder" > > > > h264_vda_hwaccel_select="vda h264_decoder

[libav-devel] [PATCH 0/6] VDPAU hwaccel integration (take 4)

2013-01-11 Thread Rémi Denis-Courmont
The following changes since commit d11cb13b0ef02fb1c303b29805819f6e1c9dc61b: configure: enable pic for shared libs on AArch64 (2013-01-11 11:01:05 +0200) are hopefully clean up to cce5941a62da85e66505446c7e9e824549f004be: vdpau: add VC-1 hardware decoding via hwaccel (2013-01-11 23:23:38 +02

Re: [libav-devel] [PATCH 3/6] vdpau: add common helpers for hwaccel support

2013-01-11 Thread Rémi Denis-Courmont
Le vendredi 11 janvier 2013 22:01:13, Diego Biurrun a écrit : > On Fri, Jan 11, 2013 at 08:33:20PM +0200, Rémi Denis-Courmont wrote: > > --- a/libavcodec/vdpau.c > > +++ b/libavcodec/vdpau.c > > @@ -38,6 +38,55 @@ > > +int ff_vdpau_common_end_frame(AVCodecContext *avctx) > > +{ > > +MpegEncCont

Re: [libav-devel] [PATCH 4/6] vdpau: add MPEG-1/2 decoding using hwaccel infrastructure

2013-01-11 Thread Diego Biurrun
On Fri, Jan 11, 2013 at 08:33:21PM +0200, Rémi Denis-Courmont wrote: > --- a/configure > +++ b/configure > @@ -1608,10 +1608,12 @@ h264_vaapi_hwaccel_select="vaapi h264_decoder" > h264_vda_hwaccel_select="vda h264_decoder" > h264_vdpau_decoder_select="vdpau h264_decoder" > mpeg_vdpau_decoder_sel

Re: [libav-devel] [PATCH 6/6] vdpau: add MPEG4 decoding through hwaccel

2013-01-11 Thread Diego Biurrun
On Fri, Jan 11, 2013 at 08:33:23PM +0200, Rémi Denis-Courmont wrote: > --- a/configure > +++ b/configure > @@ -1616,6 +1617,7 @@ mpeg2_dxva2_hwaccel_select="dxva2 mpeg2video_decoder" > mpeg2_vaapi_hwaccel_select="vaapi mpeg2video_decoder" > mpeg2_vdpau_hwaccel_select="vdpau mpeg2video_decoder" >

Re: [libav-devel] [PATCH 5/6] vdpau: add H.264 decoding using hwaccel infrastructure

2013-01-11 Thread Diego Biurrun
On Fri, Jan 11, 2013 at 08:33:22PM +0200, Rémi Denis-Courmont wrote: > --- a/configure > +++ b/configure > @@ -1606,6 +1606,7 @@ h264_dxva2_hwaccel_deps="dxva2api_h" > h264_dxva2_hwaccel_select="dxva2 h264_decoder" > h264_vaapi_hwaccel_select="vaapi h264_decoder" > h264_vda_hwaccel_select="vda h

Re: [libav-devel] [PATCH 4/6] vdpau: add MPEG-1/2 decoding using hwaccel infrastructure

2013-01-11 Thread Diego Biurrun
On Fri, Jan 11, 2013 at 08:33:21PM +0200, Rémi Denis-Courmont wrote: > --- a/configure > +++ b/configure > @@ -1608,10 +1608,12 @@ h264_vaapi_hwaccel_select="vaapi h264_decoder" > h264_vda_hwaccel_select="vda h264_decoder" > h264_vdpau_decoder_select="vdpau h264_decoder" > mpeg_vdpau_decoder_sel

Re: [libav-devel] [PATCH 3/6] vdpau: add common helpers for hwaccel support

2013-01-11 Thread Diego Biurrun
On Fri, Jan 11, 2013 at 08:33:20PM +0200, Rémi Denis-Courmont wrote: > --- a/libavcodec/vdpau.c > +++ b/libavcodec/vdpau.c > @@ -38,6 +38,55 @@ > +int ff_vdpau_common_end_frame(AVCodecContext *avctx) > +{ > +MpegEncContext * const s = avctx->priv_data; > +struct vdpau_context *hwctx = avctx

Re: [libav-devel] [PATCH 1/6] vdpau: correct internal header declaration in Makefile

2013-01-11 Thread Rémi Denis-Courmont
Le vendredi 11 janvier 2013 21:51:20, Diego Biurrun a écrit : > On Fri, Jan 11, 2013 at 08:33:18PM +0200, Rémi Denis-Courmont wrote: > > --- a/libavcodec/Makefile > > +++ b/libavcodec/Makefile > > @@ -672,7 +672,7 @@ SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER) += > > libschroedinger.h > > > > SKIPHEAD

Re: [libav-devel] [PATCH 1/6] vdpau: correct internal header declaration in Makefile

2013-01-11 Thread Diego Biurrun
On Fri, Jan 11, 2013 at 08:33:18PM +0200, Rémi Denis-Courmont wrote: > --- a/libavcodec/Makefile > +++ b/libavcodec/Makefile > @@ -672,7 +672,7 @@ SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER) += > libschroedinger.h > SKIPHEADERS-$(CONFIG_MPEG_XVMC_DECODER) += xvmc.h > SKIPHEADERS-$(CONFIG_VAAPI)

[libav-devel] [PATCH 6/6] vdpau: add MPEG4 decoding through hwaccel

2013-01-11 Thread Rémi Denis-Courmont
--- configure|2 + libavcodec/Makefile |2 + libavcodec/allcodecs.c |2 + libavcodec/vdpau_mpeg4.c | 110 ++ 4 files changed, 116 insertions(+) create mode 100644 libavcodec/vdpau_mpeg4.c diff --git a/configure b/con

[libav-devel] [PATCH 5/6] vdpau: add H.264 decoding using hwaccel infrastructure

2013-01-11 Thread Rémi Denis-Courmont
--- configure |1 + libavcodec/Makefile |1 + libavcodec/allcodecs.c |1 + libavcodec/vdpau_h264.c | 196 +++ 4 files changed, 199 insertions(+) create mode 100644 libavcodec/vdpau_h264.c diff --git a/configure b/configu

[libav-devel] [PATCH 3/6] vdpau: add common helpers for hwaccel support

2013-01-11 Thread Rémi Denis-Courmont
--- libavcodec/vdpau.c | 49 libavcodec/vdpau.h | 75 +++ libavcodec/vdpau_internal.h | 15 + 3 files changed, 133 insertions(+), 6 deletions(-) diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.

[libav-devel] [PATCH 4/6] vdpau: add MPEG-1/2 decoding using hwaccel infrastructure

2013-01-11 Thread Rémi Denis-Courmont
--- configure |2 + libavcodec/Makefile |2 + libavcodec/allcodecs.c|2 + libavcodec/mpegvideo.c|1 + libavcodec/vdpau_mpeg12.c | 116 + 5 files changed, 123 insertions(+) create mode 100644 libavcodec/vdpa

[libav-devel] [PATCH 2/6] pixfmt: add picture format for VDPAU

2013-01-11 Thread Rémi Denis-Courmont
--- libavutil/pixdesc.c |6 ++ libavutil/pixfmt.h |1 + 2 files changed, 7 insertions(+) diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 06d5def..df906ac 100644 --- a/libavutil/pixdesc.c +++ b/libavutil/pixdesc.c @@ -1359,6 +1359,12 @@ const AVPixFmtDescriptor av_pix_fm

[libav-devel] [PATCH 1/6] vdpau: correct internal header declaration in Makefile

2013-01-11 Thread Rémi Denis-Courmont
--- libavcodec/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index a4eebb8..ca18900 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -672,7 +672,7 @@ SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER) += libschroedinger.h

[libav-devel] [PATCH 0/6] VDPAU hardware acceleration (take 3)

2013-01-11 Thread Rémi Denis-Courmont
The following changes since commit d11cb13b0ef02fb1c303b29805819f6e1c9dc61b: configure: enable pic for shared libs on AArch64 (2013-01-11 11:01:05 +0200) follow up to 3704e4e8461b3246891a32d7b140be84f3dece37: vdpau: add MPEG4 decoding through hwaccel (2013-01-11 20:29:27 +0200) Changes sinc

[libav-devel] OpenBSD x86 FATE station

2013-01-11 Thread Sean McGovern
Hi again Michael, Looks like we just traded one missing library for another -- the latest run can't find libavfilter, before it was libavcodec. -- Sean McG. Sorry for the lack of email trail -- I sent my first one from my BlackBerry account instead of from GMail __

Re: [libav-devel] [PATCH 5/5] rtpdec: Remove a useless todo comment

2013-01-11 Thread Diego Biurrun
On Fri, Jan 11, 2013 at 04:09:06PM +0200, Martin Storsjö wrote: > The question can be answered: No, we do not know the initial sequence > number from the SDP. In certain cases, it can be known from the > RTP-Info response header in RTSP though. (In that case, we use it as > timestamp origin, but no

Re: [libav-devel] [PATCH 4/5] rtsp: Remove an outdated comment

2013-01-11 Thread Diego Biurrun
On Fri, Jan 11, 2013 at 04:09:05PM +0200, Martin Storsjö wrote: > It is unclear what the bug exactly was and if it ever was fixed, > and we don't even support decoding via faad any longer. The > comment has been present since d0deedcb in 2006. > --- > libavformat/rtsp.c |4 > 1 file chang

Re: [libav-devel] [PATCH 3/5] rtsp: Remove references to weirdly named variables in other files

2013-01-11 Thread Diego Biurrun
On Fri, Jan 11, 2013 at 04:09:04PM +0200, Martin Storsjö wrote: > One of them is renamed now, but mentioning it by name serves > no purpose here. The other table mentioned ceased to exist > under that name in 4934884a1 in 2006. > --- > libavformat/rtsp.c |4 +--- > 1 file changed, 1 insertion

Re: [libav-devel] [PATCH 2/5] rtp: Rename a static variable to normal naming conventions

2013-01-11 Thread Diego Biurrun
On Fri, Jan 11, 2013 at 04:09:03PM +0200, Martin Storsjö wrote: > --- > libavformat/rtp.c | 48 > 1 file changed, 24 insertions(+), 24 deletions(-) OK Diego ___ libav-devel mailing list libav-devel@lib

Re: [libav-devel] [PATCH 1/5] rtp: Cosmetic cleanup

2013-01-11 Thread Diego Biurrun
On Fri, Jan 11, 2013 at 04:09:02PM +0200, Martin Storsjö wrote: > Remove leftover debug comments, fix brace placement and > add whitespace, remove unnecessary and weirdly placed braces. > > Intentionally not adding extra spacing within the braces in the > table, to avoid extra churn, since it is p

[libav-devel] [PATCH 5/5] rtpdec: Remove a useless todo comment

2013-01-11 Thread Martin Storsjö
The question can be answered: No, we do not know the initial sequence number from the SDP. In certain cases, it can be known from the RTP-Info response header in RTSP though. (In that case, we use it as timestamp origin, but not for rtp receiver statistics.) --- libavformat/rtpdec.c |2 +- 1 f

[libav-devel] [PATCH 4/5] rtsp: Remove an outdated comment

2013-01-11 Thread Martin Storsjö
It is unclear what the bug exactly was and if it ever was fixed, and we don't even support decoding via faad any longer. The comment has been present since d0deedcb in 2006. --- libavformat/rtsp.c |4 1 file changed, 4 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c ind

[libav-devel] [PATCH 3/5] rtsp: Remove references to weirdly named variables in other files

2013-01-11 Thread Martin Storsjö
One of them is renamed now, but mentioning it by name serves no purpose here. The other table mentioned ceased to exist under that name in 4934884a1 in 2006. --- libavformat/rtsp.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c in

[libav-devel] [PATCH 2/5] rtp: Rename a static variable to normal naming conventions

2013-01-11 Thread Martin Storsjö
--- libavformat/rtp.c | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/libavformat/rtp.c b/libavformat/rtp.c index 90839ed..dfe97de 100644 --- a/libavformat/rtp.c +++ b/libavformat/rtp.c @@ -37,7 +37,7 @@ static const struct {

[libav-devel] [PATCH 1/5] rtp: Cosmetic cleanup

2013-01-11 Thread Martin Storsjö
Remove leftover debug comments, fix brace placement and add whitespace, remove unnecessary and weirdly placed braces. Intentionally not adding extra spacing within the braces in the table, to avoid extra churn, since it is pretty well formatted already. --- libavformat/rtp.c | 14 --