[libav-devel] [PATCH] svq3: Use a separate buffer for decoding the slices

2016-03-15 Thread Luca Barbato
The AVPacket.data should be considered read-only. --- Probably it could also land on stable since it fixes a bug. libavcodec/svq3.c | 55 --- 1 file changed, 32 insertions(+), 23 deletions(-) diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c

[libav-devel] libavfilter API design in a realtime environment

2016-03-15 Thread Kieran Kunhya
Hello, I want to try and use the libavfilter API to overlay bitmap subtitles on video from a realtime source. This seems difficult/impossible to do with the current API hence asking on the main devel list. Some questions: 1: How do I know the end to end latency of the pipeline? Is it fixed,

[libav-devel] [PATCH 9/9] lavc: VAAPI H.265 encoder

2016-03-15 Thread Mark Thompson
--- configure |3 + libavcodec/Makefile|1 + libavcodec/allcodecs.c |1 + libavcodec/vaapi_encode_h265.c | 1217 4 files changed, 1222 insertions(+) create mode 100644 libavcodec/vaapi_encode_h265.c

[libav-devel] [PATCH 8/9] lavc: VAAPI H.264 encoder

2016-03-15 Thread Mark Thompson
--- configure | 3 + libavcodec/Makefile| 3 +- libavcodec/allcodecs.c | 1 + libavcodec/vaapi_encode_h264.c | 802 + libavcodec/vaapi_encode_h26x.c | 68 libavcodec/vaapi_encode_h26x.h | 70 6

[libav-devel] [PATCH 7/9] lavc: VAAPI encode common infrastructure

2016-03-15 Thread Mark Thompson
--- configure | 2 + libavcodec/Makefile | 1 + libavcodec/vaapi_encode.c | 951 ++ libavcodec/vaapi_encode.h | 203 ++ 4 files changed, 1157 insertions(+) create mode 100644 libavcodec/vaapi_encode.c create mode

[libav-devel] [PATCH 6/9] lavf: VAAPI scale filter

2016-03-15 Thread Mark Thompson
--- configure| 3 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_scale_vaapi.c | 451 +++ 4 files changed, 456 insertions(+) create mode 100644 libavfilter/vf_scale_vaapi.c diff --git

[libav-devel] [PATCH 5/9] avconv: VAAPI hwcontext initialisation and hwaccel helper

2016-03-15 Thread Mark Thompson
--- Makefile| 1 + avconv.c| 2 + avconv.h| 9 + avconv_filter.c | 9 +- avconv_opt.c| 41 avconv_vaapi.c | 626 configure | 5 + 7 files changed, 692 insertions(+), 1 deletion(-) create

[libav-devel] [PATCH 4/9] lavu: VAAPI hwcontext implementation

2016-03-15 Thread Mark Thompson
--- configure | 4 + doc/APIchanges | 3 + libavutil/Makefile | 3 + libavutil/hwcontext.c | 3 + libavutil/hwcontext.h | 1 + libavutil/hwcontext_internal.h | 1 + libavutil/hwcontext_vaapi.c| 850

[libav-devel] [PATCH 3/9] lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPI

2016-03-15 Thread Mark Thompson
--- doc/APIchanges | 4 libavcodec/h263dec.c | 2 +- libavcodec/h264_slice.c | 2 +- libavcodec/mpeg12dec.c | 2 +- libavcodec/vaapi_h264.c | 2 +- libavcodec/vaapi_mpeg2.c | 2 +- libavcodec/vaapi_mpeg4.c | 4 ++-- libavcodec/vaapi_vc1.c | 4 ++--

[libav-devel] [PATCH 2/9] lavf: generic hardware surface upload and download

2016-03-15 Thread Mark Thompson
--- libavfilter/Makefile| 2 + libavfilter/allfilters.c| 2 + libavfilter/avfilter.c | 2 + libavfilter/avfilter.h | 9 ++ libavfilter/vf_hwdownload.c | 212 ++ libavfilter/vf_hwupload.c | 241

[libav-devel] [PATCH 1/9] lavu: add a way to query hwcontext frame constraints

2016-03-15 Thread Mark Thompson
--- doc/APIchanges | 3 ++ libavutil/hwcontext.c | 45 +++ libavutil/hwcontext.h | 69 ++ libavutil/hwcontext_internal.h | 10 ++ 4 files changed, 127 insertions(+) diff --git a/doc/APIchanges

[libav-devel] [PATCH 0/9] Generic hw filter support + VAAPI hwcontext and encoders

2016-03-15 Thread Mark Thompson
Hi all, Whole series follows again. Changes since last time: * APIchanges added where appropriate. * Memory allocation cleaned up; now valgrind-clean for normal use (might still be some leaks in error cases). * Some compatibility fixes for older libva (tested on 1.3.0 in Ubuntu 14.04 LTS).

[libav-devel] [PATCH] matroska: Support V_QUICKTIME as written in the specification

2016-03-15 Thread Luca Barbato
Check if the size is written the first 4 bytes and read the next 4 as fourcc candidate, fallback checking the initial for 4 bytes. "The CodecPrivate contains all additional data that is stored in the 'stsd' (sample description) atom in the QuickTime file after the mandatory video descriptor

Re: [libav-devel] [PATCH] qsv: Fix loading multiple plugins

2016-03-15 Thread Vittorio Giovara
On Tue, Mar 15, 2016 at 9:10 AM, Luca Barbato wrote: > av_get_token does not strip the trailing separator. > --- > libavcodec/qsv.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c > index 3e892e8..e08518b 100644 > ---

Re: [libav-devel] [PATCH 5/9] avconv: VAAPI hwcontext initialisation and hwaccel helper

2016-03-15 Thread Anton Khirnov
Quoting Mark Thompson (2016-03-08 00:22:19) > --- > Makefile| 1 + > avconv.h| 9 + > avconv_filter.c | 9 +- > avconv_opt.c| 40 > avconv_vaapi.c | 628 > > configure | 5 + > 6 files changed, 691

[libav-devel] [PATCH] qsv: Fix loading multiple plugins

2016-03-15 Thread Luca Barbato
av_get_token does not strip the trailing separator. --- libavcodec/qsv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index 3e892e8..e08518b 100644 --- a/libavcodec/qsv.c +++ b/libavcodec/qsv.c @@ -133,6 +133,8 @@ int